diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3014/CH7/EX7.12/Ex7_12.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3014/CH7/EX7.12/Ex7_12.sce')
-rwxr-xr-x | 3014/CH7/EX7.12/Ex7_12.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3014/CH7/EX7.12/Ex7_12.sce b/3014/CH7/EX7.12/Ex7_12.sce new file mode 100755 index 000000000..af83bfbb0 --- /dev/null +++ b/3014/CH7/EX7.12/Ex7_12.sce @@ -0,0 +1,14 @@ +
+clc
+//Given that
+p = 3.8e26 // power radiated by moon in watt
+d_sun = 1.44e11 // Distance between sun and earth in meter
+d_moon = 3e8 //Distance between moon and earth in meter
+epsilon_0 = 8.854e-12 // Permittivity of free space
+mu_0 = 4*%pi*1e-7 // Permeability of free space
+printf("Example 7.12")
+s = p/(4*%pi*d_sun^2)// Calculation of solar energy received during solar eclipse in watt /m^2
+S = s*60/(4.2*1e4) // Unit conversion
+
+printf("\n Solar energy received during solar eclipse is %f Cal per min per m^2 \n\n\n",S)
+// Ansewr in book is 2.1 cal per min per m^2
|