Integrate a function multiple times;

2 views (last 30 days)
Ramses Estay
Ramses Estay on 21 Nov 2014
Commented: Ramses Estay on 22 Nov 2014
1) I'm given: f(x) = x^2 - 3x - 5
I'm asked: "in which of the infinite integrals of f(x) does it take the value of 5 with x = 3?"
I thought of doing maybe a cycle with conditions inside until it finds the answer but I couldn't find a way to do it. Is there maybe a function that allows me to obtain for example the tenth integral of f(x) ? Something like int('x^2 - 3*x - 5',H) where H stands for 10 meaning it will return the function integrated 10 times.
2)Given g(x) = x^2 + 3x , find the integral in which its graphical representation passes through the point p(1,3)
I'm guessing this one is similar to 1), I'll have to do a cycle with conditions. Although the part that says that passes through p(1,3) don't really know how to verify it.
I'd appreciate very much any help.
  5 Comments
Matt J
Matt J on 21 Nov 2014
Edited: Matt J on 21 Nov 2014
That makes a lot more sense, now that I look at it again! Badly worded problem, though.
Ramses Estay
Ramses Estay on 22 Nov 2014
Yes Roger, you are completely right. I misinterpreted the problem, I asked a teacher too and it's as you said, for which it's a pretty easy problem. Thanks Matt for taking your time to read it too; I was able to do them now. I apologize for my english, as it isn't my native language.

Sign in to comment.

Answers (0)

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!