tan^2*(45+x/2)

2 件のコメント

Rik
Rik 2020 年 6 月 24 日
You forgot to ask a question.
bruk tgsetu
bruk tgsetu 2020 年 6 月 24 日
how can in write on matlab

サインインしてコメントする。

回答 (1 件)

Rik
Rik 2020 年 6 月 24 日
編集済み: Rik 2020 年 6 月 24 日

1 投票

You probably mean either of these:
% if x is in radians:
tan(45+x/2).^2
% if x is in degrees:
tand(45+x/2).^2
If you don't, please explain in a comment to your question what you mean mathematically.

2 件のコメント

Steven Lord
Steven Lord 2020 年 6 月 24 日
That 45 in the expression makes me suspect bruk tgsetu is working in degrees, in which case they should use the degree-based tangent function tand instead of the radian-based tan.
Rik
Rik 2020 年 6 月 24 日
Good point. I've edited my answer to include that point.

サインインしてコメントする。

カテゴリ

質問済み:

2020 年 6 月 24 日

コメント済み:

Rik
2020 年 6 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by