convert the above expression into this graph

 Respuesta aceptada

Torsten
Torsten el 3 de Oct. de 2024
Editada: Torsten el 3 de Oct. de 2024
I'll show you how to solve for theta2 given theta from the equation
sin(theta2-theta)+exp(-theta2/(omega*tau))*sin(theta)=0
From the graph I guess this is not exactly what is meant. So you have to explain yourself in more detail.
omega = 1;
tau = 100;
theta = linspace(0,pi/2);
fun = @(theta2,theta)sin(theta2-theta)+exp(-theta2/(omega*tau))*sin(theta);
theta20 = pi;
for i = 1:numel(theta)
theta2(i) = fzero(@(theta2)fun(theta2,theta(i)),theta20);
theta20 = theta2(i);
end
plot(theta*180/pi,theta2*180/pi)
xlim([0 90])

1 comentario

서연
서연 el 4 de Oct. de 2024
You are my GOD.
Very very thank you.
I love you♡!!!!!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Programming en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 3 de Oct. de 2024

Comentada:

el 4 de Oct. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by