Finding area inside a closed curve of a XY graph ?

My aim is the calculus of the area inside a closed curve of a XY graph. Could you send me the VI's diagram ?
Thank you very much.

I don't think anyone in this forum will do your work for you ;-), but here's a hint: For every two consecutive points, calculate the area of the trapezoid generated by the two points and the corresponding points on the X axis. Add up the (signed) areas, and you have your total area. By signed, I mean that that the area should be positive when going from left to right and negative when going from right to left, or vice versa. The sign of the calculated area will depend on the orientation of your curve.
Probably some of the integration VIs can do the trick as well, at least for some special cases.

Similar Messages

  • How can i find area under a closed curve

    I am having set of Y-values w.r.t X-values.When i am using numerical integration.vi to measure area, it is showing wrong answer.Is there any other vi to find the area under a closed curve.

    Is the dt constant between your values? The numerical integration.vi needs them to be...
    What's the correct answer depends on how you are to interpolate between the points. The numerical integration.vi allows you to select between a number of approaches (Simpson's rule, trapezoidal etc..). It does not allow integrating the values as if it were a histogram...If that is what you want to do then all you need to do is to add the values and then multiply the result by dt...
    When you say that the answer is incorrect, could you give an example array, dt and correct result?
    If the curve is supposed to be a special function you could use regression analysis to find the formula of the curve and then integrate that...
    MTO

  • How i can find number of messages that are inside a queue?

    Hi
    Thank you for reading my post.
    Can some one please let me know how i can find how much messages are inside a queue?
    Thanks.

    If you are using < 4.0, no (you will need to exec the command from java)
    If you are running 4.0 or later, you can do this using the JMX api (see the JMX developers guide)

  • Cannot Right Click on Bookmarks (in Bookmarks Toolbar) if they are "Inside a folder" or under "Show more bookmarks" in OS X

    I tried to right click on bookmarks in "Bookmarks Toolbar" which are "Inside a folder" or under "Show more bookmarks" to delete or rename them but nothing happened! like i didn't right click at all
    but if a bookmark in Bookmarks Toolbar is not in a folder and is not under show more bookmarks its ok and i can right click o manage it
    Now to delete a bookmark inside a folder i have to drag it outside and then right click and delete it or use bookmarks library, which is really annoying, shouldn't we be able to right click on bookmarks inside folders and delete them there?
    Is there any shortcut key for example holding command and clicking to rename or delete a bookmark until this bug is fixed?

    @jscher2000
    Yea that works, i'm already doing that, but its really annoying if you want to rename or delete a bookmark you have to open bookmarks library and then find the bookmark there, then delete or rename it, i find the dragging way a little faster
    I don't think this is going to be fixed soon, so im looking for a way to rename and delete bookmarks in Bookmarks Toolbar
    I think many have this problem too i have also created a topic here:
    https://bugzilla.mozilla.org/show_bug.cgi?id=834870

  • How can i store latitude and longitude (of registered user locations) in sql server and how can i query it for finding locations inside X radius from point y (or any user)?

    Hello
    In my app (WP 8.1) i have to store user location (lat,lon) in sql db so how can i store that location detail? And i also have to find all the location which are inside certain radius X from another user location, How can i do this?
    Any Sample project or code or any blog post?
    P.S. I use sql server 2012.

    If you need to do spatial queries like the one you mentioned you'd need to store it as a spatial geography type. For points, a simple SQL INSERT statement using the Point() method would do it. Example here:
    http://msdn.microsoft.com/en-us/library/bb933811.aspx For locations inside a radius, you'd use STDistance() method. All of the methods for the geography data type are documented here:
    http://msdn.microsoft.com/en-us/library/bb933802.aspx and can be used in ordinary T-SQL statements.
    If you need to use the SQL Server spatial library in your .NET application direct, Alastair has some nice blog posts, like this one:
    https://alastaira.wordpress.com/2011/08/19/spatial-applications-in-windows-azure-redux-including-denali/ , he even wrote a book. Or search the answers in this forum.
    Hope this helps, Bob

  • Active area is getting closed as soon as you click anywhere during Inplace editing

    During inplace editing of Title component , if I double click at the the component
    it will open orange color active area and if I click inside the active area  it will remain  there and it will close only if I click outside the active area.
    But now when i am making a composit component which statically include two  title component and for inplace editing to work node should be present so i have created cq:template node which make two node , one for each title component. Now when I double click on any one of the title component then it is opening orange color
    active area for inplace editing and i am able to do it but active area is getting closed as soon as i click anywhere, be it inside the active area or outside the
    area, ideally it should close only when i click outside the active area. does anybody any idea on it?

    Hi John,
    I am using the web version. I am getting this error in Java version 7. I just tried in another machine with Java version 6 and I was able to add the member without any issue.
    Your question answered my question :-) . Thanks a lot.
    Is that meant that I should not use Java 7.

  • How to determine a point(or a path)  inside a closed path?

    I came across such a problem:
          My client requires add a number marks inside a closed path ,and such a closed path is irregular,
    My question is, how to ensure a point(or a path) is inside another closed path,and how to calculate this point?
    Is there any suite in the SDK to accomplish this function?

    haha ,I found a good way to solve this problem,We can use AIPathfinderSuite::DoFrontMinusBackEffect  to determine  whether a path  inside another closed path.

  • Since I downloaded Maverick, I cannot find my External Hard Drive in the "Finder" area. I have to unplug all the time the hard drive to be recognized by my iMac. How can I fix this problem? Thank You.

    Since I downloaded Maverick, I cannot find my External Hard Drive in the "Finder" area. I have to unplug all the time the hard drive to be recognized by my iMac. How can I fix this problem? Thank You.

    Check Finderr->Preferences->General and ensure that HDs are selected for display. If so and they still don't, Reset the NVRAM/PRAM and Reset the SMC, and see if that does the trick.

  • I'm 67 yrs. old.I want to use my credit in i-tunes to find the app. Yoga Studio for my MacBook Air laptop.All I can find are apps. for i-phones,i-pads and i-pods.Can someone help please.

    I'm 67 yrs. old.I live in the U.K. I want to use my credit in i-tunes to find the Yoga Studio app. for my MacBook Air laptop.All I can find are apps. for i-phones,i-pads and i-pods.Can anyone help please.

    Apps for OSX aren't in iTunes: they are in the App Store in your Applications folder. The payment method is the one registered in iTunes. There's no app actually called Yoga Studio, though there are several Yoga apps. There is an iOS app called Yoga Studio but it appears to have no OSX equivalent, though I haven't done a detailed search.

  • How can I find a PO is closed or Canceled.

    Hi Friends,
    I Have a PO say 3000000001. How can I find this PO is closed or Canceled.
    Thro' Transaction and Table.
    Regards,
    Viji

    hi,
    use this table .
    EKKO.
    field :
    LOEKZ
    STATU
    PROCSTAT.
    also u can use this table.
    CDHDR
    field :
    CHANGE_IND.

  • HT204150 one of my friend updated her iPhone with my apple id and now her contacts are inside my iPhone , she has deleted my contact which has been i her contact , how can i bring back my contact ?

    one of my friend updated her iPhone with my apple id and now her contacts are inside my iPhone , she has deleted my contact which has been i her contact , how can i bring back my contact ?

    Welcome to the Apple Community.
    The first thing you should do is have your friend log out of your account and change your password.
    Do you have a back up from when you had the contacts on your phone.

  • I want to create and then email holiday cards from my iMAC.  All I can find are IOS apps.  Are then any OS X apps to do this?

    I  want to create and then email holiday cards from my iMAC, preferably in spanish but english would be OK.  All I can find are IOS apps.  Are then any OS X apps to do this?  Thanks!

    Two apps that I have that do different types of greeting cards.
    The Print Shop Pro.
    Swift Publisher
    And, if I remember correctly,  the free image editor, Gimp, has templates for different greeting cards, also.

  • How can I read and write text in rings that are inside an array?

    Hello All!!!
    How can I read and write text in rings that are inside an array?
    Regards and thanks in advance.

    Use a Property Node linked to the Ring inside the array.
    Of course, all elements in the array will have the same text values.
    B-)
    Message Edited by LabViewGuruWannabe on 12-13-2007 09:47 AM
    Message Edited by LabViewGuruWannabe on 12-13-2007 09:48 AM
    Message Edited by LabViewGuruWannabe on 12-13-2007 09:49 AM
    Attachments:
    Strings-BD.PNG ‏17 KB
    Strings-FP1.PNG ‏23 KB

  • Cash Journal table to find out day wise closing balance

    Can I have the table name to find the day wise closing balance of cash journal
    tried with CJAMOUNT, but not ........

    Please refer below link:
    Cash journal
    Br,Vivek

  • While trying to use airdrop, the files located in finder are not visable. What to do?

    I would like to xfer some files from my macbook pro to my new imac desktop using airdrop. I get visibility of both computers using airdrop,
    however all the files located in finder are hidden as soon as airdrop starts running.

    Hi paulo23,
    ''Would it make a difference if I would delete firefox altogether and try fresh?''
    It could not be ruled out it may help.
    A clean reinstall may solve the issue and so could be tried but not as a first step and take care with what you do.
    #First I suggest you '''back up your current profile'''. <br />Do this before trying even a new profile. You want to make sure you do not lose data such as bookmarks passwords or settings, or if you do that you may recover them. Put the backup folders and files somewhere safe outside Firefox profile or program paths. (Your Desktop will do)
    #* [[Back up and restore information in Firefox profiles]]
    #Next just try a clean additional '''test profile'''. And when it comes to trying to print again use safe mode, and make sure any and all Firefox Plugins are disabled.
    #* [[Use the Profile Manager to create and remove Firefox profiles#w_creating-a-profile]]'''_creating-a-profile'''
    #* If you are new to using multiple Firefox profiles then because we do not document this in the Sumo KB (other than for Thunderbird) you may be interested in reading my tips in two adjacent posts [/questions/990973#answer-548376] & [/questions/990973#answer-548377]
    #* Also see
    #** An similar simpler alternative but you will lose any extensions <br /> [[Reset Firefox preferences to troubleshoot and fix problems]]
    #**[[Troubleshoot Firefox issues using Safe Mode]]
    #** [[Disable or remove Add-ons#w_how-to-disable-plugins]]'''_how-to-disable-plugins'''
    # If that failed to help then it is worth trying a '''clean install''' of Firefox and that involves trashing the firefox ''Application'' (Windows: deleting the program files) NOT the Firefox Profile.
    #* Full instructions see [[Troubleshoot and diagnose Firefox problems#w_5-reinstall-firefox]]#w_5-reinstall-firefox

Maybe you are looking for