blob: 25f8cb55da605059be4f71d46e1c7d3de9f3493f (
plain)
1
2
3
4
5
6
7
8
9
|
// Ex1_7 Page:17 (2014)
clc; clear;
c = 3e+08; // Speed of light in vacuum, m/s
delta_E = 4e+026; // Rate of radiation of energy from the sun, J/s
delta_m = delta_E/c^2; // The decrease in mass, kg
printf("\nThe decrease in mass = %4.2e kg", delta_m);
// Result
// The decrease in mass = 4.44e+09 kg
|