15,615,280 members
See more:
A sphere of mass m1 impinges obliquely on a stationary sphere of mass m2, the direction of the blow making an angle α with the line of motion of the impinging sphere. If the coefficient of restitution is e it can be shown that the impinging sphere is deflected through an angle β such that tan (β) = m2(1 + e) tan(α) m1 em2 + (m1 + m2) tan(α). Write a C code to input values of m1, m2, e, and α (in degrees) and to compute the angle β in degrees.

What I have tried:

`"2)\tA sphere of mass m1 impinges obliquely on a stationary sphere of mass m2, the direction of the blow making an angle α with the line of motion of the impinging sphere. If the coefficient of restitution is e it can be shown that the impinging sphere is deflected through an angle β such that tan (β) = m2(1 + e) tan(α) m1 em2 + (m1 + m2) tan(α). Write a C code to input values of m1, m2, e, and α (in degrees) and to compute the angle β in degrees."`
`"2)\tA sphere of mass m1 impinges obliquely on a stationary sphere of mass m2, the direction of the blow making an angle α with the line of motion of the impinging sphere. If the coefficient of restitution is e it can be shown that the impinging sphere is deflected through an angle β such that tan (β) = m2(1 + e) tan(α) m1 em2 + (m1 + m2) tan(α). Write a C code to input values of m1, m2, e, and α (in degrees) and to compute the angle β in degrees."`
Posted
Updated 23-Jan-23 7:06am

## Solution 1

You start by working out the mathematical formula. From that you should be able to write out the steps required to use that formula to get an answer. And from those steps you can write the code.

Also the section headed "What I have tried:", is for you to show what you have done and where any problems may occur. It is not there just to repeat the question.