"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"'''turn on off UJT'''",
"",
"V_BB=30.0;",
"V_P=14.0;",
"I_P=20.0*10**-6;",
"V_V=1.0;",
"I_V=10.0*10**-3;",
"x=(V_BB-V_P)/I_P;",
"y=(V_BB-V_V)/I_V;",
"print('R1 should be less than %d Ohms'%x)",
"print('R1 should be more than %d Ohms'%y)"
],
"language": "python",
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"R1 should be less than 800000 Ohms",
"R1 should be more than 2900 Ohms"
]
}
],
"prompt_number": 4
},
{
"cell_type": "markdown",
"source": [
"