symbolic processing
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi there I have a problem and it is under Symbolic Processing topic.
How do I evaluate these expressions in terms of x?
1.) tan(2x-45degrees)
2.) sin(30degrees-3x)
0 comentarios
Respuesta aceptada
Paulo Silva
el 15 de Ag. de 2011
syms x
f1=tan(2*x-45) %no tand in my symbolic toolbox so use tan and convert values
f2=sin(30-3*x)
xx=2 %point where you wish to evaluate the expressions
subs(f1,x,xx)
subs(f2,x,xx)
I already told you about the conversions between rad and degrees so please don't ask it again, edit my answer code so it does exactly what you want.
Please make your best efforts in order to find the solutions before asking us, read the documentation.
PS: Please check your previous questions before creating new ones, accept the answer that you think it's the best one.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Symbolic Variables, Expressions, Functions, and Preferences 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!