〖cos〗^2 (2π/4)sin(5π/7)^2+tan(π/3 ln35 )/√17
3 ビュー (過去 30 日間)
古いコメントを表示
how to write it in matlab
5 件のコメント
Torsten
2023 年 3 月 28 日
(cos((2*pi)/4))^2
(sin((5*pi)/7))^2
(tan((pi/3)*(log(35))))
sqrt(17)
Now put the parts together.
Torsten
2023 年 3 月 28 日
You shouldn't use so many brackets:
cos(2*pi/4)^2 * sin(5*pi/7)^2 + tan(pi/3*log(35)) / sqrt(17)
(cos((2*pi)/4)^2)*(sin((5*pi)/7)^2)+((tan((pi/3)*(log(35))))/sqrt(17))
回答 (1 件)
Sai
2023 年 4 月 4 日
Hi Mohammed,
I understand that you wanted to perform the above mathematical operation in MATLAB
You can follow the below approach to solve the mathematical operation:
a = (cos(2*pi/4))^2
b = (sin(5*pi/7))^2
c = tan((pi/3)*(log(35)))/sqrt(17)
Ans = (a*b)+c
Hope this helps you resolve the query.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!