Answer to Question #267046 in C++ for pakie

Question #267046

The formula below decribes Newton's second law of motion

Force = Mass x acceleration

Using the variables below Write one line of code that will calculate the acceleration of a object.


// Mass in Kg

float mass = 50.3;

// Froce in N

int force = 720; 

//acceleration

float accel;


//One line of code to calculate the acceleration of a object



1
Expert's answer
2021-11-18T23:53:55-0500
accel = force / mass;

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS