clc // Given that E = 1400 // solar energy receives by the earth in W/square meter d = 1.5e11 // distance between earth and the sun in meter c = 3e8 // velocity of photon in meter/sec // Sample Problem 40 on page no. 11.33 printf("\n # PROBLEM 40 # \n") printf(" Standard formula used \n") printf(" E = m*c^2 \n ") E_ = 4 * %pi * d^2 * E m = E_ / c^2 printf("\n Rate of decrement of mass of the sun is %e kg/sec.",m)