solving integral in matlab
显示 更早的评论
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 个评论
John D'Errico
2020-6-3
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?
David Cuberes
2020-6-3
回答(1 个)
Stephan
2020-6-3
1 个投票
4 个评论
David Cuberes
2020-6-3
Stephan
2020-6-3
Did you notice that you can accept and/or vote for useful answers?
David Cuberes
2020-6-3
Stephan
2020-6-3
Feel free to ask the community and be welcome here!
类别
在 帮助中心 和 File Exchange 中查找有关 Mathematics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!