Mathematics
Mathematics, 17.03.2020 00:03, ykluhredd

Here is an updated version of the program from the previous problem, modified to get input from a user and display formatted output. For the sake of brevity, the descriptive comment at the top of the file is not included: clear; g = 9.81; % acceleration due to gravity on Earth (m/s^2) h_i = input('Enter the initial height (m): '); v_i = input('Enter the initial velocity (m/s): '); h_f = (0.5*v_i^2 + g*h_i) / g; % conservation of energy, solved for final height fprintf('The maximum height reached is %0.2f m\n', h_f); A sample run of the program looks like: Enter the initial height (m): 1.95 Enter the initial velocity (m/s): 2.05 The maximum height reached is 2.16 m

answer
Answers: 2

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 20:00, munch1239
Evaluate the discriminant of each equation. tell how many solutions each equation has and whether the solutions are real or imaginary. x^2 - 4x - 5 = 0
Answers: 2
image
Mathematics, 21.06.2019 20:10, sarah19Nursing
Which function has the domain x> -11?
Answers: 1
image
Mathematics, 22.06.2019 00:30, cgonzalez1371
Find the area of just the wood portion of the frame. this is called a composite figure. you will need to use your values from problem #2need all exepct 4 answerd if you can
Answers: 1
image
Mathematics, 22.06.2019 01:00, jghdvine
Have yall ever just farted and was like, i farted.
Answers: 2
Do you know the correct answer?
Here is an updated version of the program from the previous problem, modified to get input from a us...

Questions in other subjects: