summaryrefslogtreecommitdiff
path: root/863/CH9/EX9.2/Ex9_2.txt
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /863/CH9/EX9.2/Ex9_2.txt
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '863/CH9/EX9.2/Ex9_2.txt')
-rw-r--r--863/CH9/EX9.2/Ex9_2.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/863/CH9/EX9.2/Ex9_2.txt b/863/CH9/EX9.2/Ex9_2.txt
new file mode 100644
index 000000000..016fe73a9
--- /dev/null
+++ b/863/CH9/EX9.2/Ex9_2.txt
@@ -0,0 +1,21 @@
+//Caption:Design a linear ramp generator
+//Ex9.2
+clc;
+clear;
+close;
+V=5//Output voltage(in volts)
+Vcc=15//Supply voltage(in volts)
+Vce2=3//Voltage(in volts)
+C1=1//Capacitance(in micro fard)
+t=1//pulse width(in ms)
+Vbe=0.7//Base emitter voltage(in volts)
+V3=Vcc-Vce2-5
+Ic=C1*V/t
+R3=V3/Ic
+Vb=V3+Vbe
+I1=Ic/10
+R1=Vb/I1
+i1=Vb/R1
+V2=Vcc-Vb
+R2=V2/I1
+disp(C1,R3,R2,R1,'Components required to design the circuit are resistors R1,R2,R3(in kilo ohm) and capacitance C1(in micro farad)=') \ No newline at end of file