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.