72.2k views
2 votes
How to do “Pseudocode” and “FlowChart” in this question ?

Please Help mee

How to do “Pseudocode” and “FlowChart” in this question ? Please Help mee-example-1
User Ident
by
4.7k points

1 Answer

2 votes

Answer:

There is no complicated algorithm required for this problem. After getting the inputs from initial velocity (u), acceleration (a), and time (t), you can use the kinematics formula: x=ut + (1/2)at^2 to solve for the distance traveled.

Step-by-step explanation:

Some very simple pseudocode:

1. Get Initial Velocity and set as u

2. Get Acceleration and set as a

3. Get Time and set as t

4. Set x to u*t + (1/2)*a*t*t

5. Return x

User Raul Gonzales
by
5.4k points