Write a programm in C to implement following senario:
you are required to design a solution for physics student to calculate equation of mottion.if the user enters 1,he can calculate first equation of motion.if he enters 2,he can calculate second equation of motion and if he enters 3 he can calculate third equation of motion using his desired data values.
you are required to use functions and switch stement to implement the secanario.
three equations are:
1.v=u+at
2. s=ut+1/2at^2
3.v^2-u^2=2as
where v=final velocity
u=initial velocity
a=acceleration
t=time
can anyone solve this promblem?