Filter löschen
Filter löschen

How to integrate the following function?

1 Ansicht (letzte 30 Tage)
Shobhit
Shobhit am 22 Jul. 2017
Beantwortet: Star Strider am 22 Jul. 2017
mag = @(x)((1 - cos(x))./(1.25 + cos(x)).^1.5) With x ranging from 0 to 2*pi I used the command q = inetegral(mag, 0,2*pi) But I keep getting errors. Can somebody help me here?

Antworten (1)

Star Strider
Star Strider am 22 Jul. 2017
If you spell integral correctly, it works:
mag = @(x)((1 - cos(x))./(1.25 + cos(x)).^1.5);
q = integral(mag, 0,2*pi);
q =
19.9868

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by