summaryrefslogtreecommitdiff
path: root/3648/CH7/EX7.11/Ex7_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH7/EX7.11/Ex7_11.sce')
-rw-r--r--3648/CH7/EX7.11/Ex7_11.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3648/CH7/EX7.11/Ex7_11.sce b/3648/CH7/EX7.11/Ex7_11.sce
new file mode 100644
index 000000000..3cf5fffb1
--- /dev/null
+++ b/3648/CH7/EX7.11/Ex7_11.sce
@@ -0,0 +1,12 @@
+//Example 7_11
+clc();
+clear;
+//To find the mass of the sun
+t=3.15*10^7 //units in sec
+r=1.5*10^11 //units in meters
+v=(2*%pi*r)/t //units in meters/sec
+G=6.67*10^-11 //units in Newtons
+ms=(v^2*r)/G //Units in Kg
+printf("The mass of the sun is Ms=")
+disp(ms)
+printf("Kg")