フィルターのクリア

Input a range of numbers into an expression

1 回表示 (過去 30 日間)
Brooks Nelson
Brooks Nelson 2018 年 1 月 23 日
回答済み: Walter Roberson 2018 年 1 月 23 日
tan(x)=sin(x)/cos(x) for x=-π/2, -π/4, 0, π/4, π/2.
I inputted a range for x;
>> x=[-pi/2 -pi/4 0 pi/4 pi/2]
x =
-1.5708 -0.7854 0 0.7854 1.5708
I have the numbers in the workspace but I am trying to prove that when x is put into exquation it outputs the proof that tan(x) is equal to the sin(x)/cos(x).
Thanks

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 1 月 23 日
Hint: sin(x)./cos(x)

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by