summaryrefslogtreecommitdiff
path: root/275/CH1/EX1.1.27/Ch1_1_27.sce
diff options
context:
space:
mode:
Diffstat (limited to '275/CH1/EX1.1.27/Ch1_1_27.sce')
-rwxr-xr-x275/CH1/EX1.1.27/Ch1_1_27.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/275/CH1/EX1.1.27/Ch1_1_27.sce b/275/CH1/EX1.1.27/Ch1_1_27.sce
new file mode 100755
index 000000000..376aeb5e7
--- /dev/null
+++ b/275/CH1/EX1.1.27/Ch1_1_27.sce
@@ -0,0 +1,11 @@
+clc
+disp("Example 1.27")
+printf("\n")
+disp("find the forward current in circuit of fig 1.22")
+//given
+V=9
+Vd=0.3
+R=3.3*10^3
+//current
+I=(V-Vd)/R
+printf("forward current=%f Ampere",I)