Design and develop C program for evaluating the equation: v=u+at; s=ut+(1/2)at2 ; v2-u2=2as; (hint: LHS= v2-u2 , RHS=2as) LHS=RHS prove the equation.
Answer:(penalty regime: 10, 20, ... %)
Answers
Answered by
12
_______________________________
#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();
}
________________________________
Answered by
0
please mark me brain mark list
Attachments:
Similar questions