To Know About Linear Motion Click Here
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr()
float v,u,a,t;
cout<<"Enter the initial velocity : ";
cin>>u;
cout<<"Enter the acceleration : ";
cin>>a;
cout<<"Enter the time : ";
cin>>t;
v=u+a*t;
cout<<"The final velocity is : "<<v;
getch();
}
Input
Enter the initial velocity : 5
Enter the acceleration : 2
Enter the time : 10
Output
The final velocity is : 25
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr()
float v,u,a,t;
cout<<"Enter the initial velocity : ";
cin>>u;
cout<<"Enter the acceleration : ";
cin>>a;
cout<<"Enter the time : ";
cin>>t;
v=u+a*t;
cout<<"The final velocity is : "<<v;
getch();
}
Input
Enter the initial velocity : 5
Enter the acceleration : 2
Enter the time : 10
Output
The final velocity is : 25