diff options
Diffstat (limited to '2075/CH2')
-rwxr-xr-x | 2075/CH2/EX2.9/pe2_9.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2075/CH2/EX2.9/pe2_9.sce b/2075/CH2/EX2.9/pe2_9.sce new file mode 100755 index 000000000..6816ec6bd --- /dev/null +++ b/2075/CH2/EX2.9/pe2_9.sce @@ -0,0 +1,15 @@ +//example 2.9
+clc; funcprot(0);
+// Initialization of Variable
+V=15;//voltage
+R=4;//resistance
+Vl=.1;
+D=8;//duty cycle
+//calculation
+Il=V/R;
+disp(Il,"load current in A:")
+Rw=Vl/Il//wiring resistance
+disp(Rw*1000,"wiring resistance in mohm:")
+Ri=Rw/(2*D);
+disp(Ri*1e6,"resistance per inch in microohm/inch:")
+clear()
|