summaryrefslogtreecommitdiff
path: root/Machine_Design_by_U.C._Jindal/Ch19_1.ipynb
diff options
context:
space:
mode:
authorTrupti Kini2016-03-24 23:30:28 +0600
committerTrupti Kini2016-03-24 23:30:28 +0600
commit1af80a22f9c11d7c73deb42ccc9859a9bf9dfe8b (patch)
tree7bdf9b414ff83bf82bfb3077b3ff151cc08c1d86 /Machine_Design_by_U.C._Jindal/Ch19_1.ipynb
parent18cbc0dd7321c83b3ee97f483269b49ece11c7c2 (diff)
downloadPython-Textbook-Companions-1af80a22f9c11d7c73deb42ccc9859a9bf9dfe8b.tar.gz
Python-Textbook-Companions-1af80a22f9c11d7c73deb42ccc9859a9bf9dfe8b.tar.bz2
Python-Textbook-Companions-1af80a22f9c11d7c73deb42ccc9859a9bf9dfe8b.zip
Added(A)/Deleted(D) following books
A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter3_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter4_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter5_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter6_1.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter7_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter9_1.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter10_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter12_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter13_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter14_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter15_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter16_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter17_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter19_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter20_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter21_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter22_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter23_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter24_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter25_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter26_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter27_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter28_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter29_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter30_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter31_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter32_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter33_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter34_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter35_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter36_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/Clipper_waveform_1.png A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/Gate_to_Source_Voltage_vs_Drain_Current_1.png A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/transconductance_curve_1.png A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter11_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter13_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter14_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter15_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter16_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter17_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter21_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter22_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter23_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter26_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter2_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter4_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter5_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter9_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/screenshots/21AOQCurve_2.png A A_Textbook_of_Production_Engineering_by_P._C._Sharma/screenshots/21X&RChart_2.png A A_Textbook_of_Production_Engineering_by_P._C._Sharma/screenshots/22CuttingVvsCutterDia_2.png A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER01_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER02_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER03_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER04_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER07_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER09_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER11_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER15_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER16_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER18_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER19_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER20_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER23_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER24_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/screenshots/Capture02_1.png A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/screenshots/Capture04_1.png A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/screenshots/Capture20_1.png A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter2_2.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter3_2.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter4_2.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter6_2.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter7_2.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter8_2.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter9_2.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/screenshots/chapter2_2.png A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/screenshots/chapter3_2.png A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/screenshots/chapter4_2.png A Machine_Design_by_U.C._Jindal/Ch10_1.ipynb A Machine_Design_by_U.C._Jindal/Ch11_1.ipynb A Machine_Design_by_U.C._Jindal/Ch12_1.ipynb A Machine_Design_by_U.C._Jindal/Ch13_1.ipynb A Machine_Design_by_U.C._Jindal/Ch14_1.ipynb A Machine_Design_by_U.C._Jindal/Ch15_1.ipynb A Machine_Design_by_U.C._Jindal/Ch16_1.ipynb A Machine_Design_by_U.C._Jindal/Ch17_1.ipynb A Machine_Design_by_U.C._Jindal/Ch18_1.ipynb A Machine_Design_by_U.C._Jindal/Ch19_1.ipynb A Machine_Design_by_U.C._Jindal/Ch20_1.ipynb A Machine_Design_by_U.C._Jindal/Ch21_1.ipynb A Machine_Design_by_U.C._Jindal/Ch22_1.ipynb A Machine_Design_by_U.C._Jindal/Ch23_1.ipynb A Machine_Design_by_U.C._Jindal/Ch24_1.ipynb A Machine_Design_by_U.C._Jindal/Ch25_1.ipynb A Machine_Design_by_U.C._Jindal/Ch26_1.ipynb A Machine_Design_by_U.C._Jindal/Ch27_1.ipynb A Machine_Design_by_U.C._Jindal/Ch28_1.ipynb A Machine_Design_by_U.C._Jindal/Ch29_1.ipynb A Machine_Design_by_U.C._Jindal/Ch30_1.ipynb A Machine_Design_by_U.C._Jindal/Ch31_1.ipynb A Machine_Design_by_U.C._Jindal/Ch3_1.ipynb A Machine_Design_by_U.C._Jindal/Ch4_1.ipynb A Machine_Design_by_U.C._Jindal/Ch5_1.ipynb A Machine_Design_by_U.C._Jindal/Ch6_1.ipynb A Machine_Design_by_U.C._Jindal/Ch7_1.ipynb A Machine_Design_by_U.C._Jindal/Ch8_1.ipynb A Machine_Design_by_U.C._Jindal/Ch9_1.ipynb A Machine_Design_by_U.C._Jindal/screenshots/Chapter-3stressgraph_1.png A Machine_Design_by_U.C._Jindal/screenshots/Chapter-_8AdditionalLoad_1.png A Machine_Design_by_U.C._Jindal/screenshots/Chapter11_-_strengthofrevet_1.png A Power_System_Operation_and_Control_by_B._R._Gupta/Chapter1_1.ipynb A Power_System_Operation_and_Control_by_B._R._Gupta/Chapter2_1.ipynb A Power_System_Operation_and_Control_by_B._R._Gupta/Chapter3_1.ipynb A Power_System_Operation_and_Control_by_B._R._Gupta/Chapter4_1.ipynb A Power_System_Operation_and_Control_by_B._R._Gupta/Chapter5_1.ipynb A Power_System_Operation_and_Control_by_B._R._Gupta/Chapter6_1.ipynb A Power_System_Operation_and_Control_by_B._R._Gupta/screenshots/Ch1-EnergyLadCurveAndMassCurve_1.png A Power_System_Operation_and_Control_by_B._R._Gupta/screenshots/Ch2-LoadGeneration_1.png A Power_System_Operation_and_Control_by_B._R._Gupta/screenshots/Ch2-ReceivedPower_1.png
Diffstat (limited to 'Machine_Design_by_U.C._Jindal/Ch19_1.ipynb')
-rw-r--r--Machine_Design_by_U.C._Jindal/Ch19_1.ipynb389
1 files changed, 389 insertions, 0 deletions
diff --git a/Machine_Design_by_U.C._Jindal/Ch19_1.ipynb b/Machine_Design_by_U.C._Jindal/Ch19_1.ipynb
new file mode 100644
index 00000000..e42db53e
--- /dev/null
+++ b/Machine_Design_by_U.C._Jindal/Ch19_1.ipynb
@@ -0,0 +1,389 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:19 Flywheel"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 19-1 - Page 530"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "axial stress is 12.76 MPa \n",
+ "\n",
+ "tensile stress for theta=30deg is 38.9 MPa \n",
+ "\n",
+ "tensile stress for theta=0deg is 31.74 MPa \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi, cos, sin\n",
+ "R=1200#\n",
+ "b=300#\n",
+ "t=150#\n",
+ "N=500#\n",
+ "m=7100*10**-9*b*t#\n",
+ "Ar=b*t#\n",
+ "Aa=Ar/4#\n",
+ "C=(20280/t**2)+0.957+(Ar/Aa)#\n",
+ "w=2*pi*N/60#\n",
+ "V=w*R*10**-3#\n",
+ "siga=2*10**3*m*V**2/(C*Aa*3)#\n",
+ "theta=30*pi/180#\n",
+ "alpha=30*pi/180#\n",
+ "x1=10**3*m*(V**2)/(b*t)#\n",
+ "y1=cos(theta)/(3*C*sin(alpha))#\n",
+ "z1=2000*R*10**-3/(C*t)*((1/alpha)-(cos(theta)/sin(alpha)))#\n",
+ "sigrr1=x1*(1-y1+z1)#\n",
+ "theta=0*pi/180#\n",
+ "x2=10**3*m*(V**2)/(b*t)#\n",
+ "y2=cos(theta)/(3*C*sin(alpha))#\n",
+ "z2=2000*R*10**-3/(C*t)*((1/alpha)-(cos(theta)/sin(alpha)))#\n",
+ "sigrr2=x2*(1-y2-z2)#\n",
+ "print \"axial stress is %0.2f MPa \"%(siga)#\n",
+ "print \"\\ntensile stress for theta=30deg is %0.1f MPa \"%(sigrr1)#\n",
+ "print \"\\ntensile stress for theta=0deg is %0.2f MPa \"%(sigrr2)#\n",
+ "#The difference in the value of sigrr1 and sigrr2 is due to rounding-off of values."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 19-2 - Page 530"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t is 63.37 mm \n",
+ "\n",
+ "b is 126.74 mm \n",
+ "\n",
+ "R is 0.682 m \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import asin, cos, sqrt,pi\n",
+ "N=350#\n",
+ "theta1=asin(sqrt((3-0.6)/4))#\n",
+ "theta1=theta1*180/pi#\n",
+ "theta2=(180)-theta1#\n",
+ "#Ti=16000+6000*sind(3*theta)#\n",
+ "#To=16000+3600*sind(theta)#\n",
+ "a=-3600*(cos(pi/180*theta2)-cos(pi/180*theta1))#\n",
+ "b=2000*(cos(pi/180*3*theta2)-cos(pi/180*3*theta1))#\n",
+ "c=a+b#\n",
+ "delU=c#\n",
+ "Ks=0.05#\n",
+ "w=2*pi*N/60#\n",
+ "I=delU/(Ks*w**2)#\n",
+ "V=25#\n",
+ "Ir=I*0.95#\n",
+ "R=V/w#\n",
+ "Mr=Ir/R**2#\n",
+ "rho=7150#\n",
+ "t=sqrt(Mr*(10**6)/(2*pi*R*2*rho))#\n",
+ "b=2*t#\n",
+ "print \"t is %0.2f mm \"%(t)#\n",
+ "print \"\\nb is %0.2f mm \"%(b)#\n",
+ "print \"\\nR is %0.3f m \"%(R)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 19-3 - Page 531"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t is 28.16 mm \n",
+ "\n",
+ "b is 42.24 mm \n",
+ "\n",
+ "R is 0.2816 m \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "N=300#\n",
+ "Ks=0.03#\n",
+ "rho=7150#\n",
+ "Kr=0.9#\n",
+ "w=2*pi*N/60#\n",
+ "WD=(300*2*pi)+(4*pi*200/4)#\n",
+ "Tm=400#\n",
+ "delU=pi*200/16#\n",
+ "Ir=Kr*delU/(w**2*Ks)#\n",
+ "R=Ir/(rho*1.5*0.1*0.1*2*pi)#\n",
+ "R=R**(1/5)#\n",
+ "t=0.1*R*1000#\n",
+ "b=1.5*t#\n",
+ "print \"t is %0.2f mm \"%(t)#\n",
+ "print \"\\nb is %0.2f mm \"%(b)#\n",
+ "print \"\\nR is %0.4f m \"%(R)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 19-4 - Page 532"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t is 26.9 mm \n",
+ "\n",
+ "b is 53.8 mm \n",
+ "\n",
+ "R is 0.5 m \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "d=20#\n",
+ "t=12#\n",
+ "Tus=450#\n",
+ "Pmax=pi*d*t*Tus#\n",
+ "WD=Pmax*t/2*10**-3#\n",
+ "n=0.95#\n",
+ "Wi=WD/n#\n",
+ "delU=5*Wi/6#\n",
+ "N=300#\n",
+ "w=2*pi*N/60#\n",
+ "Ks=0.2#\n",
+ "I=delU/(Ks*w**2)#\n",
+ "Ir=I*0.9#\n",
+ "R=0.5#\n",
+ "m=Ir/R**2#\n",
+ "rho=7150#\n",
+ "t=sqrt(m*10**6/(rho*2*pi*R*2))#\n",
+ "b=2*t#\n",
+ "print \"t is %0.1f mm \"%(t)#\n",
+ "print \"\\nb is %0.1f mm \"%(b)#\n",
+ "print \"\\nR is %0.1f m \"%(R)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 19-5 - Page 533"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "R is 0.364 m \n",
+ "\n",
+ "sigmax is 0.29 MPa \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "U=(500*2*pi)+(3*pi*500/2)#\n",
+ "Tm=U/(2*pi)#\n",
+ "delU=2.25*pi*125/2#\n",
+ "Ks=0.1#\n",
+ "N=250#\n",
+ "w=2*pi*N/60#\n",
+ "I=delU/(Ks*w**2)#\n",
+ "t=0.03#\n",
+ "rho=7800#\n",
+ "R=(I*2/(pi*rho*t))**(1/4)#\n",
+ "V=R*w#\n",
+ "v=0.3#\n",
+ "sigmax=rho*V**2*(3+v)/8*10**-6#\n",
+ "print \"R is %0.3f m \"%(R)#\n",
+ "print \"\\nsigmax is %0.2f MPa \"%(sigmax)#\n",
+ " "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 19-6 - Page 534"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t is 24.8 mm \n",
+ "\n",
+ "b is 37.2 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "N=1.5*8*60#\n",
+ "l=200#\n",
+ "t=1.5/2#\n",
+ "W=350*10**3#\n",
+ "WD=0.15*l*W*10**-6#\n",
+ "n=0.9# #since frictional effect is 10%, effciency of system is 90%\n",
+ "Wi=WD/n#\n",
+ "L=400#\n",
+ "delU=(L-(0.15*l))/(L)*10**3*Wi#\n",
+ "Ks=0.12#\n",
+ "w=2*pi*N/60#\n",
+ "I=delU/(Ks*w**2)#\n",
+ "Ir=I*0.9#\n",
+ "R=0.7#\n",
+ "m=Ir/R**2#\n",
+ "rho=7150#\n",
+ "t=sqrt(m*10**6/(rho*2*pi*R*1.5))#\n",
+ "b=1.5*t#\n",
+ "print \"t is %0.1f mm \"%(t)#\n",
+ "print \"\\nb is %0.1f mm \"%(b)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 19-7 - Page 535"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t is 40 mm \n",
+ "\n",
+ "b is 80 mm \n",
+ "\n",
+ "R is 400 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "N=144#\n",
+ "#Let n be no. of punches/ min\n",
+ "n=8#\n",
+ "#Let t be timr for 1 punch\n",
+ "t=60/n#\n",
+ "theta=N/60*2*pi*0.6#\n",
+ "T=2.1#\n",
+ "U=T*theta#\n",
+ "#Let U1 be revolution of crankshaft in t sec\n",
+ "U1=t*N/60*2*pi#\n",
+ "delU=(U1-theta)/U1*U*10**3#\n",
+ "w=2*pi*1440/60#\n",
+ "Ks=0.1#\n",
+ "I=delU/(Ks*w**2)#\n",
+ "Ir=I*0.9#\n",
+ "rho=7100#\n",
+ "\n",
+ "R=Ir/(rho*0.2*0.1*2*pi)#\n",
+ "R=R**(1/5)#\n",
+ "t=0.1*R*1000#\n",
+ "b=0.2*R*10**3#\n",
+ "t=40#\n",
+ "b=80#\n",
+ "R=400#\n",
+ "# printing data in scilab o/p window\n",
+ "print \"t is %0.0f mm \"%(t)#\n",
+ "print \"\\nb is %0.0f mm \"%(b)#\n",
+ "print \"\\nR is %0.0f mm \"%(R)#"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}