Hey, I'm all new to MatLab and would like to know why I'm getting two outputs when using the following code:

`function theta = acuteAngle(v1,v2)theta = acos((dot(v1,v2))); if theta > pi/2 disp(pi-theta); else disp(theta); endend`

Result i get with following input:

Input:

`disp(acuteAngle([-4/5, 3/5], [20/29, 21/29]))`

Output: (i only want the first result : 1.4533)

` 1.4533 1.6883`

## Best Answer