summaryrefslogtreecommitdiff
path: root/3648/CH25/EX25.1/Ex25_1.sce
blob: 95660a2a98080626c4e81e8d51217db6fd1b52de (plain)
1
2
3
4
5
6
7
8
9
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")