Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

write a C program to find the kinetic energy on an object in motion is expressed

ID: 3599302 • Letter: W

Question

write a C program to find the kinetic energy on an object in motion is expressed as where K = kinetic energy of an object, m = mass of object, v = velocity of object. The work done by a force pushing on an object in the direction of the object’s motion is W = Fs, where W = Work done by the force, F = force on the object, s = distance traveled by the object during the time the object is pushed. For an object pushed horizontally from rest, K = W, so that Assume that one person can push with the force of 0.8 kN and that we have a car of mass m = 1000 kg. Write a program that can complete the following table:

Distance pushed (m)

         Final velocity (m/sec)

No. of people required to push

                           5

                         10

                ---

                          ---

                         10

                15

                           20

                          ---

                 8

Input specification: Prompt the user to enter the data from the keyboard.

Output specification: Print the completed table on the screen.

Distance pushed (m)

         Final velocity (m/sec)

No. of people required to push

                           5

                         10

                ---

                          ---

                         10

                15

                           20

                          ---

                 8

Explanation / Answer

#include<stdio.h>
#include<math.h>

int main(){

   double d,v,n,m,f,s;
   double k;
  
  
   m = 1000;
   f = 0.8;
  
   printf("Enter final velocity : ");
   scanf("%lf",&v);
   printf("Enter distance pushed : ");
   scanf("%lf",&s);
   n = (0.5) * m * v * v * (1/s)*(1/(f*1000));
   printf("Number of people : %lf ",n);
  
  
   printf("Enter final velocity : ");
   scanf("%lf",&v);
   printf("Enter number of people : ");
   scanf("%lf",&n);
   s = (0.5) * m * v * v * 1/(n * f * 1000.0);
   printf("Distance pushed : %lf ",s);
  
  
   printf("Distance pushed : ");
   scanf("%lf",&s);
   printf("Enter number of people : ");
   scanf("%lf",&n);
   v = sqrt(((s * n * 800)* 2)/m);
   printf("Final velocity : %0.2lf",v);
  
  
}