In each case find the value of the expression in MATLAB and explain precisely the order in which the calculation was performed.
(i) -2^3+9 (ii) 2/3*3
(iii) 3*2/2 (iv) 3*4-5^2*2-3
(V) (2/3^2*5)*(3-4^2)^2 (vi) 3*(3*4-2*5^2-3)
(i) ans=
1
(ii) ans=
2
(iii) ans=
3
(iv) ans=
-41
(v) (2/3∧2∗5)∗(3−4∧2)∧2
ans=
187.78
(vi) 3∗(3∗4−2∗5∧2−3)
ans=
-123