From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2741/CH8/EX8.13/Chapter8_Example13.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 2741/CH8/EX8.13/Chapter8_Example13.sce (limited to '2741/CH8/EX8.13/Chapter8_Example13.sce') diff --git a/2741/CH8/EX8.13/Chapter8_Example13.sce b/2741/CH8/EX8.13/Chapter8_Example13.sce new file mode 100755 index 000000000..c237141e1 --- /dev/null +++ b/2741/CH8/EX8.13/Chapter8_Example13.sce @@ -0,0 +1,14 @@ +clc +clear +//Input data +S=2.3;//Solar constant in cal/cm^2/minute +r=7*10^10;//The radius of the sun in cm +R=1.5*10^13;//The distance between the sun and the earth in cm +s=1.37*10^-12;//Stefans constant in cal/cm^2/s + +//Calculations +E=(S/60)*(R/r)^(2);//The energy radiated from the sun in cal/s +T=(E/s)^(1/4);//The black body temperature of the sun in K + +//Output +printf('The black body temperature of the sun is T = %3.0f K ',T) -- cgit