Answer to Question #263570 in C++ for ndzalama

Question #263570

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-09T23:39:24-0500

float 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