How do I calculate areas under the curves above and below the x axis at 0?

The xy graph generated is similar to a sinusoidal representing the magnetic intensity of the poles of a motor. For each of the four areas above and below the x axis at 0 I would like to calculate the area then do a variance analysis on the 8 areas. Can anyone suggest a method to calculate each of the 8 areas. See the attached vi to understand better what I'm trying to do.
Thank you.
Attachments:
MIN MAX A.vi ‏16 KB

Hi all,
If you are simply looking to do numeric integration, there is built in functionality to do that.  The help file is here:
http://zone.ni.com/reference/en-XX/help/371361H-01/gmath/numeric_integration/
You will may have to do some edge checking if you want to break this down into individual components.
Let us know if you need any more assistance
Applications Engineer
National Instruments

Similar Messages

  • The up down arrows on the side of my Hotmail email list do not function, nor does clicking the space above and below the slider bar. These functions work in all other cases. It began with Firefox 3.6 upgrade. Firefox version: 3.6 Operating system: Windows

    The up down arrows on the side of my Hotmail email list do not function, nor does clicking the space above and below the slider bar. These functions work in all other cases. It began with Firefox 3.6 upgrade.
    Firefox version: 3.6 Operating system: Windows XP
    == This happened ==
    Every time Firefox opened
    == After upgrade to Firefox 3.6

    See https://bugzilla.mozilla.org/show_bug.cgi?id=511075 - The arrows of the scrollbars don´t work in hotmail
    Should be fixed in the next release Firefox 3.6.4

  • How can I calculate area under a curve?

    I would like to use an integral equation to obtain positive and negative areas from graphed data. For example, I have a graph representing power for a 24 hour period and want to integrate the curve to obtain daily energy.

    One common way to approximate the area under a curve is to divide it into a series of trapezoids, with the area of each calculated as avg height x width. Then sum the areas.
    So with this table:
    x     

    trapezoid
    1
    0
    3
    2
    6
    11
    3
    16
    23
    4
    30
    39
    5
    48
    59
    6
    70
    83
    7
    96
    218
    You could use this formula in C2, filled down through the rest of the body cells in that column:
    =IFERROR((B3+B2)÷2×(A3−A2),"")
    This calculates the area of each trapezoid.
    The first row is defined as a Header Row, the last row as a Footer Row.  It's important not to have blank row(s) before the Footer Row. The sum formula in the Footer Row in C9 is:
    =SUM(C)
    Of course, the greater the number of x-y data points the better the estimate of the area under the curve.
    SG

  • Lines above and below the total values

    Hi All,
    This is for an invoice. I display line items and then the totals. I want to draw lines above and below the total values. i am able to underline the total values using the paragraph formats but that will give only lines below the values. how can I get the lines above and below the values in correct proportions? Please give me some ideas on how to do this.
    Thank you,
    Prathima.

    Prathima,
    You should not be using ULINE and VLINE commands here. Instead you have to declare boxes.
    /:           BOX FRAME 10 TW
    /:           BOX XPOS  '3.0' CM  WIDTH 0 TW FRAME 10 TW
    /:           BOX XPOS  '6.0' CM  WIDTH 0 TW FRAME 10 TW
    /:           BOX XPOS  '9.0' CM  WIDTH 0 TW FRAME 10 TW
    /:           BOX XPOS '12.0' CM  WIDTH 0 TW FRAME 10 TW
    Using boxes is advantageous in a lot of ways as you can specify the x and y positions exactly.
    Thanks
    Aneesh.

  • How can I get TV shows viewed through Hulu Plus on the Apple TV 3 to show as widescreen with black bands above and below the screen shot instead of chopping off the sides on my non-widescreen TV?

    I just bought a new Apple TV 3 today so I can watch shows from Hulu Plus without having to physically plug in separate audio and video cables from my Macbook Air to the TV every time. I have a non-widescreen TV and when I normally watch Hulu Plus on the TV (though Safari on my plugged in Macbook Air as mentioned above), the entire wide screen shot is shown with black bands above and below the sceen shot since I am watching a widescreen program on a non-widescreen TV.
    However, I noticed that when I watch the same show through Hulu Plus on my new Apple TV 3, the left and right edges of the shot are chopped off to make the program fill my non-widescreen TV. This bothers me because I would like to see the full shot and not just the chopped off middle portion. This is a real bummber because watching Hulu Plus without having to plug in my laptop is the only reason I bought the Apple TV. Is there anything I can do about this?
    Thanks!
    (FYI: I have the very first Macbook Air that is not capable of mirroring)

    How are you actually connected to the TV?  Does it have HDMI?  Most non-widescreen TVs would not.
    I would suspect a converter is either not outputting properly, your TV not interpreting the signal properly or you have some form of Zoom setting enabled on the TV.
    How does your TV handle widescreen from say cable or terrestrial TV sources ?
    Unfortunately AppleTV is not designed to be used with non-widescreen TVs so there's no setting on AppleTV to tweak.
    AC

  • How to get text on the above and below the Barcode Box

    Hi Experts,
    In SAP-SCRIPTS, a Barcode in the Box, where i have to add text above and below the Barcode Box. so that this Barcode box along with the text should not get disturb when there is more data in the layout.
    Thanks
    Rico.

    Use Javascript + DOM. Each DOM element has a focus property, make use of it during the onload.

  • Search the texts above and below object

    Hi everyone,
    I have a document and it contains one story.
    this story having 3 tables .
    I need to search the texts above and below for every table  using applescript, the texts are some paragraph styles.  
    Please anyone known the code, reply me .
    thanks by,
    John peter.

    See https://bugzilla.mozilla.org/show_bug.cgi?id=511075 - The arrows of the scrollbars don´t work in hotmail
    Should be fixed in the next release Firefox 3.6.4

  • Why when I am resizing a field do the fields above and below resize too? Can I turn this feature off?

    Why when I am resizing a field do the field above and below resize with it too? I need to make them different lengths. This only happens sometimes. HELP! THANKS!

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Why are subsequent clips either above or below the main clip and blurred?

    I am new to iMovie 10. 
    I have imported three clips into iMovie.  I selected one and dragged it into the timeline area.  I selected the second and dragged it into the timeline area that followed the first clip.  Now, when I select the third and drag it into the timeline area, for some reason it rests above the first and second clips and no matter how I position it, I can't get it to be inline.  It's either above or below.  Also, it doesn't reveal the entire third clip.  It just blurs it at the bottom and I can't see the waveform.  Why is this and how do I place my clip all in one line?

    Can anyone help on this? 

  • Lines above and below the text

    Hello
    I am working in a file created by somebody else and am having a problem with styling - I just cant figure how it was created.
    There are lines running the length of the text box below the heading. When i try to remove the text the line dissapears as well, so clearly its somehow inbedded in that box. There are other instances when i remove the text box but the lines stay and i cant remove them at all, i cant click on them... (at first i thought they were a part of the master but clicking comand shift doesnt get them off). what are these? can somebody help please?
    thanks a lot
    mae

    Hi Peter
    no, they are not paragraph rules, that's what i thought at first. they are something else, very frustrating i just cant work it out...
    any other ideas? and what about the ones that i cant even click on?...
    thanks

  • How to remove the lines above and below  header in sqlplus report

    I run a sql*plus report whch i want to be outputted to XLS file. But the format is not matching. I am using data->texttocolumns feature of excel , which is manual .
    As the headers are coming dynamically from query . i CAN NOT set header off.
    So first of all ,
    I want to get rid of the first blank line above the hearder.
    i want to get rid of the dotted line below header .

    Hi,
    You are not being clear here,
    As the headers are coming dynamically from query . i CAN NOT set header off. You are saying that you have SQL*Plus script but can't use the SET command?
    Besides, that I thing you want SET PAGES 0, instead of SET HEADER OFF.
    If you could paste your SQL*Plus script here (Perhaps replacing the actual query with a very simple one, then perhaps we can help.
    Regards
    Peter

  • Why are my photoshop files distorted and not the tifs?

    Hi,
    I've been importing tifs and photoshop files into my FCE project, and here's my problem. When I view the .psd file in my canvas viewer the still is squeezed and does not fill the entire frame with white background above and below the still. I then import the same file but resaved as a tif and it appears in the canvas frame in the correct aspect ratio. What is going on? (The image properties are 1920x1080 aspect ratio: square) This happens with all the .psd files that are imported into my FCE project. All imported tifs appear correctly.
    Other info: I have started with a baseline photoshop template that is 1920x1080, aspect ratio: square. I saved the images either as a .psd file with one layer or tif with one layer. The reason for the .psd file is that I need to have some areas of transparency in my FCE project (I have overlays). Which leads to another question: If I need transparency within the still in FCE, can I save the file as a tif with "save transparency" box ticked on?
    Thanks for any info!

    when saving as a png should interlaced be set to none?
    Also regarding the tif images...I had been saving them, as a copy and under tiff options:
    image compression: none
    pixel order: interleaved
    layer compression: discard layers and save a copy
    I assumed that this tiff file would be one layer. Am I incorrect?
    And I did a test save with "save transparency" ticked on and imported the image into FCE. It appears that the transparency is there when I view the still in the canvas window. Can I do it this way? Are there disadvantages/advantages to using png files rather than tiffs?
    Thanks!

  • How do i delete a part of a clip and rejoin the audio on each side

    How (or where in the manual are the instr) l) do i delete a part of a clip and rejoin the audio on each side. This is most frustrating. The join command is never available. If i select an area to delete everything above and below is deleted, whether or not its selected and whether or not its mute. I find in the manual only ways to move entire clips. I need to remove 2 words from a clip in one track.

    i'm assuming your working in the multi-track mode since you didn't specify. select the razor blade tool and make two cuts to the audio, one where you want the cut to start, the other where you want the cut to end. select this smaller region that you want to delete and press the delete key.
    now you'll have a gap of silence where that unwanted clip was. select the clip(s) to the right of the cut and drag them left. the default behavior is to do a cross fade when the clips overlap. you'll probably have to play with the cross fade amount in order to get it to sound natural.
    hope that helps!
    scott
    PowerMac G5 2.5GHz   Mac OS X (10.4.7)   MacBook Pro 2.0GHz

  • Why is there blank space showing desktop background above and below my browser window? How to fix this?

    I recently installed Firefox on a new PC and this latest version shows either the desktop background or the content of the open window behind my browser above and below the browser window, to the right of the menu bar and tabs. This is something I've never seen before and it's annoying. I want things back the way they were, when my entire screen was browser window, except for the button bar at the bottom of the screen. I tried the factory reset, no help. Tried full screen. Not what I want. How do I get rid of these window backgrounds around the browser?

    Try to disable transparency in Windows.
    Right click in a free space on your desktop.<br />
    Left click on Personalization.<br />
    There are four options at the bottom of the screen, choose "Window Color and Appearance".<br />
    Select a border color<br />
    Uncheck: "Enable transparency"<br />
    * http://www.howtogeek.com/howto/7955/how-to-fix-no-aero-transparency-in-windows-7/

  • Is there a way to create a heading with shading behind the text and thin lines above and below?

    I'm working with InDesign CS6, Windows 7.
    Is there a way, using paragraph rules, to create a heading with shading behind the text and thin lines above and below the text?
    I'd like to create headings that look like these:
    Thank you!

    I have a document where I almost do such, but without the fill. I use a Head Style which Spans Columns for this instance; it allows the haeds to flow and fill the width.
    Paragraph Rules above and below are turned on with plenty of offset.
    I tweaked my setting to accomodate your need - It required only one instance, not above and below, and changing the stroke to a double stroke. 
    It may be necessary to create a custom stroke to modify the proportion of stroke vs fill. There is a difference of thin-thin and  thick-thick, neither of which seemed perfect but might be dependent on the Character height.
    Creating custom strokes is accomplished via the Strokes Panel.

Maybe you are looking for