Problem with integration.

13 views (last 30 days)
Mariam
Mariam on 4 Mar 2017
Commented: Mariam on 16 Mar 2017
When I asked matlab to make this integration,
syms x
int(cos(x)^2/(sqrt(1+a*cos(x))+sqrt(1-a*cos(x))), 0, pi/2)
I got nothing without any error! I tried to define "a" as any constant but also I got nothing! Could you please help me?

Accepted Answer

Torsten
Torsten on 6 Mar 2017
Try whether integration becomes easier if you write your function as
cos(x)*(sqrt(1+a*cos(x))-sqrt(1-a*cos(x)))/(2*a)
Best wishes
Torsten.

More Answers (0)

Categories

Find more on Deep Learning Toolbox 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!