A. Displacement

Write a C++ program that will ask the user to enter the initial velocity and the final velocity

of a moving object in linear motion. Likewise, the program will also ask for the time traveled

by the object. Then, the program should be able to compute and display for the distance

traveled.

2

2

1

S V t at i

t

V V

a f i

S = displacement

Vi = initial velocity

Vf = final velocity

t = time

a = acceleration

B. Circle in a Square

Write a C++ program that will ask the user to enter the area of a square. Then

the program will display the biggest area of a circle that will fit in a given

square. Using math.h library is not allowed.

- End

Write a C++ program that will ask the user to enter the initial velocity and the final velocity

of a moving object in linear motion. Likewise, the program will also ask for the time traveled

by the object. Then, the program should be able to compute and display for the distance

traveled.

2

2

1

S V t at i

t

V V

a f i

S = displacement

Vi = initial velocity

Vf = final velocity

t = time

a = acceleration

B. Circle in a Square

Write a C++ program that will ask the user to enter the area of a square. Then

the program will display the biggest area of a circle that will fit in a given

square. Using math.h library is not allowed.

- End

Write a C++ program that will ask the user to enter the initial velocity and the final velocity

of a moving object in linear motion. Likewise, the program will also ask for the time traveled

by the object. Then, the program should be able to compute and display for the distance

traveled.

of a moving object in linear motion. Likewise, the program will also ask for the time traveled

by the object. Then, the program should be able to compute and display for the distance

traveled.

First you have to come up wit the math solutions( formulas) then you write the code.

1. Ask for 3 inputs, meaning you have to declare three variables.

2. Apply the formula and assign this result to another variable ( distance traveled)

Show what you have done and someone will help you....

good luck

1. Ask for 3 inputs, meaning you have to declare three variables.

2. Apply the formula and assign this result to another variable ( distance traveled)

Show what you have done and someone will help you....

good luck

Topic archived. No new replies allowed.