Let dm be the mass of element dx at distance x from start dm be the elemental length and mass. Now, mass of element dx,dm=‌
M
L
dx The separation between point mass and element will be (r+x). As we know that, F=‌
GM1M2
d2
where, F= gravitational force, G= gravitational constant M1 and M2 be the masses and d be the separation between M1,M2. ∴‌‌dF (elemental force )=‌