"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"from __future__ import division\n",
"import math\n",
"#initializing the variables:\n",
"l = 0.3;# in m\n",
"v = 4;# in m/s\n",
"B = 1.25;# in Tesla\n",
"R = 20;# in ohms\n",
"u0 = 4*math.pi*1E-7;\n",
"\n",
"#calculation:\n",
"E = B*l*v\n",
"I2 = E/R\n",
"\n",
"#Results\n",
"print \"\\n\\nResult\\n\\n\"\n",
"print \"\\n (a)If the ends of the conductor are open circuited \"\n",
"print \"no current will flow even though \",E,\" V has been induced.\\n\"\n",
"print \"\\n (b)From Ohms law, I = \",I2,\" Ampere\\n\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"\n",
"\n",
"Result\n",
"\n",
"\n",
"\n",
" (a)If the ends of the conductor are open circuited no current will flow even though 1.5 V has been induced.\n",
"\n",
"\n",
" (b)From Ohms law, I = 0.075 Ampere"
]
}
],
"prompt_number": 1
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"