symbolic processing

2 ビュー (過去 30 日間)
Dwyane  Wade
Dwyane Wade 2011 年 8 月 15 日
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)

採用された回答

Paulo Silva
Paulo Silva 2011 年 8 月 15 日
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 件)

カテゴリ

Help Center および File ExchangeSymbolic Variables, Expressions, Functions, and Preferences についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by