summaryrefslogtreecommitdiff
path: root/858/CH5/EX5.13/example_13.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /858/CH5/EX5.13/example_13.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '858/CH5/EX5.13/example_13.sce')
-rwxr-xr-x858/CH5/EX5.13/example_13.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/858/CH5/EX5.13/example_13.sce b/858/CH5/EX5.13/example_13.sce
new file mode 100755
index 000000000..ebc44c531
--- /dev/null
+++ b/858/CH5/EX5.13/example_13.sce
@@ -0,0 +1,15 @@
+clc
+clear
+printf("example 5.13 page number 193\n\n")
+
+//to find the surface temperature
+view_factor=0.25;
+R=7.1*10^10 //in cm
+l=1.5*10^13 //in cm
+Ts=5973; //in K
+alpha=0.2;
+epsilon=0.1;
+
+ratio=alpha/epsilon;
+To=(ratio*view_factor*(R^2/l^2))^0.25*Ts;
+printf("Equilibrium temperature = %f K",To)