1 2 3 4 5 6 7 8 9 10
clear //Given a=6*10**-3 //Kg c=3*10**8 //Calculation E=a*c**2 //Result printf("\n Energy liberated is %0.3f J", E)