How to implement the following equation in MATLAB

조회 수: 2 (최근 30일)
Stephen john
Stephen john 2022년 9월 12일
댓글: Dyuman Joshi 2022년 9월 12일
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
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개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by