Practical 1: Introduction to MATLAB

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.  \frac{17}{ 2/3 + 3/4 } (needs 1 pair of brackets)
  2. 5+ \frac{9^{ \frac{3}{2} }+1}{2 \left(5-3\right)} (needs 3 or 4 pairs of brackets)