Design and develop C program for evaluating the equation: v=u+at; s=ut+(1/2)at2 ; v2-u2=2as.
Answers
Answered by
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
Science,
1 month ago
Business Studies,
1 month ago
Computer Science,
2 months ago
History,
2 months ago
Math,
9 months ago