summaryrefslogtreecommitdiff
path: root/Principles_Of_Geotechnical_Engineering_by_B._M._Das/Chapter15.ipynb
blob: 04d58e71a80e579e8d2f305319056b83e5551437 (plain)
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
{
 "metadata": {
  "name": "",
  "signature": "sha256:4c2cef1cd7673363b2ef6cb15cb908c88921a9f728253dd7a799bca223f736c1"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter15-Slope Stability"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex1-pg518"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#a.The factor of safety against sliding along the soil-rock interface.\n",
      "#b.The height,H, that will give a factor of safety (Fs) of 2 against sliding alongthe soil-rock interface.\n",
      "Gs=17.8\n",
      "Gw=9.81\n",
      "C=10.\n",
      "c=20.\n",
      "b=15.\n",
      "H=6.\n",
      "G=Gs-Gw\n",
      "Fs= C/(Gs*H*math.cos(b/57.3)*math.cos(b/57.3)*math.tan(b/57.3))+G*math.tan(c/57.3)/(Gs*math.tan(b/57.3))\n",
      "print'%s %.2f %s'%('a)The factor of safety = ',Fs,' ')\n",
      "Fs=2.\n",
      "H=2.247/(Fs-0.61)\n",
      "print'%s %.2f %s'%(' b)H= ',H,' m')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "a)The factor of safety =  0.98  \n",
        " b)H=  1.62  m\n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex3-pg529"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#a.Determine the maximum depth up to which the excavation can be carried out.\n",
      "#b.Find the radius,r, of the critical circle when the factor of safety is equal to 1(Part a).\n",
      "#c. Find the distance  . BC\n",
      "Cu=40.\n",
      "G=17.5\n",
      "b=60.\n",
      "a=35.\n",
      "c=72.5\n",
      "m=0.195\n",
      "Hc=Cu/(G*m)\n",
      "r=Hc/(2.*math.sin(a/57.3)*math.sin((c/2)/57.3))\n",
      "BC=Hc*((1./math.tan(a/57.3))-(1./math.tan(b/57.3)))\n",
      "print'%s %.1f %s'%('a)The maximum depth Hc = ',Hc,' m')\n",
      "print'%s %.2f %s'%(' b)The radius, r = ',r,' m')\n",
      "print'%s %.3f %s'%(' c)The distance BC.= ',BC,' m')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "a)The maximum depth Hc =  11.7  m\n",
        " b)The radius, r =  17.28  m\n",
        " c)The distance BC.=  9.973  m\n"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex4-pg531"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#a.Determine the undrained cohesion of the clay (Figure 15.13).\n",
      "#b.What was the nature of the critical circle?\n",
      "#c. With reference to the toe of the slope, at what distance did the surface of sliding intersect the bottom of the excavation?\n",
      "Gs=17.29\n",
      "d=9.15\n",
      "d1=6.1\n",
      "D=d/d1\n",
      "a=40.\n",
      "m=0.175\n",
      "b=40.\n",
      "H=6.1\n",
      "Cu=H*Gs*m\n",
      "print'%s %.1f %s'%('a)The undrained cohesion of the clay Cu = ',Cu,' kN/m^2')\n",
      "print(' b)The nature of the critical circle is midpointcircle')\n",
      "d=1.5\n",
      "b=40.\n",
      "n=0.9\n",
      "D1=n*H\n",
      "print'%s %.1f %s'%(' c)Distance = ',D1,' m')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "a)The undrained cohesion of the clay Cu =  18.5  kN/m^2\n",
        " b)The nature of the critical circle is midpointcircle\n",
        " c)Distance =  5.5  m\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex5-pg534"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#a.Determine the maximum depth up to which the cut could be made.\n",
      "#b.How deep should the cut be made if a factor of safety of 2 against sliding is required\n",
      "Fs=1.\n",
      "b=56.\n",
      "Kh=0.25\n",
      "M=3.66\n",
      "Cu=500.\n",
      "G=100.\n",
      "Hc=Cu*M/G\n",
      "print'%s %.1f %s'%('a)The maximum depth =',Hc,' ft')\n",
      "Fs=2.\n",
      "H=Cu*M/(G*Fs)\n",
      "print'%s %.1f %s'%(' b)H= ',H,' ft')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "a)The maximum depth = 18.3  ft\n",
        " b)H=  9.2  ft\n"
       ]
      }
     ],
     "prompt_number": 5
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex6-pg541"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#a.Find the critical height of the slope.\n",
      "#b.If the height of the slope is 10 m, determine the factor of safety with respect to strength.\n",
      "b=45.\n",
      "c=20.\n",
      "C=24.\n",
      "G=18.9\n",
      "m=0.06\n",
      "Hc=C/(G*m)\n",
      "Cd=G*Hc*m\n",
      "Fc=C/Cd\n",
      "print'%s %.1f %s'%('a)Critical height of slope = ',Hc,'')\n",
      "#calculate the factor of safety using spencers solution\n",
      "import math\n",
      "%matplotlib inline\n",
      "import warnings\n",
      "warnings.filterwarnings('ignore')\n",
      "import numpy\n",
      "from math import tan\n",
      "import matplotlib\n",
      "from matplotlib import pyplot\n",
      "phid=numpy.array([20,15,10,5])*math.pi/180.\n",
      "mx=numpy.array([.06,.083,.105,.136])\n",
      "cdx=numpy.array([11.34,15.69,19.85,25.7])\n",
      "m=.06\n",
      "g=18.9\n",
      "cd=24.\n",
      "#calculations\n",
      "Hcr=cd/g/m\n",
      "leng=len(phid)\n",
      "Fcd=numpy.zeros(leng)\n",
      "Fphi=numpy.zeros(leng)\n",
      "tanphid=numpy.zeros(leng)\n",
      "for i in range(0,leng):\n",
      "\ttanphid[i]=math.tan(phid[i])\n",
      "\tFphi[i]= tan(phid[0])/tan(phid[i])\n",
      "\tFcd[i]=cd/cdx[i]\n",
      "\n",
      "\n",
      "#results\n",
      "print'%s %.2f %s'%('The value of Hcr (in m) = ',Hcr,'')\n",
      "print 'from graph, Fss=1.4'\n",
      "pyplot.plot(Fcd,Fphi)\n",
      "pyplot.xlabel('Fc assumed')\n",
      "pyplot.ylabel('Fc calculated')\n",
      "pyplot.title('Graph of Fc assumed vs Fc calculated')\n",
      "pyplot.show()\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "a)Critical height of slope =  21.2 \n",
        "The value of Hcr (in m) =  21.16 \n",
        "from graph, Fss=1.4\n"
       ]
      },
      {
       "metadata": {},
       "output_type": "display_data",
       "png": "iVBORw0KGgoAAAANSUhEUgAAAYYAAAEZCAYAAACTsIJzAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xm8lHXd//HXm01AXHBJU3EFBVwQTVSSm6O2SUrdmWlp\n6l2pueeSJWmipubPSlNLzSW1O7VS71wyM6tjlkaZgOwKLmApauCC4AJ8fn98rwNzhjnnzFnmXDPn\nvJ+PxzzOtc11feY6M/OZ73J9L0UEZmZmDXrkHYCZmVUXJwYzM2vEicHMzBpxYjAzs0acGMzMrBEn\nBjMza8SJoRuSNFHSzzpoX5tI+rOkNyVd1hH77Mok1UlakHccldJR7y1JKyVt2xExlXGseklf7oxj\n1Qonhiog6TBJkyQtkbRQ0t8kHV/BQ3bkxSvHAq9ExLoR8fXilZJulvSupLcKHod04PGtSM7nvFMv\njJK0dZZE2vNdFnRy3NXOiSFnks4ArgAuBTaJiE2ArwIfltSniee09/+mdj6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/wrcIumXpEHIAB4HviVpC+Du\niJibjT9TrHBhw6B904HpDQOwSXqWlLTGkJLME9m++gIvk25gVZ+NqoqkXwDbt3gWzNrBJQbrLlq6\nB8PNwAkRsQtwPtAPICKOB84hDbn8T0kbRMTtpNLDMuCBbIz75TT+PPWj8S/7d7O/KwumG+YbfqDd\nEhEjs8ewiLigDa/DrN2cGKw7+D1wnKSeAJIGlthmAPByNq79EQ0LJW0XEX+PiPNItwXdQtI2wPMR\ncRWpWmhn0q/7D0jaQNJawIGtiC+APwCflbRxdtwNsh5Vk4Cx2Xxv4JDWvXSz1nNisK6mVP37DcB8\n0rDEU4DPl9jmXNKX8F9IbQwN+/l/kp7KGpb/GhFPkdoCpmVDHO8I3Jrdw/gC4O/AQzR9v4TCtofV\nCyNmkUomD2XDUz8EbBoRL5PaGB7PYpvRxGs06zAedtvMzBpxicHMzBpxYjAzs0acGMzMrBEnBjMz\na8SJwczMGnFiMDOzRpwYzMysEScGMzNr5P8DAZc/1V8RUsUAAAAASUVORK5CYII=\n",
       "text": [
        "<matplotlib.figure.Figure at 0x2d2ff30>"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex7-pg544"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "# using Michalowski\u2019s solution.\n",
      "import math\n",
      "FSs=1.\n",
      "c=20.\n",
      "G=18.9\n",
      "C=24.\n",
      "Hcr=C/(G*math.tan(c/57.3)*0.17)\n",
      "print'%s %.1f %s'%('a)Critical height Hc = ',Hcr,' m')\n",
      "H=10.\n",
      "k=C/(G*H*math.tan(c/57.3))\n",
      "Fs=4.*math.tan(c/57.3)\n",
      "print'%s %.1f %s'%(' b)Fs = ',Fs,'')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "a)Critical height Hc =  20.5  m\n",
        " b)Fs =  1.5 \n"
       ]
      }
     ],
     "prompt_number": 7
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex8-pg560"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "# Determine the factor ofsafety,Fs . Use Table 15.3.\n",
      "W=22.4\n",
      "C=20.\n",
      "a=70.\n",
      "s=math.sin(a/57.3)\n",
      "c=math.cos(a/57.3)\n",
      "l=2.924\n",
      "Wn=W*s\n",
      "Wn1=W*c\n",
      "##doing this to all values\n",
      "F1=30.501\n",
      "F2=776.75\n",
      "F3=1638.\n",
      "Fs=(F1*C+F3*math.tan(C/57.3))/F2\n",
      "print'%s %.2f %s'%('Fs = ',Fs,'')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Fs =  1.55 \n"
       ]
      }
     ],
     "prompt_number": 8
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex9-pg560"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#using Michalowski\u2019s solution\n",
      "C=20.\n",
      "G=18.5\n",
      "r=0.25\n",
      "H=21.62\n",
      "C=25.\n",
      "b= math.atan(0.5)\n",
      "##from table 15.3 \n",
      "m=1.624\n",
      "n=1.338\n",
      "Fs=m-n*r\n",
      "print'%s %.1f %s'%(' The value of Fs for D= 1 is',Fs,'')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        " The value of Fs for D= 1 is 1.3 \n"
       ]
      }
     ],
     "prompt_number": 9
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex10-pg561"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate the factor of safety using spencers solution\n",
      "import math\n",
      "%matplotlib inline\n",
      "import warnings\n",
      "warnings.filterwarnings('ignore')\n",
      "import numpy\n",
      "from math import tan\n",
      "import matplotlib\n",
      "from matplotlib import pyplot\n",
      "beta=numpy.array([26.57,26.57,26.57,26.57])\n",
      "Fs=numpy.array([1.1,1.2,1.3,1.4])\n",
      "phid=25*math.pi/180. #degrees\n",
      "#calculations\n",
      "print 'From spencers graphs,'\n",
      "cd=numpy.array([0.0455,0.0417,0.0385,0.0357])\n",
      "phia=numpy.array([18.,19.,20.,21.])*math.pi/180.\n",
      "leng=len(phia)\n",
      "Fss=numpy.zeros(leng)\n",
      "for i in range(0,leng):\n",
      "\tFss[i]= tan(phid)/tan(phia[i])\n",
      "\n",
      "#results\n",
      "print 'From graph, a footing of dimensions Fs=1.3'\n",
      "pyplot.plot(Fs,Fss)\n",
      "pyplot.xlabel('Fs assumed')\n",
      "pyplot.ylabel('Fs calculated')\n",
      "pyplot.title('Graph of Fs assumed vs Fs calculated')\n",
      "pyplot.show()"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "From spencers graphs,\n",
        "From graph, a footing of dimensions Fs=1.3\n"
       ]
      },
      {
       "metadata": {},
       "output_type": "display_data",
       "png": "iVBORw0KGgoAAAANSUhEUgAAAY4AAAEZCAYAAACAZ8KHAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xm8lHX5//HXG1BQBMQltzQUBREB0cQt8aSFlJp+3c2y\nvhohP7dvmWamQq65W5aWqGQumGu5K2ZHSRQ3ZBEw19y3RBSXVLh+f3zuo+PhLDPnzJxZzvv5eMyD\nmfueue/rnvtwrvPZFRGYmZnlq0u5AzAzs+rixGFmZgVx4jAzs4I4cZiZWUGcOMzMrCBOHGZmVhAn\nDvuMpAmSLi/SsVaTdJ+kdyWdWYxj1jJJP5Q0tdxxlIqkekkHtfMYdZJeLFZMeZxviaT1Oup81cSJ\no4JJ2lfSdEmLJL0u6UFJ40p4ymIO6vkx8EZE9I6IoxrvlPQnSf+V9F7OY68int8ay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ntwLLRcRi0pTa1wE7A3dkxxsHHEealvpRSSsBn/LF/2c9cp7nrvK4BPg4O84SvvhH3aERMTx79I+I\nKQ0htvnizdrBicM6LUnrRsRzEXE+8DfSGtO5egPvA+9KWg34FhDZtNorRsTtwE+BYdnx+kfEQxEx\nnrQ055eB54FNsjaJtSl8DYc7gf+XVaUhaYCk5YH7SKWhLpLWAL7e0kHMislVVdZZNNXjaG9J3yf9\n5f8qcMoXPhAxM2sXmU9aWvOf2a5ewN8k9SD91f+TbPsZkjbItt0dEbMAlBbOmQvMAx5tIaZo4vnF\npGqrx7J1It4gta/cKGn77LgvkKrdzDqEp1U3M7OCuKrKzMwK4sRhZmYFceIwM7OCOHGYmVlBnDjM\nzKwgThxmZlYQJw4zMyuIE4eZmRXk/wN5SXo27nRWHQAAAABJRU5ErkJggg==\n",
       "text": [
        "<matplotlib.figure.Figure at 0x5567810>"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex11-pg561"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#using Michalowski\u2019s solution\n",
      "C=20.\n",
      "G=18.5\n",
      "H=21.62\n",
      "c=25.\n",
      "r=0.25\n",
      "Fs=3.1*math.tan(c/57.3)\n",
      "print'%s %.1f %s'%('Fs = ',Fs,'')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Fs =  1.4 \n"
       ]
      }
     ],
     "prompt_number": 10
    }
   ],
   "metadata": {}
  }
 ]
}