diff options
Diffstat (limited to '1853/CH1/EX1.3')
-rwxr-xr-x | 1853/CH1/EX1.3/Ex1_3.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1853/CH1/EX1.3/Ex1_3.sce b/1853/CH1/EX1.3/Ex1_3.sce new file mode 100755 index 000000000..cee9b621e --- /dev/null +++ b/1853/CH1/EX1.3/Ex1_3.sce @@ -0,0 +1,12 @@ +
+//find the total R.I.V
+R1=5
+R2=10
+R3=15
+V=120
+R=R1+R2+R3
+I=V/R
+V1=I*R1
+V2=I*R2
+V3=I*R3
+disp('Voltage V3='+string(V3)+'volts' , 'Voltage V2='+string(V2)+'volt' , 'Voltage V1='+string(V1)+'volts')
|