plot the integral of function

 采纳的回答

madhan ravi
madhan ravi 2018-12-14
编辑:madhan ravi 2018-12-14
If you want specific help post what you tried:
fun = @(theta).... your function without integral
integral(fun,0,pi/2)

6 个评论

thanks mr madhan for your answer and how can i plot it ?
Clear Marklina's answer moved here for consistency:
i'm trying this,but it doesn't give the result :
f=@(theta)((cos(pi/2*cos(theta))^(2))/sin(theta));
integral(f,0,pi/2)
Try this:
f=@(theta)((cos((pi./2).*cos(theta)).^(2))./sin(theta));
integral(f,0,pi/2)
thank you mr madhan, it works and give sto me ans=0.6094, , can you help me how can i plot this integral !
use cumtrapz() but I did all the experiments I could but breaking this problem was hectic for me...

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by