# stand off and peak point voltage
import math
#Variable declaration
Vbb=20 # in V
eta=0.6 # instrinsic stand off ratio
Vb=0.7 # in V
#Calculations
sov=eta*Vbb # Stand off voltage
Vp=(eta*Vbb)+Vb;
print("(i). Stand off voltage,(V) = %.f "%sov)
print("(ii). Peak point voltage,Vp(V) = %.1f"%Vp)
# time period
import math
#Variable declaration
Vbb=20.0 # in V
C=100.0 # in micro-farad
R=100.0 # in kilo-ohms
Vp=10.0 # in V
#Calculations
eta=Vp/Vbb # instrinsic stand off ratio
T= ((C*10**-12*R*10**3 *math.log(1/(1-eta))))*10**7 #in micro-seconds
#Result
print("time period of the saw tooth waveform generated is ,(micro-seconds)= %.2f"%T)
# resistance
import math
#variable declaration
eta=0.6 # instrinsic stand off ratio
Rbb=10 # interbase resistance in k-ohm
#Calculations
Rb1=eta*Rbb
Rb2=Rbb-Rb1
#Result
print("Resistance,Rb1(k-ohm) = %.f"%Rb1)
print("Resistance,Rb1(k-ohm) = %.f"%Rb2)