Tasks: Design and write a C program to include the following
1. Write code to calculate the equations of motion; preferably as functions.
2. Write a program that offers menus of options to enable a user to enter displacements, speeds, accelerations, times to calculate other displacements, speeds, accelerations, times
3. Draw flowcharts for the calculations and menus
Marks will be awarded for
10% Flowcharts showing designs for your code
20% Code readability
70% Code functionality
2 of the equations of motion are
v = u + at
s = ut + at2/2
A novice programmer should be able to get 40% by providing
1. flowcharts drawn using standard shapes, that show execution paths for 1 menu and 2 equations of motion
2. code that has meaningful variable names, some useful comments and indented layout
3. functionality of
a. a menu enabling the user to choose between 2 equations of motion
b. the user enters values for the chosen equation
c. the program calculates the correct values and outputs