Second equation of motion in C language
Before going into this, we'll use a library of math.h, for mathematic operations.
First, we'll take input the values of initial velocity, time and acceleration, and then store the inputs in the variables.
Then, we will apply a condition, because time can't be negative.
After that, we'll apply the formula to calculate distance.
Related :
First, we'll take input the values of initial velocity, time and acceleration, and then store the inputs in the variables.
Then, we will apply a condition, because time can't be negative.
After that, we'll apply the formula to calculate distance.
Second equation of motion in the C language
Related :
Comments
Post a Comment