summaryrefslogtreecommitdiff
path: root/Principles_Of_Geotechnical_Engineering/Chapter2.ipynb
diff options
context:
space:
mode:
authorhardythe12015-04-07 15:58:05 +0530
committerhardythe12015-04-07 15:58:05 +0530
commit92cca121f959c6616e3da431c1e2d23c4fa5e886 (patch)
tree205e68d0ce598ac5caca7de839a2934d746cce86 /Principles_Of_Geotechnical_Engineering/Chapter2.ipynb
parentb14c13fcc6bb6d01c468805d612acb353ec168ac (diff)
downloadPython-Textbook-Companions-92cca121f959c6616e3da431c1e2d23c4fa5e886.tar.gz
Python-Textbook-Companions-92cca121f959c6616e3da431c1e2d23c4fa5e886.tar.bz2
Python-Textbook-Companions-92cca121f959c6616e3da431c1e2d23c4fa5e886.zip
added books
Diffstat (limited to 'Principles_Of_Geotechnical_Engineering/Chapter2.ipynb')
-rwxr-xr-xPrinciples_Of_Geotechnical_Engineering/Chapter2.ipynb62
1 files changed, 62 insertions, 0 deletions
diff --git a/Principles_Of_Geotechnical_Engineering/Chapter2.ipynb b/Principles_Of_Geotechnical_Engineering/Chapter2.ipynb
new file mode 100755
index 00000000..d6a4aa22
--- /dev/null
+++ b/Principles_Of_Geotechnical_Engineering/Chapter2.ipynb
@@ -0,0 +1,62 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:d218f94a8c632b085e71b27c7df143c1bf3edcfb5f6cf33f03429d4e281c4928"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter2-Origin of sail and Grain size"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg45"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#calculate uniformity coefficient and coefficient of gradation\n",
+ "##initialisation of variables\n",
+ "##from graph\n",
+ "d= 0.15 ##mm\n",
+ "w= 0.17 ##mm\n",
+ "a= 0.27 ##mm\n",
+ "##calculations\n",
+ "C= a/d\n",
+ "c= w**2/(a*d)\n",
+ "##results\n",
+ "print'%s %.1f %s'%('uniformity coefficient = ',C,\"\")\n",
+ "print'%s %.2f %s'% ('coefficient of gradation = ',c,' ')\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "uniformity coefficient = 1.8 \n",
+ "coefficient of gradation = 0.71 \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file