# Math Help - maths (MATLAB) problem

1. ## maths (MATLAB) problem

If an object is thrown at an angle \theta to the horizontal with speed v then it will travel a horizontal distance

D =(v^2/g)sin2 theta,
and reach a maximum height
h =(v^2/2g)sin^2 theta

where g = 9.81ms^−2 is the gravitational acceleration. for the cases theta = pi/6 and theta = pi/4.

this is a matlab peoblem, any idea how to do it? thanks
this is the exercise on the book without answer.

2. Originally Posted by quah13579
If an object is thrown at an angle \theta to the horizontal with speed v then it will travel a horizontal distance

D =(v^2/g)sin2 theta,
and reach a maximum height
h =(v^2/2g)sin^2 theta

where g = 9.81ms^−2 is the gravitational acceleration. for the cases theta = pi/6 and theta = pi/4.