Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The questions needed to be answered are at the bottom of the image displayed. there are other answers fo thia already on chegg, but those

image text in transcribed
The questions needed to be answered are at the bottom of the image displayed. there are other answers fo thia already on chegg, but those answers didnt work in my c/c++ program and the professor did not approve. He wants the format of this to be displayed using
cout
cin >>
attached is another photo of another assignment completed thats similar to what he's asking here, i just can't figure this out.
thank you so much to whoever answers this, youre a lifesaver
image text in transcribed
When a ball is thrown vertically upward from a reference location, it travels to a maximum height and then changes direction and experiences a fall. Ignoring the air resistance and a number of other tiny influences, the location of the ball (H) and its velocity (V) at time ( 1 ) can be expressed by the following expressions: V =Vo -(g) H =(Vo)-(g/2)r? Here Vo is the initial upward velocity, g is the earth gravitational acceleration (9.81 m/s?) and H is measured upward from the reference location. Using the above expressions one can find the time(tm) it takes for the ball to reach its maximum height( Hm ) and the time it takes for the ball to return to its reference location (tr) as listed below: tm = Volg Hm = Vo?/(28) tr = 2V /g Write a program to: 1. read the initial velocity of the ball from the keyboard and calculate tm, Hm, and tr and then print their values with appropriate labels. Test the program for Vo = 100 m/sec. 2. read a value for the time and calculate the corresponding velocity and the height of the ball and print their values with proper labels(use Vo=100); test the program for 1= 15 sec. Calculation the Perimeter and Area of a Triangle Sa 2-4-2020 */ 3 #include 4 #include 5 using namespace std; 7 int main() 10 { double area; double perimeter, a,b,c ; double S; 20/20 //calculating perimeter cout > a >> b >> C; perimeter = a + b + c; s = perimeter / 2; //calculatings area = sqrt(fabs(s * (s - a) * (s - b) * (s - c))); //calculating area cout

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 15th International Conference Dexa 2004 Zaragoza Spain August 30 September 3 2004 Proceedings Lncs 3180

Authors: Fernando Galindo ,Makoto Takizawa ,Roland Traunmuller

2004th Edition

3540229361, 978-3540229360

More Books

Students also viewed these Databases questions