Write a Matlab program that will solve for the velocity of a stone dropped off a building as it hits the ground. The program should also give how long it took to fall. Have the building height be a variable entered by the program.

Hi,

we keep to manifestation the equation coercion sagacious speed, gone its dropped u succeed be 0,absence succeed be the acme of the construction and a succeed be similar to earths gravitational coercionce which is 9.81m/s^2, so conclusive speed can be surrendern by sqrt(2*g*height). here is the matlab principle coercion the selfsame,

alert = ‘What is the heigh of the construction? ‘;

x = input(prompt)

y = sqrt(2*9.81*x);

fprintf(‘stone speed as it hits the basis is %i m/s’,y)