How to implement the following equation in MATLAB

Hello everyone I hope you are doing well. I want to find the following values How can i do it in MATLAB
I have tried the following code but answer is not same
x=nthroot(2048, 3)+(factorial(12)*3^2/50-25)
y=1024^(3*9)+(12/0.25+factorial(10))
z=(sqrt(factorial(20)))^3
ans= x*y+z

5 件のコメント

Torsten
Torsten 2022 年 9 月 12 日
You forgot to include your attempt to code it in MATLAB.
Stephen john
Stephen john 2022 年 9 月 12 日
@Torsten I have tried the above code but it does not gives the answer
Torsten
Torsten 2022 年 9 月 12 日
Try
x=nthroot(2048, 3)+(factorial(12)*3^2/(50-25))
instead of
x=nthroot(2048, 3)+(factorial(12)*3^2/50-25)
Stephen john
Stephen john 2022 年 9 月 12 日
Thanks
Dyuman Joshi
Dyuman Joshi 2022 年 9 月 12 日
(factorial(12)*3^2/50-25)
%the problem is here ^
%something to do with order of operations

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMatrix Indexing についてさらに検索

製品

リリース

R2021b

質問済み:

2022 年 9 月 12 日

コメント済み:

2022 年 9 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by