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 17: Introduction to elementary particles"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 17.1: Kinetic_energy.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"//Example 17.1, Page 643\n",
"clc\n",
"h=1.05*10^-34//j-s\n",
"M=1.7*10^-27//in kg\n",
"r=2*10^-15//in m\n",
"K=(h**2)/(M*r*r)\n",
"s=K* 6.24150647996E+12//converting to Mev\n",
"K_total_cm=2*s\n",
"k_incident=2*K_total_cm\n",
"printf('\n The kinetic energy of incident nucleon is %d Mev',k_incident)"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 17.3: value_of_pi.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"//Example 17.3, page 653\n",
"clc\n",
"h=1*10^-34//j-s\n",
"r=2*10^-15//m\n",
"c=3*10^8//m/s\n",
"m_pi=h/(r*c)\n",
"printf('The value of m pi is %e kg', m_pi)\n",
"//Answer difference is because of round off"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 17.5: Value_of_K.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"//Example 17.5, page no 664\n",
"clc;\n",
"Tz=(1-1)/2\n",
"//For K+\n",
"Q=1\n",
"B=0\n",
"S=1\n",
"Tz=1-0.5\n",
"printf('The value of Tz for K+ is %f \n',Tz)\n",
"//For K-\n",
"Q=-1\n",
"B=0\n",
"S=-1\n",
"Tz=-1+0.5\n",
"printf('The value of Tz for K- is %f\n',Tz)\n",
"//For Ko\n",
"Q=0\n",
"B=0\n",
"S=1\n",
"Tz=-0-0.5\n",
"printf('The value of Tz for Ko is %f \n',Tz)\n",
"//For Ko_dash\n",
"Tz=0+0.5\n",
"printf('The value of Tz for Ko- is %f \n',Tz)"
]
}
],
"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
}
|