Wire length
L=10 cm=0.1mCharge on wire
Q=24μC=24×10−6C
Point charge
q=1μC=10−6C
Distance of charge from nearer end:
a=2 cm=0.02m
Far end distance:
a+L=0.12m
Linear charge density
λ=LQ=0.124×10−6=2.4×10−4C/m
For small element dx,
dF=4πϵ01x2qλdx
Integrate from x=0.02 to 0.12:
F=9×109(10−6)(2.4×10−4)∫0.020.12x2dx=9×109(2.4×10−10)[−x1]0.020.12
=2.16(0.021−0.121)
=2.16(50−8.33)
=2.16(41.67)
=90