5102=(500+10)2It is the form of (a+b)2, where a=500,b=10Applying the formula (a+b)2=a2+b2+2ab5102=(500+10)2=5002+102+2×500×10=250000+100+10000=260100