summaryrefslogtreecommitdiff
path: root/Basic_Mechanical_Engineering
diff options
context:
space:
mode:
Diffstat (limited to 'Basic_Mechanical_Engineering')
-rw-r--r--Basic_Mechanical_Engineering/bme1.ipynb62
-rw-r--r--Basic_Mechanical_Engineering/bme2.ipynb39
2 files changed, 3 insertions, 98 deletions
diff --git a/Basic_Mechanical_Engineering/bme1.ipynb b/Basic_Mechanical_Engineering/bme1.ipynb
index f265eb09..c8832e7f 100644
--- a/Basic_Mechanical_Engineering/bme1.ipynb
+++ b/Basic_Mechanical_Engineering/bme1.ipynb
@@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
- "signature": "sha256:1c2bde816df4a48f4bf4b466f0c4a777a3dcae429d1891036e825820f9cb6fc1"
+ "signature": "sha256:24b9eaeeeddeacc3199362b9156ae9de4a4fc79ba4c35797142cfcc4a54f627a"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -29,8 +29,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"p=700\t\t #pressure of fluid in kN/m**2\n",
"v1=0.28\t\t#Initial volume of fluid in m**3\n",
"v2=1.68\t\t#Final volume of fluid in m**3\n",
@@ -67,8 +65,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"p1=138.0\t\t#Initial pressure of gas in kN/m**2\n",
"p2=690.0\t\t#Final pressure of gas in kN/m**2\n",
"v1=0.112\t\t#Initial volume in m**3\n",
@@ -106,8 +102,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"p1=2070\t\t#Initial pressure of gas in kN/m**2\n",
"p2=207\t\t#Final pressure of gas in kN/m**2\n",
"v1=0.014\t\t#Initial volume of gas in m**3\n",
@@ -149,8 +143,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"v1=0.056\t\t#Initial volume of gas in m**3\n",
"v2=0.007\t\t#Final volume of gas in m**3\n",
"p1=100\t\t#Initial perssure compressed Isothermally in kN/m**2\n",
@@ -190,8 +182,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"v1=1.0\t\t#Initial volume in m**3\n",
"v2=3.0\t\t#Final volume in m**3\n",
"\n",
@@ -228,8 +218,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"v1=0.2\t#Initial volume in m**3\n",
"v2=0.5\t#Final volume in m**3\n",
"\n",
@@ -265,8 +253,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"v1=1.5\t\t#Initial volume in m**3\n",
"v2=2\t\t#Final volume in m**3\n",
"w1=2\t\t#Work receiving in Nm\n",
@@ -305,8 +291,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"d=13596\t\t#Density of Hg in kg/m**3\n",
"g=9.806\t\t#gravity in m/sec**2\n",
"z=760.0\t\t#Barometer pressure in mm of Hg\n",
@@ -357,8 +341,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data \n",
"z=750\t\t#Barometric pressure in mm of Hg\n",
"g=9.81\t\t#Gravity in m/sec**2\n",
"Pa=101.325\t#one atm pressure in kN/m**2\n",
@@ -410,8 +392,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"Zw=50\t\t#Manometer reading of water in cm\n",
"Zo=763\t\t#Atmospheric pressure in mm of Hg\n",
"d=13.6*10**3\t#Density of Hg in kg/m**3\n",
@@ -452,8 +432,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"Z=70\t\t\t#Vaccum gauge reading in cm of Hg\n",
"Pa=101.325\t\t#Atmospheric pressure in kPa\n",
"d=13.6*10**3\t\t#Density of Hg in kg/m**3\n",
@@ -492,8 +470,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"Pv=30\t\t#Vaccum pressure in kPa\n",
"Z=755\t\t#Barometer reading in mm of Hg\n",
"d=13590\t\t#Density of Hg in kg/m**3\n",
@@ -532,8 +508,6 @@
"collapsed": false,
"input": [
" \n",
- "\n",
- "#Input data\n",
"Z=0.562\t\t#Level of open limb in m\n",
"Z1=0.761\t\t#Barometer reading in m of Hg\n",
"g=9.79\t\t#Gravity in m/sec**2\n",
@@ -573,8 +547,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data \n",
"d=13.596*10**3\t#Density of Hg in kg/m**3\n",
"dl=800\t\t#Density of liquid in kg/m**3\n",
"Z=30\t\t#Level of the liquid in the arm in cm\n",
@@ -617,8 +589,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"Z1=0.17\t\t#Level of liquid in m\n",
"Z=0.76\t\t#Barometer readings in m\n",
"d=13596\t\t#Density of Hg in kg/m**3\n",
@@ -661,8 +631,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"g=9.806\t\t#Gravity in m/sec**2\n",
"d=13596\t\t#Density of Hg in kg/m**3\n",
"Z=9.75\t\t#Level of Hg in cm\n",
@@ -709,8 +677,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"g=9.7\t\t #Gravity in m/sec**2\n",
"d=13.69*10**3\t#Density of Hg in kg/m**3\n",
"dw=1000\t\t #Density of water in kg/m**3\n",
@@ -753,8 +719,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"Z=0.76\t\t#Actual height of mercury coloumn in m\n",
"g=9.806\t\t#Gravity in m/sec**2\n",
"d=13596\t\t#Density of Hg in kg/m**3\n",
@@ -797,8 +761,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"dk=800\t\t#Density of kerosene in kg/m**3\n",
"g=9.81\t\t#gravity in m/sec**2\n",
"Zk=0.051\t\t#Kerosene vapour on Hg coloumn in m\n",
@@ -841,8 +803,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"d=13596\t\t#Density of Hg in kg/m**3\n",
"g=9.806\t\t#Gravity in m/sec**2\n",
"df=0.8*1000\t#Density of fluid in kg/m**3\n",
@@ -886,8 +846,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"Pa=1\t\t#Atmospheric pressure in bar\n",
"g=9.81\t\t#Gravity in m/sec**2\n",
"do=0.8*1000\t#Density of oil in kg/m**3\n",
@@ -938,7 +896,6 @@
"collapsed": false,
"input": [
"\n",
- "#Input data\n",
"Z=0.76\t\t#Barometer reading in m\n",
"g=9.81\t\t#Gravity in m/sec**2\n",
"d=13.6*10**3\t#Density of Hg in kg/m**3\n",
@@ -1030,8 +987,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"dw=1000\t\t#Density of water in kg/m**3\n",
"dh=13590\t\t#Density of Hg in kg/m**3\n",
"Pa=400\t\t#Pressure at A in kPa\n",
@@ -1075,8 +1030,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"do=0.902*10**3\t#Density of oil in kg/m**3\n",
"Pg=2*10**5\t #Gauge pressure in N/m**2\n",
"g=9.81\t\t #Gravity in m/sec**2\n",
@@ -1117,9 +1070,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- " \n",
"\n",
- "#Input data\n",
"m=21\t\t#Mass of piston in kg\n",
"P1=600\t\t#Pressure in the pipe 1 in kPa\n",
"P2=170\t\t#Pressure in the pipe 2 in kPa\n",
@@ -1163,8 +1114,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"P1=0.755\t\t#Barometric reading at the bottom of the building in m\n",
"P2=0.73\t\t#Barometric reading at the top of the building in m\n",
"da=1.18\t\t#Density of air in kg/m**3\n",
@@ -1203,7 +1152,6 @@
"collapsed": false,
"input": [
"\n",
- "#Given\n",
"PA=200\t\t#Gauge pressure reading for A in kPa\n",
"PB=120\t\t#Gauge pressure reading for B in kPa\n",
"hb=750\t\t#Barometer reading in mm of Hg\n",
@@ -1246,8 +1194,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"C1=40\t\t #Temperature 1 in degree centigrade\n",
"C2=-20\t\t#Temperature 2 in degree centigrade \n",
"\n",
@@ -1317,8 +1263,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"P1=1.5\t\t#Thermometric properties at ice point\n",
"P2=7.5\t\t#Thermometric properties at steam point\n",
"P3=3.5\t\t#Thermometric property\n",
@@ -1361,7 +1305,6 @@
"collapsed": false,
"input": [
"\n",
- "#Input data\n",
"T1=100\n",
"T2=300 #Temperature of ice and steam point in the scale\n",
"P1=1.86\t\t #Values of thermometric properties at ice point nad steam point respectively\n",
@@ -1406,8 +1349,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"p1=32.0\t\t #Pressure in mm of Hg at triple point of water\n",
"p2=76.0\t\t #Pressure in mm of Hg above atmospheric pressure\n",
"p3=752.0\t\t#Barometric pressure in mm of Hg\n",
@@ -1448,7 +1389,6 @@
"collapsed": false,
"input": [
"\n",
- "#Input data\n",
"T1=32\t\t#Temperatures of ice point and steam point respectively\n",
"T2=212\n",
"P1=1.86\t\t #P values at ice point and steam point respectively\n",
diff --git a/Basic_Mechanical_Engineering/bme2.ipynb b/Basic_Mechanical_Engineering/bme2.ipynb
index d16be4dc..07d17afc 100644
--- a/Basic_Mechanical_Engineering/bme2.ipynb
+++ b/Basic_Mechanical_Engineering/bme2.ipynb
@@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
- "signature": "sha256:eb480946d569a90f950fa22c2b37d79f68cd522d201043a9e36d8370900550dc"
+ "signature": "sha256:be9b81ec82ea0e8e81e59b4d7c97d91bf099bd45d69eea5f3a2ed8e0bbebe433"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -29,8 +29,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"h1=60\t\t#The heat transfer in the process in kJ\n",
"h2=-8\t\t#The heat transfer in the process in kJ\n",
"h3=-34\t\t#The heat transfer in the process in kJ\n",
@@ -68,8 +66,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"Q=-300\t\t#Heat transfer in the system consisting of the gas in kJ\n",
"u=0\t\t#Internal energy is constant\n",
"\n",
@@ -142,8 +138,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"h1=35\t\t#Enthalpy of water entering the boiler in kJ/kg\n",
"h2=705\t\t#Enthalpy of steam leaving the boiler in kJ/kg\n",
"C=0\t\t#Change in kinetic energy is neglected\n",
@@ -181,8 +175,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"Q=-170\t\t#Sum of all heat transfers per cycle in kJ\n",
"N=100\t\t#Total number of cycles per min in cycles/min\n",
"Q1=0\t\t#Heat developed in a-b process in kJ/min\n",
@@ -244,8 +236,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"Q1=50\t\t#Heat developed in the 1-2 process in kJ/kg\n",
"U1=20\t\t#Change in energy in the 1-2 process in kJ/kg\n",
"Q2=-30\t\t#Heat developed in the 2-3 process in kJ/kg\n",
@@ -302,8 +292,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"m=3.0\t\t#Mass of substance in the system in kg\n",
"P1=500.0\t\t#Initial pressure of the system in kPa\n",
"P2=100.0\t\t#Final pressure of the system in kPa\n",
@@ -398,8 +386,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"p1=170\t\t#Initial pressure of the fluid in kPa\n",
"p2=400\t\t#Final pressure of the fluid in kPa\n",
"v1=0.03\t\t#Initial volume in m**3\n",
@@ -446,8 +432,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"E1=4000\t\t#Enthalpy at entrance in kJ/Kg\n",
"E2=4100\t\t#Enthalpy at exit in kJ/kg\n",
"V1=50\t\t#Velocity at entrance in m/s\n",
@@ -488,8 +472,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"W=135\t\t#Work done by the system in kJ/kg\n",
"V1=0.37\t\t#Specific volume of fluid at inlet in m**3/kg\n",
"V2=0.62\t\t#Specific volume of fluid at outlet in m**3/kg\n",
@@ -534,8 +516,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"m=5\t\t#Rate of fluid flow in the system in kg/s\n",
"P1=620\t\t#Pressure at the entrance in kPa\n",
"P2=130\t\t#Pressure at the exit in kPa\n",
@@ -584,8 +564,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input Data\n",
"P1=100\t\t#Pressure at Inlet in kPa\n",
"P2=500\t\t#Pressure at Exit in kPa\n",
"V1=0.6\t\t#Specific volume at Inlet in m**3/kg\n",
@@ -631,7 +609,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Input data\n",
+ "\n",
"m1=5000\t\t#Steam flow rate in kg/hr\n",
"Q1=-250\t\t#Heat loss from the turbine insulation to surroundings in kj/min\n",
"C1=40\t \t#Velocity of steam at entrance in m/s\n",
@@ -674,9 +652,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- " \n",
"\n",
- "#Input data \n",
"c1=16\t\t#Velocity of steam at entrance in m/s\n",
"c2=37\t\t#Velocity of steam at exit in m/s\n",
"h1=2990\t\t#Specific enthalpy of steam at entrance in kJ/kg\n",
@@ -720,7 +696,6 @@
"collapsed": false,
"input": [
"\n",
- "#Input data\n",
"p1=720\t\t#Pressure at the entrance in kPa\n",
"t1=850\t\t#Temperature at the entrance in degree centigrade \n",
"c1=160\t\t#Velocity of the gas at entrance in m/s\n",
@@ -763,8 +738,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"p=5000\t\t#Power output of an adiabatic steam turbine in kW\n",
"p1=2000\t\t#Pressure at the inlet in kPa\n",
"p2=0.15\t\t#Pressure at the exit in bar\n",
@@ -815,8 +788,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input Data\n",
"p1=1000.0\t\t#Pressure at the inlet in kPa\n",
"t1=750.0\t\t#Temperature at the inlet in K\n",
"c1=200.0\t\t#Velocity at the inlet in m/s\n",
@@ -866,8 +837,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "#Input data\n",
"c1=7\t\t #Velocity of air at entrance in m/s\n",
"c2=5\t\t #Velocity of air at exit in m/s\n",
"p1=100\t\t #Pressure at the entrance in kPa\n",
@@ -915,9 +884,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\n",
- "\n",
- "#Input data\n",
"h1=3000\t\t#Enthalpy of the fluid passing at inlet in kJ/kg\n",
"h2=2757\t\t#Enthalpy of the fluid at the discharge in kJ/kg\n",
"c1=60\t\t#Velocity of the fluid at inlet in m/s\n",
@@ -966,7 +932,6 @@
"collapsed": false,
"input": [
"\n",
- "#Input data\n",
"h1=3000\t\t#Specific enthalpy of steam at inlet in kJ/kg\n",
"h2=2762\t\t#Specific enthalpy of steam at the outlet in kJ/kg\n",
"v1=0.187\t\t#Specific volume of steam at inlet in m**3/kg\n",