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 possess to portraiture the equation ce wary speed, gone its dropped u allure be 0,separation allure be the altitude of the edifice and a allure be correspondent to earths gravitational cece which is 9.81m/s^2, so conclusive speed can be conceden by sqrt(2*g*height). here is the matlab rule ce the identical,

unhesitating = ‘What is the heigh of the edifice? ‘;

x = input(prompt)

y = sqrt(2*9.81*x);

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