summaryrefslogtreecommitdiff
path: root/3845/CH6/EX6.6/Ex6_6.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3845/CH6/EX6.6/Ex6_6.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3845/CH6/EX6.6/Ex6_6.sce')
-rw-r--r--3845/CH6/EX6.6/Ex6_6.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3845/CH6/EX6.6/Ex6_6.sce b/3845/CH6/EX6.6/Ex6_6.sce
new file mode 100644
index 000000000..a8945ae57
--- /dev/null
+++ b/3845/CH6/EX6.6/Ex6_6.sce
@@ -0,0 +1,15 @@
+//Example 6.6
+G=6.67*10^-11;//Universal gravitational constant (N.m^2/kg^2)
+M=5.98*10^24;//Mass of the Earth (kg)
+r=3.84*10^8;//Radius of Moon's orbit (m)
+g=G*M/r^2;//Acceleration due to gravity (m/s^2)
+printf('a.Acceleration due to Earth''s gravity at the distance of the moon = %0.2e m/s^2',g)
+delta_theta=2*%pi;//One complete rotation of Moon's orbit (rad)
+delta_t=27.3*(1*24*60*60);//Period to make one complete rotation of Moon's orbit = 27.3 days,converted to seconds
+omega=delta_theta/delta_t;//Angular velocity (rad/s)
+a_c=r*omega^2;//Centripetal acceleration (m/s^2)
+printf('\nb.Centripetal acceleration = %0.2e m/s^2',a_c)
+printf('\nDiscussion: Centripetal acceleration found in (b.) differs from acceleration due to Earth''s gravity found in (a.) \nby %0.2f%%',(a_c-g)/g*100)
+//Discussion : In agreement with answer in textbook; less than 1%
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest