Respuesta aceptada

Star Strider
Star Strider el 20 de Jun. de 2019
It is the correct result, although it may not be the one you were anticipaiting.
Try this:
syms x
f(x) = sin(x)+2*cos(x)
intf = int(f)
simplifiedResult = simplify(intf, 'Steps', 100)
producing:
f(x) =
2*cos(x) + sin(x)
intf(x) =
-2*cos(x/2)*(cos(x/2) - 2*sin(x/2))
simplifiedResult(x) =
2*sin(x) - cos(x) - 1

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Preguntada:

el 20 de Jun. de 2019

Respondida:

el 20 de Jun. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by