summaryrefslogtreecommitdiff
path: root/863/CH9/EX9.5/Ex9_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '863/CH9/EX9.5/Ex9_5.sce')
-rw-r--r--863/CH9/EX9.5/Ex9_5.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/863/CH9/EX9.5/Ex9_5.sce b/863/CH9/EX9.5/Ex9_5.sce
new file mode 100644
index 000000000..ce6ce80e1
--- /dev/null
+++ b/863/CH9/EX9.5/Ex9_5.sce
@@ -0,0 +1,18 @@
+//Caption:Design a UJT relaxation oscillator and find peak to peak output amplitude
+//Ex9.5
+clc;
+clear;
+close;
+Vbb=20//Supply voltage(in volts)
+f=5//Frequency(in khz)
+Veb=3//Fringe Voltage(in volts)
+Ip=2//Fringe current(in micro ampere)
+Iv=1//Emitter current(in mA)
+n=0.75
+Vp=0.7+(n*Vbb)
+R1x=(Vbb-Vp)/Ip
+R1n=(Vbb-Veb)/Iv
+t=1000/f
+C1=t*1000/(R1n*(log((Vbb-Veb)/(Vbb-Vp))))
+E=Vp-Veb
+disp(C1,R1n,E,'Peak to peak voltage(in volts) and Components for circuit are resistor(in kilo ohm) and capacitance(in pf)=') \ No newline at end of file