93.8k views
5 votes
Given the following MATLAB statement: ( 3 + 2 ) / 5 * 4 + 5 ^ 2 In what order will these operations be done?

User Jackycflau
by
4.6k points

1 Answer

1 vote

Answer:

first is the parentheses, (3+2)=5 next is the exponent 5^2=25, next is the division 5 / 5 = 1, then the multiplication 4*1=4 and then you add 4+25=29. so the answer is 29.

User Frogcjn
by
4.7k points