01 Jul i need a help for my home works
Question Description
For this project, upload 2 files:1 your source file in rebounds.cpp2 your text file generated (HeightReached.txt)Submit both files at the same time.
EEGR 161 Fall 2017
Project 3
When a ball falls from an initial height h, its speed s when it reaches the floor is given by the relation:
π = β2 β h β g where g is the gravity constant 9.81. Immediately after hitting the floor, its speed
becomes s1 = eps*s (where eps is a constant and s its speed before rebounding). The ball will then reach
the height β1 = (π 1)2 /(2 β π) = (π β πππ )2 /(2 β π). After n rebounds, what is the equation of the
height reached by the ball?
Write a program (rebounding.cpp) that computes the height reached by the ball after 1, 2, β¦, n rebounds
and save the data in file called HeightReached.txt. Print a statement before the height reached.
Your program should define the constant g
Your program should request from the user:
– h0 (the initial height)
– eps (the rebound coefficient, 0< eps <1)
- n (the number of rebounds, 0<= n)
For h0 = 25, eps = 0.9, and n = 10, the height obtained should be around 3.04
ο· To use sqrt() function you will need to #include
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Writedemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to clickΒ on βOrder NowβΒ and we will direct you to ourΒ Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible forΒ 20% offΒ in their first Order. Our payment method is safe and secure.