subject
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

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 18:00
Write an equation for the function that includes the points (1,4/5) and (2,2/3)
Answers: 1
question
Mathematics, 21.06.2019 19:30
The figure below shows rectangle abcd and the triangle eca on a coordinate plane.which of the following expressions represents the perimeter of triangle of triangle eca in units
Answers: 2
question
Mathematics, 21.06.2019 20:50
Find the equation of a line that is perpendicular to line g that contains (p, q). coordinate plane with line g that passes through the points negative 3 comma 6 and 0 comma 5 3x βˆ’ y = 3p βˆ’ q 3x + y = q βˆ’ 3p x βˆ’ y = p βˆ’ q x + y = q βˆ’ p
Answers: 1
question
Mathematics, 21.06.2019 22:30
If x-1 and x+3 are the factors of x3+10x2+ax+b find a and b
Answers: 1
You know the right answer?
Here is an updated version of the program from the previous problem, modified to get input from a us...
Questions
question
Mathematics, 02.03.2021 01:30
question
Mathematics, 02.03.2021 01:30
question
Mathematics, 02.03.2021 01:30
question
Mathematics, 02.03.2021 01:30
Questions on the website: 13722360