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
|
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 10 : Elastic. Anelastic and Viscoelastic Behaviour"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 10.1, Page No 241"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"#initialisation of variables\n",
"n = 1.0\n",
"m = 9.0\n",
"A = 7.68e-29 # Constant having unit J m \n",
"r_0 = 2.5e-10 # bonding distance in m\n",
"\n",
"#Calculations\n",
"B = A*r_0**8.0/9\n",
"Y = (90*B/(r_0)**11-2*A/(r_0)**3)/r_0\n",
"\n",
"#Results\n",
"print(\"Young\u2019s modulus of material is %d GN m^-2\" %(Y/1e9))\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Young\u2019s modulus of material is 157 GN m^-2\n"
]
}
],
"prompt_number": 6
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 10.2, Page No 245"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"#initialisation of variables\n",
"Y_f = 440.0\n",
"Y_m = 71.0 \n",
"sigma_total= 100.0 # total load\n",
"\n",
"#Calculations\n",
"r = Y_f/Y_m\n",
"sigma_f = r*(sigma_total/0.7)/(1+r*3/7)\n",
"\n",
"#Results\n",
"print(\" Part A:\")\n",
"print(\" When load is applied parallel to fiber then, stress in fiber is %d MN m^-2\" %sigma_f)\n",
"\n",
"print(\" Part B:\")\n",
"print(\" When load is applied perpendicular to fiber then, stress in fiber and matrix is same i.e. %d MN m^-2\" %sigma_total)\n",
"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
" Part A:\n",
" When load is applied parallel to fiber then, stress in fiber is 242 MN m^-2\n",
" Part B:\n",
" When load is applied perpendicular to fiber then, stress in fiber and matrix is same i.e. 100 MN m^-2\n"
]
}
],
"prompt_number": 7
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 10.3, Page No 251"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"#initialisation of variables\n",
"t_r = 100.0 # relaxation time in s\n",
"d = 2.5 # distance in angstrom\n",
"\n",
"#Calculations\n",
"f = 1.0/t_r # jump frequency\n",
"D = (d*1e-10)**2*f\n",
"\n",
"#Results\n",
"print(\"Diffusion coefficient is %.2e m^2 s^-1\" %D)\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Diffusion coefficient is 6.25e-22 m^2 s^-1\n"
]
}
],
"prompt_number": 8
}
],
"metadata": {}
}
]
}
|