Page 1 of 1

area of intersection between two curves

Posted: Thu May 15, 2008 1:04 pm
by rkg1979
I have 2 linear curves plotted in one graph with a single x axis. I want to calculate the area of intersection between the two curves. Is it possible to do that in dplot.

Posted: Thu May 15, 2008 1:53 pm
by DPlotAdmin
No. $AREA(n) gives you the area formed by closing curve #n, but there's no mechanism for finding the area enclosed by intersections of 2 (or more) curves. Good suggestion, though, thanks.

Posted: Thu May 15, 2008 9:19 pm
by rkg1979
Thanks for your support.
If it is not possible to get the intersection of two curves directly, can you provide a function to calculate the area under a curve from one point to the other, say a function like $AREA(n,x1,x2). In that case we can find the intersection points (x1 and x2) manually and calculate the intersection area by subtracting the areas of two curves between x1 and x2.

Can you please let me know how much time it will take to incorporate this function. In how much time, can you provide me a patch over the current version if I buy the license today. This requirment is urgent for me.

Posted: Fri May 16, 2008 10:32 am
by DPlotAdmin
Can you please let me know how much time it will take to incorporate this function. In how much time, can you provide me a patch over the current version if I buy the license today. This requirment is urgent for me.
No, sorry. I don't work that way. It's on my list (along with a lot of other things).