summaryrefslogtreecommitdiff
path: root/1301/CH4/EX4.16/ex4_16.sce
blob: 70817dd70f640acf928b57db10ddcde89dd23ad2 (plain)
1
2
3
4
5
clc;
r=1.74*10^6;     //radius in m
gm=1.6;          //gravitational constant of moon in m/sec square
v=sqrt(r*gm);    //calculating velocity
disp(v,"Velocity in m/sec = ");   //displaying result