Mathematical symbols in MATLAB

Minimising required brackets

 

The following expressions both have a value of 12.

> Type in the equivalent MATLAB expressions to obtain the correct answer using as few pairs of brackets as possible.

 

  1. 172/3+3/4 (needs 1 pair of brackets)
  2. 5+932+12(53) (needs 3 or 4 pairs of brackets)