solving integral in matlab
1 view (last 30 days)
Show older comments
Hi, I want to find the solution to this integral as a function of x: integral(between 0 and x) of (x-z)dz. The answer should be x^2/2. Thanks!
2 Comments
John D'Errico
on 3 Jun 2020
And what, since this is surely homework, have you tried? Have you tried using int? Read the help and the examples for int. I just did it, and indeed, the answer seems to be x^2/2. So why not make an effort?
Answers (1)
See Also
Categories
Find more on Number Theory 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!