Simbolic simplification of trigonometric functions

25 Ansichten (letzte 30 Tage)
Ole
Ole am 3 Apr. 2021
Kommentiert: Ole am 3 Apr. 2021
I have expressions that I do not know how to further simplify with matlab.
Which function will at least make the expression more compact.. collect common terms, try to rewrite
syms x c d
assume(0 <=x & x <= pi/2 & d>0 & c <0 )
f = (sin(x)^3*(- c - sin(x)^2)^(1/2))/d^2 - (sin(x)*(- c - sin(x)^2)^(1/2))/(2*d^2) - (sin(x)^5*(- c - sin(x)^2)^(1/2))/(2*d^2);

Akzeptierte Antwort

Paul
Paul am 3 Apr. 2021
How about this:
>> simplify(f,500)
ans =
-(sin(x)*(- sin(x)^2 - c)^(1/2)*(sin(x)^2 - 1)^2)/(2*d^2)

Weitere Antworten (0)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by