diff options
author | hardythe1 | 2015-04-07 15:58:05 +0530 |
---|---|---|
committer | hardythe1 | 2015-04-07 15:58:05 +0530 |
commit | 92cca121f959c6616e3da431c1e2d23c4fa5e886 (patch) | |
tree | 205e68d0ce598ac5caca7de839a2934d746cce86 /Principles_Of_Geotechnical_Engineering/Chapter4.ipynb | |
parent | b14c13fcc6bb6d01c468805d612acb353ec168ac (diff) | |
download | Python-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/Chapter4.ipynb')
-rwxr-xr-x | Principles_Of_Geotechnical_Engineering/Chapter4.ipynb | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/Principles_Of_Geotechnical_Engineering/Chapter4.ipynb b/Principles_Of_Geotechnical_Engineering/Chapter4.ipynb new file mode 100755 index 00000000..899bd2de --- /dev/null +++ b/Principles_Of_Geotechnical_Engineering/Chapter4.ipynb @@ -0,0 +1,61 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:ec42a40195fbc1251bf05efd578442adffe962bc7bf4cd047dc1251517110ed5"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter4-Plasticity and Structure of soil"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex1-pg83"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#calculate shrinkage limit of the soil \n",
+ "##initialisation of variables\n",
+ "V1= 24.6 ##cm^3\n",
+ "V2= 15.9 ##cm^3\n",
+ "M1= 44 ##g\n",
+ "M2= 30.1 ##g\n",
+ "W= 1 ##g/cm^3\n",
+ "##calculations\n",
+ "SL= (((M1-M2)/M2)*100)-(((V1-V2)/M2)*W*100.)\n",
+ "##results\n",
+ "print'%s %.1f %s'%('shrinkage limit of the soil = ',SL,' ')\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "shrinkage limit of the soil = 17.3 \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file |