# Untitled

unknown

plain_text

3 years ago

946 B

2

Indexable

Never

^{}

cout <<"\t An airplane has a takeoff speed given in m/s and requires a given distance to reach that speed"<<endl; cout <<"\t Determine the acceleration of the plane and the time required to reach this speed."<<endl; cout <<"\t given is vi=0m/s, vf=88.3m/s, and d=1365m"<<endl; cout <<"Find value for acceleration"<<endl; cout <<"Enter value for initial velocity (in m/s):"; cin>> p_vi; cout <<"Enter value for final velocity (in m/s):"; cin>> p_vf; cout <<"Enter value for distance (in m/s):"; cin>> p_d; p_a= ((p_vf*p_vf)-(p_vi*p_vi))/(2*p_d); cout<<"The value of acceleration (in m/s^2) is :"<<p_a<<endl; cout<<"Find value for time"<<endl; cout <<"Enter value for initial velocity (in m/s):"; cin>> p_vi; cout <<"Enter value for final velocity (in m/s):"; cin>> p_vf; cout <<"Enter value for acceleration:"; cin>> p_a; p_t=(p_vf-p_vi)/p_a; cout <<"Enter value for time(in seconds):"<<p_t; return 0 ;