How do I correctly type in the following functions into matlab
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
∫▒[1+〖sin〗^2θ cscθ ] dθ
∫▒1/(1+sinθ ) dθ
∫_( 0)^( π)▒〖sint dt〗
and
∫_( -π∕4)^(〖 π〗∕4)▒〖〖sec〗^2θ dθ〗
for the first one i have tried: int(1+(sin*theta^2)*csc\theta)
for the second i tried: int(1/(1+sin\theta))
for the third i have tried:
syms x
f=(sin*t)
a=0
b=pi
int(f, a, b)
0 comentarios
Respuestas (1)
Ameer Hamza
el 28 de Mayo de 2020
This is correct syntax
syms theta t
f1 = 1 + sin(theta)^2*csc(theta);
f2 = 1/(1+sin(theta));
f3 = sin(t);
f4 = sec(theta).^2;
f1_int = int(f1, theta, 0, pi/2);
f2_int = int(f2, theta, 0, pi/2);
f3_int = int(f3, t, 0, pi);
f4_int = int(f4, theta, -pi/4, pi/4);
0 comentarios
Ver también
Categorías
Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!