summaryrefslogtreecommitdiff
path: root/3648/CH25/EX25.1/Ex25_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH25/EX25.1/Ex25_1.sce')
-rw-r--r--3648/CH25/EX25.1/Ex25_1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3648/CH25/EX25.1/Ex25_1.sce b/3648/CH25/EX25.1/Ex25_1.sce
new file mode 100644
index 000000000..95660a2a9
--- /dev/null
+++ b/3648/CH25/EX25.1/Ex25_1.sce
@@ -0,0 +1,10 @@
+//Example 25_1
+clc();
+clear;
+//To find out how long does a particle lives when shooted
+l=2.6*10^-8 //units in sec
+t=0.95 //units in c
+life=l/sqrt(1-t^2) //units in sec
+printf("The particle lves by a time of=")
+disp(life)
+printf("Sec")