summaryrefslogtreecommitdiff
path: root/3630/CH2/EX2.6
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH2/EX2.6')
-rw-r--r--3630/CH2/EX2.6/Ex2_6.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/3630/CH2/EX2.6/Ex2_6.sce b/3630/CH2/EX2.6/Ex2_6.sce
new file mode 100644
index 000000000..6b5d94225
--- /dev/null
+++ b/3630/CH2/EX2.6/Ex2_6.sce
@@ -0,0 +1,7 @@
+clc;
+//ex2.6
+Vs=4; //volt
+Vd=0.7; //volt
+R1=5100; //ohm
+IT=(Vs-2*Vd)/R1; //Ampere//KVL int the circuit
+disp('Ampere',IT*1,"IT=")