Computer Science, asked by Alizask3790, 3 months ago

Design and develop C program for evaluating the equation: v=u+at; s=ut+(1/2)at2 ; v2-u2=2as.

Answers

Answered by mominsaloni28
0

Answer:

#include<iostream.h>

#include<conio.h>

void main( )

{

clrscr( );

float v,u,a,t,s;

cout<<"enter initial velocity";

cin>>u;

cout<<"enter final velocity";

cin>>v;

cout<<"enter acceleration";

cin>>a;

cout<<"enter time";

cin>>t;

cout<<"enter distance";

cin>>s;

if(v==u+a*t)

{

cout<<"L.H.S=R.H.S";

}

if(s==u*t+1/2*a*t*t)

{

cout<<"L.H.S=R.H.S";

}

if(v*v-u*u==2*a*s)

{

cout<<"L.H.S=R.H.S";

}

getch();

}

explanation: hope it helps you!

Similar questions