|
-
Mar 10th, 2003, 01:50 PM
#1
Thread Starter
Member
About fundamental theorem of calculus
You know;
if F(x) = INT f(x) dx
b
INT f(x) dx equals to F(b) - F(a)
a
But if INT f(x) dx can not be written in terms of elementary functions, and if I know the value of (a) and also the result of the integration, is there a way to calculate the value of (b)?
Thanks in advance.
Last edited by might; Mar 10th, 2003 at 02:20 PM.
-
Mar 11th, 2003, 02:49 PM
#2
Addicted Member
You'd have to do it numerically using something like Simpson's Rule.
Not at all related to sheep...
-
Mar 11th, 2003, 03:58 PM
#3
Thread Starter
Member
Thanks for your reply.
I know about Simpson`s 1/3 rule. Would you please share your idea to calculate this using it.
Last edited by might; Mar 11th, 2003 at 04:04 PM.
-
Mar 12th, 2003, 05:52 AM
#4
-
Mar 12th, 2003, 06:05 AM
#5
-
Mar 12th, 2003, 07:30 AM
#6
By the way, I've just noticed I was completely misled when I first read your post. So you just wanted the integral from a to b of f(x), not of INT(f(x)) !!! I'm glad I got it wrong for I had tons of fun working on it!
Well, as for your question, I think you shouyld go to places like the "Numerical Recipes" web site. There's a chapter devoted to numerical integration with lots of Simpson formulas and its variations and a lot more stuff. You can download the full book in pdf format. They have some theory and then the "recipe" in a number of computer languages. Unfortunately not in vb, but it shouldn't be difficult to translate from Fortran or c. For example, the address below corresponds to the c edition:
http://www.library.cornell.edu/nr/bookcpdf.html
(look at chapter 4)
If you want the main pages, go to Numerical Recipes
-
Mar 12th, 2003, 11:07 AM
#7
Thread Starter
Member
Thank you very much for your detailed post. But I only mean integral with "INT".
I only wanted to canculate (b).
if f(x) sqrt( (-a * sin(x))^2 + (b * cos(x))^2 )
b
I = integral f(x) dx
a
The result of the integration (I) and the value of (a) are known
and I`ve been trying to find a solution to get the value of (b).
The web site you linked is a very useful one as a solution and algorithm source. A type of a website I have been searching for.
Thanks, again.
Last edited by might; Mar 12th, 2003 at 12:00 PM.
-
Mar 12th, 2003, 03:33 PM
#8
Addicted Member
To be honest I can't be arsed with calculating anything. Oh dear.
Not at all related to sheep...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|