summaryrefslogtreecommitdiff
path: root/3630/CH4/EX4.1/Ex4_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH4/EX4.1/Ex4_1.sce')
-rw-r--r--3630/CH4/EX4.1/Ex4_1.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/3630/CH4/EX4.1/Ex4_1.sce b/3630/CH4/EX4.1/Ex4_1.sce
new file mode 100644
index 000000000..54cab93a7
--- /dev/null
+++ b/3630/CH4/EX4.1/Ex4_1.sce
@@ -0,0 +1,7 @@
+clc;
+Vin=12; //volt
+RL=5100; //ohm
+Rs=1000; //ohm
+VL=(RL/(RL+Rs))*Vin ; //volt //voltage divide rule
+disp('Vpk',VL,"VL=");//The answers vary due to round off error
+