How to solve this kind of equation
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi all!
How do I solve the equation y=sin(x)+ e^(0.25x-1.5)? I need the roots...
Also how do I draw it and show the x and y axes?
Thanks!
2 comentarios
Respuestas (2)
John Petersen
el 11 de Dic. de 2012
x = [-20:.01:20]';
y=sin(x)+exp(0.25*x-1.5);
figure;plot(x,y);grid
2 comentarios
John Petersen
el 12 de Dic. de 2012
Numerically. But, as you can see from the plot, when x <-10 it becomes a sine wave. Also, all the roots are x<5.3 so that can constrain your search.
Ver también
Categorías
Más información sobre Numerical Integration and Differentiation 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!