From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3845/CH28/EX28.5/Ex28_5.sce | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 3845/CH28/EX28.5/Ex28_5.sce (limited to '3845/CH28/EX28.5/Ex28_5.sce') diff --git a/3845/CH28/EX28.5/Ex28_5.sce b/3845/CH28/EX28.5/Ex28_5.sce new file mode 100644 index 000000000..a80e4a436 --- /dev/null +++ b/3845/CH28/EX28.5/Ex28_5.sce @@ -0,0 +1,8 @@ +//Example 28.5 +u=0.825;//Speed at which the galaxy is moving away from the Earth (in terms of c) +lambda_s=0.525;//Wavelength of radio waves (m) +c=1;//Speed of light (in terms of c) +lambda_obs=lambda_s*sqrt((1+u/c)/(1-u/c));//Wavelength detected on the Earth (m) +printf('Wavelength of radio waves detected on the Earth = %0.2f m',lambda_obs) +//Openstax - College Physics +//Download for free at http://cnx.org/content/col11406/latest -- cgit