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 19:30
Look at this pattern ; 1,4,9, number 10000 belongs in this pattern . what’s the place of this number?
Answers: 1
question
Mathematics, 21.06.2019 21:10
Which exponential function has an initial value of 2? f(x) = 2(3x) f(x) = 3(2x)
Answers: 1
question
Mathematics, 22.06.2019 01:30
Acell phone company offers two plans to its subscribers. at the time new subscribers sign up, they are asked to provide some demographic information. the mean yearly income for a sample of 40 subscribers to plan a is $45,000 with a standard deviation of $9,200. for a sample of 25 subscribers to plan b, the mean income is $64,300 with a standard deviation of $7,100. at the 0.025 significance level, is it reasonable to conclude the mean income of those selecting plan b is larger? assume unequal population standard deviations. hint: for the calculations, assume the plan a as the first sample. what is the decision rule? (negative amount should be indicated by a minus sign. round your answer to 3 decimal places.) compute the value of the test statistic. (negative amount should be indicated by a minus sign. round your answer to 2 decimal places.) what is your decision regarding h0 ? reject h0 fail to reject h0 compute the p-value. less than 0.01 between 0.01 and 0.025 between 0.025 and 0.05 between 0.05 and 0.10 greater than 0.10
Answers: 3
question
Mathematics, 22.06.2019 04:40
The discrete random variables x and y take integer values with joint probability distribution given by f (x,y) = a(y−x+1) 0 ≤ x ≤ y ≤ 2 or =0 otherwise, where a is a constant. 1 tabulate the distribution and show that a = 0.1.2 find the marginal distributions of x and y. 3 calculate cov(x,y).4 state, giving a reason, whether x and y are independent. 5 calculate e(y|x = 1).
Answers: 2
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
Questions on the website: 13722361