summaryrefslogtreecommitdiff
path: root/275/CH1/EX1.1.35/Ch1_1_35.sce
diff options
context:
space:
mode:
Diffstat (limited to '275/CH1/EX1.1.35/Ch1_1_35.sce')
-rwxr-xr-x275/CH1/EX1.1.35/Ch1_1_35.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/275/CH1/EX1.1.35/Ch1_1_35.sce b/275/CH1/EX1.1.35/Ch1_1_35.sce
new file mode 100755
index 000000000..e7498ceac
--- /dev/null
+++ b/275/CH1/EX1.1.35/Ch1_1_35.sce
@@ -0,0 +1,11 @@
+clc
+disp("Example 1.35")
+printf("\n")
+disp("find out series resistance in circuit fig 1.32")
+V=3
+rd=0.5
+Vr=0.3
+IF=174*10^-3
+//resistance
+R=(V-Vr-(IF*rd))/IF
+printf("The value of resistance is \n%f ohm\n",R)