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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Chapter 6: soil compaction"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.2: solved.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc\n",
"//initialisation of variables\n",
"G= 2.6\n",
"LL= 20\n",
"P= 20\n",
"//calclations\n",
"R= (4804574*G-195.55*(LL)^2+156971*(P)^0.5-9527830)^0.5\n",
"n= (1.195e-4)*((LL)^2)-1.964*G-(6.617e-5)*(P)+7.651\n",
"w= %e^n\n",
"//results\n",
"printf ('maximum dry density = % f kg/m^3 ',R)\n",
"printf ('optimum moisture content = % 2f ',w)\n",
""
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.3: solved.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc\n",
"//initialisation of variables\n",
"do= 1570 //kg/m^3\n",
"mo= 0.545 //kg\n",
"M1= 7.59 //kg\n",
"M2= 4.78 //kg\n",
"M3= 3.007 //kg\n",
"w= 0.102 //\n",
"dmax= 19 //KN/m^3\n",
"//calculations\n",
"Ms= M1-M2\n",
"Mc= Ms-mo\n",
"Vh= Mc/do\n",
"Dc= M3/Vh\n",
"Du= Dc*9.81/1000\n",
"f= Du/(1+w)\n",
"Rc= f*100/dmax\n",
"//results\n",
"printf ('dry unit weight of compaction in the field = % 2f kN/m^3 ',f)\n",
"printf ('relative compaction in the field = % f ',Rc)"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.4: solved.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc\n",
"//initialisation of variables\n",
"D1= 0.36 //mm\n",
"D2= 0.52 //mm\n",
"D5= 1.42 //mm\n",
"//calculations\n",
"Sn= 1.7*(sqrt((3/(D5)^2)+(1/(D2)^2)+(1/(D1)^2)))\n",
"//results\n",
"printf ('sustainabilty number = % f ',Sn)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Scilab",
"language": "scilab",
"name": "scilab"
},
"language_info": {
"file_extension": ".sce",
"help_links": [
{
"text": "MetaKernel Magics",
"url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md"
}
],
"mimetype": "text/x-octave",
"name": "scilab",
"version": "0.7.1"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
|