1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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": {}
}
]
}
|