Question
Question: Find net force due to the ring on mass m of radius R and mass M? 
Solution
In this of questions when mass is uniformly distributed over the entire body then we will calculate the force due to small portion of body then we integrate that portion so to get the net force on the other body and for integration we use the simple rule of definite integration and we get the required result.
Complete step-by-step solution:
Consider a small portion in the form of arc on the ring of massdMand due to this mass dM and mass m placed at point O a small force dFis acting between them.
Suppose that portion of massdM is making a small angleda.

This small force dFis resolved into two components: -
1.dFx- Horizontal Component of force.
2. dFy- Vertical Component of force.
Since if we take small portion on the other side of the ring then this dFxcomponent of force will cancelled out and only effective component of force isdFy.
The value of this component of force dFy is given as:
dFy=dFSina
This dFis representing a small force between manddM.
So the value of dFycan be written mathematically as: -
dFy=R2G(m)(dM)Sina−−Equation(1)
Since the mass of the whole ring is the length of the ringπR=M.
So, mass of 1 unit length of ring =πRM
mass of this arc of length Rda$$$$=\dfrac{M}{\pi R}\times Rda
mass of this small portion dM=πMda
Put the value of mass dMin equation 1 then we get,
dFy=R2G(m)(πMda)Sina
on simplifying the above expression we get,
dFy=πR2GmMSinada
This is the force exerted by small portion of the ring of mass dMand we have to calculate the force due to the whole ring so we integrate this above expression so the we can find the net force on mass m due to whole ring of mass M and radius R. So we integrate it from 0toπ because it is a semicircular ring.
We get ,
Fnet=0∫π(dFy)
