summaryrefslogtreecommitdiff
path: root/2297/CH7/EX7.1/Ex7_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2297/CH7/EX7.1/Ex7_1.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 '2297/CH7/EX7.1/Ex7_1.sce')
-rwxr-xr-x2297/CH7/EX7.1/Ex7_1.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2297/CH7/EX7.1/Ex7_1.sce b/2297/CH7/EX7.1/Ex7_1.sce
new file mode 100755
index 000000000..0453f5678
--- /dev/null
+++ b/2297/CH7/EX7.1/Ex7_1.sce
@@ -0,0 +1,22 @@
+//Example 7.1// width and length
+clc;
+clear;
+close;
+format('v',6)
+vph=400;//phase voltage in volts
+n=3;//number of phase
+kw=36;//power in kW
+r=((vph^2)/(n*((kw*10^3)/n)));//resistance in ohms
+p=1.016*10^-6;//resitivity
+t=0.3;//thickness in mm
+x=(((r*t*10^-3)/(p)));//variable
+t1=1000;//initial temperature in degree celsius
+t1k=273+t1;//initial temperature in kelvin
+t2=650;//final temperature in degree celsius
+t2k=273+t2;//final temperature in kelvin
+h=((3*10^4)*((t1k/1000)^4-(t2k/1000)^4));//W/m^2
+y=((kw*10^3)/(3*2*h));//variable
+l=sqrt(x*y);//length in meter
+w=y/l;//width in meter
+disp(l,"length is,(m)=")
+disp(w*10^3,"width is,(mm)=")