From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3630/CH2/EX2.2/Ex2_2.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 3630/CH2/EX2.2/Ex2_2.sce (limited to '3630/CH2/EX2.2') diff --git a/3630/CH2/EX2.2/Ex2_2.sce b/3630/CH2/EX2.2/Ex2_2.sce new file mode 100644 index 000000000..5ff55a7f1 --- /dev/null +++ b/3630/CH2/EX2.2/Ex2_2.sce @@ -0,0 +1,10 @@ +clc; +//ex2.2 +VD1=0; //Volt//diode is forward bias for ideal diode total Rideal=0 so VD1=IT*Rideal=0V +R1=1000; //kilo ohm; +VS=5; //Volt //voltage across voltage source +IT=(VS/R1)-(VD1/R1);//Ampere;apply kvl in the circuit +VR1=IT*R1; //Volt//apply ohms law voltage across resistance +disp( 'Volt',VD1*1,"VD1="); +disp( 'mAmpere',IT*1000,"IT="); +disp( 'Volt',VR1*1,"VR1="); -- cgit