on mathlab Create another variable named as t to store the t

(on mathlab)

Create another variable, named as t, to store the time the object travels, in second. Make it 2 seconds.

Then create the height variable, h, to represent the distance the object travels which is free-falling from certain
altitude with zero starting speed. The formula is h=1/2*g*t^2.

How much is h?

Solution

>> t=2;
>> g=9.8; (g is referred to as the acceleration of gravity. Its value is 9.8 m/s2 on Earth)
>> h=(1/2)*g*power(t,2)

h =

   19.6000

>>

or you can use input command to enter manual values for t

like

t=input(\'enter time value\');

>> g=9.8; (g is referred to as the acceleration of gravity. Its value is 9.8 m/s2 on Earth)
>> h=(1/2)*g*power(t,2)

(on mathlab) Create another variable, named as t, to store the time the object travels, in second. Make it 2 seconds. Then create the height variable, h, to rep

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site