Question: c++ code asap please Exercise #1: Center of Mass Every object has a point where its whole mass is concentrated so we can lift any
Exercise #1: Center of Mass Every object has a point where its whole mass is concentrated so we can lift any object, by applying force on that point only. If there are two objects m1 and m2 separated by distances x1 and 2 from a fixed point, the center of mass (X) of the two objects is given by: X = Xim, + x2m2 ma + m2 Write a program that prompts the user to enter the mass mi and mz of two particles and their positions xi and x2, the program calculates and prints the center of the mass. Sample inputs / outputs: Enter the mass of the two particles: 149 Enter the position of the two particles: 5 13 The center of mass is: 8.13043
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
