summaryrefslogtreecommitdiff
path: root/3673/CH1/EX1.9
diff options
context:
space:
mode:
Diffstat (limited to '3673/CH1/EX1.9')
-rw-r--r--3673/CH1/EX1.9/Ex1_9.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/3673/CH1/EX1.9/Ex1_9.sce b/3673/CH1/EX1.9/Ex1_9.sce
new file mode 100644
index 000000000..ec2ebb749
--- /dev/null
+++ b/3673/CH1/EX1.9/Ex1_9.sce
@@ -0,0 +1,7 @@
+//Example 1_9 page no:12
+clc
+I=(100-40)/40//By applying ohms law to the given circuit
+R=30//reisistance in ohm
+V=I*R
+disp(I,"Current across 30ohm resistor(in A):")
+disp(V,"Voltage across 30ohm resistor(in V):")