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 /2075/CH5/EX5.10/pe5_10.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 '2075/CH5/EX5.10/pe5_10.sce')
-rwxr-xr-x | 2075/CH5/EX5.10/pe5_10.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/2075/CH5/EX5.10/pe5_10.sce b/2075/CH5/EX5.10/pe5_10.sce new file mode 100755 index 000000000..039e91510 --- /dev/null +++ b/2075/CH5/EX5.10/pe5_10.sce @@ -0,0 +1,21 @@ +//example 5.10
+clc; funcprot(0);
+// Initialization of Variable
+G=6.4;//A/V
+I=5;//current
+Pq=9.8;//W
+Tj=140;
+Ta=40;
+//calculation
+R=2/G;
+disp(R,"resistance in ohm:")
+printf('thus pick a .33ohm rsistance')
+R=.33;
+Im=I/3;
+Vr=Im*R;
+disp(Vr,"voltage in V:")
+P=Vr*Im/4;
+disp(P,"power in W:")
+Qs=(Tj-Ta)/Pq-2.1;
+disp(Qs,"thermal resistance in degreeC/W")
+clear()
|