Computer Science, asked by Nicey6122, 10 months ago

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 Anonymous
12

\tt\it\bf\it\Large\bm{\mathcal{\fcolorbox{blue}{white}{\orange{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();

}

________________________________

Answered by anjalirehan04
0

please mark me brain mark list

Attachments:
Similar questions