diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2498/CH1/EX1.40 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2498/CH1/EX1.40')
-rwxr-xr-x | 2498/CH1/EX1.40/ex1_40.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2498/CH1/EX1.40/ex1_40.sce b/2498/CH1/EX1.40/ex1_40.sce new file mode 100755 index 000000000..ce83cef33 --- /dev/null +++ b/2498/CH1/EX1.40/ex1_40.sce @@ -0,0 +1,18 @@ +// Exa 1.40
+clc;
+clear;
+close;
+format('v',6)
+// Given data
+Vth= 0.5;// in V
+R_F= 1*10^3;// in ohm
+V= 5;// in V
+// Applying KVL for loop, V-Vd-R_F*Ii= 0 (i)
+// When Ii=0
+Vd= V;// in V
+// When Vd= 0
+Ii= V/R_F;// in A
+// From eq(i)
+Ii= (V-Vth)/R_F;// in A
+Vd= V-R_F*Ii;// in V
+disp("The operating point is : "+string(Vd)+" V, "+string(Ii*10^3)+" mA")
|