summaryrefslogtreecommitdiff
path: root/Hydraulics
diff options
context:
space:
mode:
authordebashisdeb2014-06-20 15:42:42 +0530
committerdebashisdeb2014-06-20 15:42:42 +0530
commit83c1bfceb1b681b4bb7253b47491be2d8b2014a1 (patch)
treef54eab21dd3d725d64a495fcd47c00d37abed004 /Hydraulics
parenta78126bbe4443e9526a64df9d8245c4af8843044 (diff)
downloadPython-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.tar.gz
Python-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.tar.bz2
Python-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.zip
removing problem statements
Diffstat (limited to 'Hydraulics')
-rw-r--r--Hydraulics/Chapter_1.ipynb57
-rw-r--r--Hydraulics/Chapter_2.ipynb17
-rw-r--r--Hydraulics/Chapter_3.ipynb41
-rw-r--r--Hydraulics/Chapter_4.ipynb34
-rw-r--r--Hydraulics/Chapter_5.ipynb56
-rw-r--r--Hydraulics/Chapter_6.ipynb45
6 files changed, 91 insertions, 159 deletions
diff --git a/Hydraulics/Chapter_1.ipynb b/Hydraulics/Chapter_1.ipynb
index 558e6301..afe45972 100644
--- a/Hydraulics/Chapter_1.ipynb
+++ b/Hydraulics/Chapter_1.ipynb
@@ -1,6 +1,7 @@
{
"metadata": {
- "name": ""
+ "name": "",
+ "signature": "sha256:64f6f7af2b4765d579e2e197e51bf5b0d4a46d9e2613b339c736b1f3c01726e3"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -27,7 +28,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find pressure of water\n",
"\n",
"#initialisation of variables\n",
"h1 = 2 \t\t\t#in\n",
@@ -68,11 +68,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "find\n",
- "pressure difference in ft of water\n",
- "reading of mercury\n",
- "'''\n",
+ "\n",
"\n",
"#initialisation of variables\n",
"a = 6 \t\t\t#ft\n",
@@ -115,7 +111,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# FIND THE INTENSITY OF PRESSURE IN TERMS OF FT OF WATER AT POINTS A,B,C and D\n",
"\n",
"#initialisation of variables\n",
"sm = 13.6\n",
@@ -165,7 +160,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find Reading of the pressure guage at the top of tank\n",
"\n",
"#initialisation of variables\n",
"lm = 2 \t\t\t#ft\n",
@@ -209,7 +203,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the pressure in lb/sq. in\n",
+ "\n",
"\n",
"#initialisation of variables\n",
"h = 42 \t\t\t#in\n",
@@ -244,7 +238,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the pressure exerted by a vertical column\n",
+ "\n",
"\n",
"#initialisation of variables\n",
"h = 200 \t\t\t#ft\n",
@@ -279,7 +273,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find Total pressure\n",
+ "\n",
"\n",
"#initialisation of variables\n",
"w = 62.4 \t\t\t#lbs/ft**3\n",
@@ -316,7 +310,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find Total pressure\n",
+ "\n",
"\n",
"import math \n",
"\n",
@@ -360,7 +354,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find total pressure\n",
+ "\n",
"\n",
"#initialisation of variables\n",
"l = 2. \t\t\t#ft\n",
@@ -399,12 +393,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "find\n",
- "Total pressure\n",
- "Depth\n",
- "pressure in ft\n",
- "'''\n",
+ "\n",
"#initialisation of variables\n",
"l = 6. \t\t\t#ft\n",
"b = 4. \t\t\t#ft\n",
@@ -449,11 +438,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "find\n",
- "force exerted by the oil \n",
- "position of centre of pressure\n",
- "'''\n",
+ "\n",
"\n",
"import math \n",
"\n",
@@ -502,7 +487,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find level of water\n",
"\n",
"#initialisation of variables\n",
"import math \n",
@@ -546,7 +530,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find Total comression in the promp CD\n",
+ "\n",
"\n",
"import math \n",
"\n",
@@ -591,11 +575,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "find\n",
- "depth of centre of pressure\n",
- "force F required to act horizontally at the top of gate\n",
- "'''\n",
+ "\n",
"\n",
"import math \n",
"\n",
@@ -654,7 +634,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find magnitude and position of the resultant water pressure.\n",
+ "\n",
"import math \n",
"\n",
"#initialisation of variables\n",
@@ -710,12 +690,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "find\n",
- "a) the resultant thrust on the base per ft length of dam\n",
- "b) distribution of normal stress on base,\n",
- "c) normal stress on the vertical plane at the base\n",
- "'''\n",
+ "\n",
"\n",
"#initialisation of variables\n",
"import math \n",
@@ -774,7 +749,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find Volume of concrete\n",
+ "\n",
"\n",
"#initialisation of variables\n",
"W = 145. \t\t\t#lb/cu ft\n",
@@ -813,7 +788,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find Depth necessary to just float the ship in river\n",
+ "\n",
"\n",
"#initialisation of variables\n",
"W = 10000. \t\t\t#tons\n",
diff --git a/Hydraulics/Chapter_2.ipynb b/Hydraulics/Chapter_2.ipynb
index 66db0d7d..8353a544 100644
--- a/Hydraulics/Chapter_2.ipynb
+++ b/Hydraulics/Chapter_2.ipynb
@@ -1,6 +1,7 @@
{
"metadata": {
- "name": ""
+ "name": "",
+ "signature": "sha256:e77c0ecf71b6b19d4b74c1b5653eedac5bf7ec259a0d03cbae3bef3229b3cdac"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -27,7 +28,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the discharge in gal per min and also average velocities at the two sections\n",
"\n",
"#initialisation of variables\n",
"\n",
@@ -76,7 +76,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the pressure\n",
"\n",
"#initialisation of variables\n",
"import math \n",
@@ -122,7 +121,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the discharge in gpm.\n",
+ "\n",
"\n",
"#initialisation of variables\n",
"import math \n",
@@ -169,7 +168,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the water pressure\n",
+ "\n",
"\n",
"#initialisation of variables\n",
"\n",
@@ -216,7 +215,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# calculate the flow of water in gallons per hour.\n",
+ "\n",
"\n",
"#initialisation of variables\n",
"\n",
@@ -264,7 +263,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find rate of flow\n",
+ "\n",
"\n",
"#initialisation of variables\n",
"import math \n",
@@ -310,7 +309,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the speed of the submarine\n",
+ "\n",
"\n",
"#initialisation of variables\n",
"\n",
@@ -349,7 +348,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the volume of air flowing \n",
+ "\n",
"\n",
"#initialisation of variables\n",
"\n",
diff --git a/Hydraulics/Chapter_3.ipynb b/Hydraulics/Chapter_3.ipynb
index 52d98bab..6b36939a 100644
--- a/Hydraulics/Chapter_3.ipynb
+++ b/Hydraulics/Chapter_3.ipynb
@@ -1,6 +1,7 @@
{
"metadata": {
- "name": ""
+ "name": "",
+ "signature": "sha256:97f449fad397b42ecb1501f787392dc6e0950fafed8997a70fb14e2a9c19a198"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -27,7 +28,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the hydraulic co-efficients.\n",
"\n",
"\n",
"#initialisation of variables\n",
@@ -81,7 +81,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determine coefficients of velocity and contraction and discharge of the jet.\n",
+ "\n",
"\n",
"import math \n",
"\n",
@@ -137,12 +137,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "find\n",
- "a) Head lost due to shock\n",
- "b) pressure in the larger part of pipe\n",
- "c) work done in forcing the water through the enlargement.\n",
- "'''\n",
+ "\n",
"\n",
"#initialisation of variables\n",
"\n",
@@ -192,12 +187,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "find\n",
- "a) discharge in cusecs\n",
- "b) co-efficient of discharge\n",
- "c) absolute pressure \n",
- "'''\n",
+ "\n",
"\n",
"#initialisation of variables\n",
"\n",
@@ -245,9 +235,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#find discharge per second\n",
"\n",
- "#initialisation of variables\n",
"\n",
"import math \n",
"H = 4. \t\t\t#ft\n",
@@ -284,7 +272,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the rate of discharge in gpm\n",
+ "\n",
"\n",
"import math \n",
"\n",
@@ -333,7 +321,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Find time required to lower the water level\n",
+ "\n",
"\n",
"import math \n",
"\n",
@@ -380,7 +368,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the time required to empty.\n",
+ "\n",
"import math \n",
"#initialisation of variables\n",
"D = 10. \t\t\t#ft\n",
@@ -421,7 +409,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find minutes will the mouthpiece empty the boiler\n",
+ "\n",
"\n",
"import math \n",
"\n",
@@ -461,7 +449,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the time of emptying the bath when co-efficient \n",
"\n",
"import math \n",
"\n",
@@ -504,7 +491,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find time required to reduce the difference of water levels\n",
+ "\n",
"import math \n",
"#initialisation of variables\n",
"H1 = 9. \t\t\t#ft\n",
@@ -544,7 +531,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Determine the size of a square orifice placed below the tail water level.\n",
+ "\n",
"\n",
"#initialisation of variables\n",
"import math \n",
@@ -584,7 +571,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find How much water will escape through the orifice d\n",
+ "\n",
"\n",
"#initialisation of variables\n",
"import math \n",
@@ -631,7 +618,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the discharge in cu\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -672,7 +659,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find appropriate discharge in cu ft/sec.\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
diff --git a/Hydraulics/Chapter_4.ipynb b/Hydraulics/Chapter_4.ipynb
index 9cf88603..60ede3c8 100644
--- a/Hydraulics/Chapter_4.ipynb
+++ b/Hydraulics/Chapter_4.ipynb
@@ -1,6 +1,7 @@
{
"metadata": {
- "name": ""
+ "name": "",
+ "signature": "sha256:7c51eb85c2f5974253c21c1966c99eb7233e433431ba178d1ba6aaccb3adc83a"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -27,7 +28,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the length of the weir\n",
+ "\n",
"import math\n",
"#initialisation of variables\n",
"p = 70. \t\t\t#per cent\n",
@@ -67,7 +68,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the theoretical horse power\n",
+ "\n",
"\n",
"import math \n",
"\n",
@@ -111,7 +112,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the discharge per second\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -166,7 +166,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find K and n\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -208,9 +207,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "find the rate of discharge\n",
- "'''\n",
+ "\n",
"import math \n",
"#initialisation of variables\n",
"g = 32.2 \t\t\t#ft/sec**2\n",
@@ -260,7 +257,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the length of the waste weir required.\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -301,7 +298,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the discharge of water \n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -344,7 +340,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the percentage error in estimating the discharge\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -384,7 +380,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find time required to lower the level of a reservoir of superficial area\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -424,7 +420,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find depth of water through this notch.\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -464,7 +459,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find in each case the percentage error \n",
+ "\n",
"import math \n",
"#initialisation of variables\n",
"V = 20. \t\t\t#litres\n",
@@ -511,7 +506,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Estimate the discharge in the channel in gallons per minute\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -555,7 +550,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determine the discharge \n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -599,7 +594,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find discharge over this weir in gallons per hour\n",
+ "\n",
"import math \n",
"#initialisation of variables\n",
"L = 6 \t\t\t#ft\n",
@@ -641,7 +636,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the height of an anicut \n",
+ "\n",
"import math \n",
"#initialisation of variables\n",
"W = 100 \t\t\t#ft\n",
@@ -685,7 +680,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find length\n",
+ "\n",
"import math \n",
"#initialisation of variables\n",
"x = 6. \t\t\t#in\n",
@@ -724,7 +719,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the number of siphons required\n",
"\n",
"import math \n",
"#initialisation of variables\n",
diff --git a/Hydraulics/Chapter_5.ipynb b/Hydraulics/Chapter_5.ipynb
index 7fdc90dc..a400585d 100644
--- a/Hydraulics/Chapter_5.ipynb
+++ b/Hydraulics/Chapter_5.ipynb
@@ -1,6 +1,7 @@
{
"metadata": {
- "name": ""
+ "name": "",
+ "signature": "sha256:fe74dcaff3035e39890b266fafcf015d3afee121cbb7baf09e89820b75888c5a"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -27,11 +28,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "find\n",
- "a) a channel having bottom width\n",
- "b) channel whose section is an arc of a circle\n",
- "'''\n",
+ "\n",
"import math\n",
"import numpy \n",
"#initialisation of variables\n",
@@ -75,7 +72,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the head lost\n",
"\n",
"import math \n",
"\n",
@@ -120,7 +116,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the pressure difference between two points\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -169,7 +165,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the discharge\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -209,7 +204,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the size of the supply main \n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -253,7 +248,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the critical velocities \n",
+ "\n",
"\n",
"import math \n",
"\n",
@@ -303,7 +298,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find pressure \n",
+ "\n",
"import math \n",
"#initialisation of variables\n",
"p = 0.91 \t\t\t#units\n",
@@ -351,7 +346,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the value of n\n",
+ "\n",
"from math import log10\n",
"#initialisation of variables\n",
"h = 1.5 # H\n",
@@ -391,7 +386,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the pressure \n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -445,7 +439,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find rate of flow \n",
+ "\n",
"import math \n",
"#initialisation of variables\n",
"d = 8. \t\t\t#in\n",
@@ -492,7 +486,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find discharge when the syphone is running full\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -538,7 +531,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the necessary height of water surface\n",
+ "\n",
"\n",
"import math \n",
"\n",
@@ -583,7 +576,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#find the diameter of uniform pipe \n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -623,7 +615,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Find the diameter of the parallel mains\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -659,7 +651,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the increase in discharge\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -704,11 +696,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "Find the velocity of flow in each pipe\n",
- "'''\n",
- "\n",
- "import math\n",
+ " import math\n",
"\n",
"# Variables\n",
"d1 = 2 # ft\n",
@@ -771,7 +759,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the time taken to lower the level of water\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -812,7 +800,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the time required to empty the overhead\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -866,7 +853,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the time taken \n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -909,7 +896,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find diameter of the pipe and efficiency of transmission.\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -955,7 +942,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the horse-powers of the jet.\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -1000,7 +987,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find volume of flow \n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -1043,7 +1030,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find maximum power transmitted by the jet\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -1087,7 +1074,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find height\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -1128,7 +1115,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find rise of pressure in the pipe\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -1170,7 +1156,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find economical diameter of pipe line\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
diff --git a/Hydraulics/Chapter_6.ipynb b/Hydraulics/Chapter_6.ipynb
index b60e19b9..2ab32b0e 100644
--- a/Hydraulics/Chapter_6.ipynb
+++ b/Hydraulics/Chapter_6.ipynb
@@ -1,6 +1,7 @@
{
"metadata": {
- "name": ""
+ "name": "",
+ "signature": "sha256:a578101ccbcde1509a97d02129920a3db28366bac3115a1e48214601165df384"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -27,7 +28,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the value of C and K\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -69,7 +70,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find value of C \n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -115,7 +115,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the discharge\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -160,7 +160,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find the discharge of a channel\n",
+ "\n",
"import math \n",
"#initialisation of variables\n",
"d = 3. \t\t\t#ft\n",
@@ -200,7 +200,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find diameter\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -245,7 +245,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find depth of water\n",
+ "\n",
"\n",
"import math \n",
"\n",
@@ -297,7 +297,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find height of dam\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -342,7 +342,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find depth, bottom width and top width\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -389,7 +389,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find depth, bottom width, and top width\n",
+ "\n",
"import math \n",
"#initialisation of variables\n",
"Q = 1100. \t\t\t#cuses\n",
@@ -432,7 +432,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find depth of channel\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -473,7 +473,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find discharge\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -514,7 +514,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find specific energy\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -561,7 +561,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find slope of free water\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -606,7 +605,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find height required\n",
"\n",
"import math \n",
"#Initialization of variables\n",
@@ -654,7 +652,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find loss in energy\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -699,7 +696,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find downstream depth \n",
+ "\n",
"import math \n",
"#initialisation of variables\n",
"d1 = 4. \t\t\t#ft\n",
@@ -735,7 +732,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find approximate length\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -785,7 +782,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find discharge through the venturi flume \n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -826,7 +823,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# find discharge and depth of flow at the throat\n",
+ "\n",
"\n",
"import math \n",
"#initialisation of variables\n",
@@ -870,13 +867,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "find\n",
- "a) discharge\n",
- "b) depth of water\n",
- "c) height of standing wave\n",
- "d) depth of water in channel\n",
- "'''\n",
+ "\n",
"import math \n",
"#initialisation of variables\n",
"h1 = 8. \t\t\t#ft\n",