diff options
author | debashisdeb | 2014-06-21 00:52:25 +0530 |
---|---|---|
committer | debashisdeb | 2014-06-21 00:52:25 +0530 |
commit | 7c756fcc12d21693818e58f6936cab5b7c112868 (patch) | |
tree | 009cb02ec85f4a75ac7b64239751f15361df2bfe /Practical_C_Programming | |
parent | 83c1bfceb1b681b4bb7253b47491be2d8b2014a1 (diff) | |
download | Python-Textbook-Companions-7c756fcc12d21693818e58f6936cab5b7c112868.tar.gz Python-Textbook-Companions-7c756fcc12d21693818e58f6936cab5b7c112868.tar.bz2 Python-Textbook-Companions-7c756fcc12d21693818e58f6936cab5b7c112868.zip |
Removed Problem Statements Completely
Diffstat (limited to 'Practical_C_Programming')
-rw-r--r-- | Practical_C_Programming/Chapter_10_1.ipynb | 15 | ||||
-rw-r--r-- | Practical_C_Programming/Chapter_11_1.ipynb | 6 | ||||
-rw-r--r-- | Practical_C_Programming/Chapter_2_3.ipynb | 32 | ||||
-rw-r--r-- | Practical_C_Programming/Chapter_3_4.ipynb | 4 | ||||
-rw-r--r-- | Practical_C_Programming/Chapter_7_4.ipynb | 3 | ||||
-rw-r--r-- | Practical_C_Programming/Chapter_9_4.ipynb | 7 |
6 files changed, 10 insertions, 57 deletions
diff --git a/Practical_C_Programming/Chapter_10_1.ipynb b/Practical_C_Programming/Chapter_10_1.ipynb index 56e12012..616dbfad 100644 --- a/Practical_C_Programming/Chapter_10_1.ipynb +++ b/Practical_C_Programming/Chapter_10_1.ipynb @@ -1,7 +1,7 @@ { "metadata": { "name": "", - "signature": "sha256:55a41a15f53fea81d9fb349d875475d12f3934656e4b83a8ff10ced1f1672515" + "signature": "sha256:e0192e34ad6ee5352df14e6445eee01302e3e7af1b8414d8a9190c3936e04b7a" }, "nbformat": 3, "nbformat_minor": 0, @@ -29,7 +29,6 @@ "collapsed": false, "input": [ "\n", - "# Variable declaration\n", "data = []\n", "twice = []\n", "\n", @@ -69,7 +68,6 @@ "input": [ "\n", "\n", - "# Variable declaration\n", "data = []\n", "twice = []\n", "\n", @@ -108,8 +106,6 @@ "collapsed": false, "input": [ "\n", - "\n", - "# Variable declaration\n", "BIG_NUMBER = 10 * 10\n", "index = 1\n", "\n", @@ -147,7 +143,6 @@ "input": [ "\n", "\n", - "# Variable declaration\n", "FIRST_PART = 7\n", "LAST_PART = 5\n", "ALL_PARTS = FIRST_PART + LAST_PART\n", @@ -182,7 +177,6 @@ "input": [ "\n", "\n", - "# Calculation and result\n", "for i in reversed (range(10)) :\n", " print ('Hi there')" ], @@ -221,7 +215,7 @@ "collapsed": false, "input": [ "\n", - "# Variable declaration\n", + "\n", "size = 10\n", "fudge = size - 2\n", "\n", @@ -255,7 +249,6 @@ "collapsed": false, "input": [ "\n", - "# Variable declaration\n", "import sys\n", "value = 1\n", "\n", @@ -291,8 +284,6 @@ "collapsed": false, "input": [ "\n", - "\n", - "# Function declaration, calculation and result\n", "def SQR (x) :\n", " return x * x\n", " \n", @@ -335,7 +326,6 @@ "input": [ "\n", "\n", - "# Variable declaration\n", "counter = 0\n", "\n", "# Function declaration, calculation and result\n", @@ -381,7 +371,6 @@ "collapsed": false, "input": [ "\n", - "# Function declaration, calculation and result\n", "def reciprocal (number) :\n", " return 1 / number\n", " \n", diff --git a/Practical_C_Programming/Chapter_11_1.ipynb b/Practical_C_Programming/Chapter_11_1.ipynb index 1dc24c59..348ea0f2 100644 --- a/Practical_C_Programming/Chapter_11_1.ipynb +++ b/Practical_C_Programming/Chapter_11_1.ipynb @@ -1,7 +1,7 @@ { "metadata": { "name": "", - "signature": "sha256:e68b678f99332c0d6ad607ce4c8f99007b9b612142be0ab04cb6c8b4b0cb5969" + "signature": "sha256:189fb021544012d2bd6866a28aeac9bea1998c8f59c87bf7f6fbc3d56515bb70" }, "nbformat": 3, "nbformat_minor": 0, @@ -29,7 +29,6 @@ "collapsed": false, "input": [ "\n", - "# Variable declaration\n", "i1 = 4\n", "i2 = 2\n", "\n", @@ -64,7 +63,6 @@ "collapsed": false, "input": [ "\n", - "# Variable declaration\n", "HIGH_SPEED = 1 << 7\n", "DIRECT_CONNECT = 1 << 8\n", "\n", @@ -108,8 +106,6 @@ "collapsed": false, "input": [ "\n", - "\n", - "# Variable declaration\n", "i = 0x80\n", "\n", "# Calculation and result\n", diff --git a/Practical_C_Programming/Chapter_2_3.ipynb b/Practical_C_Programming/Chapter_2_3.ipynb index 36e059c9..d166fe06 100644 --- a/Practical_C_Programming/Chapter_2_3.ipynb +++ b/Practical_C_Programming/Chapter_2_3.ipynb @@ -1,7 +1,7 @@ { "metadata": { "name": "", - "signature": "sha256:1bdbe534af4c41744d0b20620d61031047f924bf7d6e0c91a540c9ad26997cbe" + "signature": "sha256:69b330a048da570dabedd3e4e55c16ec334a711968bec2056bd27ef834d8f06e" }, "nbformat": 3, "nbformat_minor": 0, @@ -30,7 +30,7 @@ "input": [ "\n", "\n", - "\t# a-oxygen b-stagnant water\n", + "\n", "T = 310 \t\t\t\t\t# [K]\n", "\t# Since the solubility of oxygen in water at 310 K is extremely low, we are dealing with \tdilute solutions\n", "k_L = 3.3*10**-5 \t\t\t\t# [coefficient based on the oxygen concentration \t\t\t\t\t\tdifference in the water, m/s]\n", @@ -254,8 +254,6 @@ "input": [ "\n", "\n", - "#Variable declaration\n", - "\t# a-UF6 b-air\n", "M_a = 352 \t\t\t\t\t# [molecular weight of UF6, gram/mole]\n", "M_b = 29 \t\t\t\t\t# [gram/mole]\n", "d = 0.01 \t\t\t\t\t# [diameter, m]\n", @@ -485,8 +483,7 @@ "\n", "\n", "import math\n", - "#Variable declaration\n", - "\t# a-liquid benzene b-nitrogen\n", + "\n", "T = 300 \t\t\t\t\t\t# [K]\n", "l = 3 \t\t\t\t\t\t\t# [length of vertical plate, m]\n", "b = 1.5 \t\t\t\t\t\t# [width of vertical plate, m]\n", @@ -556,9 +553,6 @@ "collapsed": false, "input": [ "\n", - "\n", - "#Variable declaration\n", - "\t# a-water b-air\n", "dp1 = 10**-3 \t\t\t\t\t# [diameter of spherical drop of water, m]\n", "Tair = 323 \t\t\t\t\t# [K]\n", "P = 101.3 \t\t\t\t\t# [kPa]\n", @@ -672,11 +666,6 @@ "collapsed": false, "input": [ "\n", - "\n", - "#Variable declaratiopn\n", - "\n", - "\t# Example 2.6 using equation 2.73\n", - "\t# Values of the dimensionless parameters calculated in Example 2.6\n", "Re = 1223 \t\t\t\t# [Renoylds Number]\n", "Sc = 0.905 \t\t\t\t# [Schmidt Number]\n", "c = 0.039 \t\t\t\t# [molar density, kg/cubic m]\n", @@ -725,10 +714,6 @@ "collapsed": false, "input": [ "\n", - "\n", - "#Variable declaration\n", - "\n", - "# a-water b-air\n", "D = 25.4*10**-3 \t\t\t\t# [diameter of wetted wall tower, m]\n", "Gy = 10 \t\t\t\t\t# [mass velocity, kg/square m.s]\n", "T1 = 308 \t\t\t\t\t# [K]\n", @@ -811,10 +796,6 @@ "collapsed": false, "input": [ "\n", - "\n", - "\n", - "#Variable declaration\n", - "\t# a-water b-dry air\n", "D = 25.4*10**-3 \t\t\t# [Internal diameter of tower, m]\n", "Z = 1.5 \t\t\t\t# [length of the wetted section, m]\n", "Gy = 10 \t\t\t\t# [mass velocity of air, kg/square m.s]\n", @@ -880,8 +861,6 @@ "collapsed": false, "input": [ "\n", - "#Variable declaration\n", - "\t# a-water b-dry air\n", "Gy = 10.0 \t\t\t\t# [kg/square m.s]\n", "dp = 3.5*10**-3 \t\t\t# [diameter of spherical glass beads, m]\n", "D = 25.4*10**-3 \t\t\t# [Internal diameter of tower, m]\n", @@ -967,11 +946,6 @@ "collapsed": false, "input": [ "\n", - "\n", - "#Variable declaration\n", - "\t# a-oxygen b-water\n", - "\t# To design the deaerator, We will use commercially available microporous polypropylene \thollow fibers in a module\n", - "\n", "m = 40000.0 \t\t\t\t\t# [kg/hr]\n", "Twater = 298 \t\t\t\t\t# [K]\n", "v = 0.1 \t\t\t\t\t# [superficial velocity, m/s]\n", diff --git a/Practical_C_Programming/Chapter_3_4.ipynb b/Practical_C_Programming/Chapter_3_4.ipynb index 1a74741f..a8e0779c 100644 --- a/Practical_C_Programming/Chapter_3_4.ipynb +++ b/Practical_C_Programming/Chapter_3_4.ipynb @@ -1,7 +1,7 @@ { "metadata": { "name": "", - "signature": "sha256:0893bf0eb544a1587dd8191af7502dfb1634a7c77a30f208ad67851517e5431c" + "signature": "sha256:ebedd6f3bf7c0762de88b2ec9ed84eecba39a72a5c5924ff89534f9517007ca4" }, "nbformat": 3, "nbformat_minor": 0, @@ -30,7 +30,7 @@ "input": [ "\n", "\n", - "# Result\n", + "\n", "print ('Hello World')" ], "language": "python", diff --git a/Practical_C_Programming/Chapter_7_4.ipynb b/Practical_C_Programming/Chapter_7_4.ipynb index ad153ba6..620d440f 100644 --- a/Practical_C_Programming/Chapter_7_4.ipynb +++ b/Practical_C_Programming/Chapter_7_4.ipynb @@ -1,7 +1,7 @@ { "metadata": { "name": "", - "signature": "sha256:05d2b6828dd178069989841e00a87dd5090f48e199f3c803503e5017b744fb21" + "signature": "sha256:2555ca3a1b68efa7cc762303e679c4f4dbb6d27bc5633d2ac8b64fe540cb2399" }, "nbformat": 3, "nbformat_minor": 0, @@ -133,7 +133,6 @@ "collapsed": false, "input": [ "\n", - "# Variable declaration, calculation and result\n", "import sys\n", "import random\n", "while (1) :\n", diff --git a/Practical_C_Programming/Chapter_9_4.ipynb b/Practical_C_Programming/Chapter_9_4.ipynb index 8d18a77b..39cb7cdd 100644 --- a/Practical_C_Programming/Chapter_9_4.ipynb +++ b/Practical_C_Programming/Chapter_9_4.ipynb @@ -1,7 +1,7 @@ { "metadata": { "name": "", - "signature": "sha256:312f9e5b3211fd50ff3dd7c27b81824ed2a8d6172aff8fb27752ffb6ee205caa" + "signature": "sha256:9022b72f2fc24432e92fa44cdfeb3da1fa5525a0485bb76b898e97e55f78a4d8" }, "nbformat": 3, "nbformat_minor": 0, @@ -29,7 +29,6 @@ "collapsed": false, "input": [ "\n", - "# Function declaration, calculation and result\n", "def func() :\n", " if not hasattr(func, \"permanent\") :\n", " func.permanent = 1\n", @@ -70,8 +69,6 @@ "collapsed": false, "input": [ "\n", - "\n", - "# Function declaration, calculation and result\n", "def triangle (width, height) :\n", " area = width * height / 2.0\n", " return area\n", @@ -108,7 +105,6 @@ "collapsed": false, "input": [ "\n", - "# Function declaration, calculation and result\n", "def length (string) :\n", " return len(string)\n", "\n", @@ -143,7 +139,6 @@ "input": [ "\n", "\n", - "# Function declaration, calculation and result\n", "def length (string) :\n", " return len(string)\n", "\n", |