The units are wrong. d is the distance (in metres) from each lens to the cogwheel (not the distance separating). X is in rps not rpm. The required speed of light is in m/s not km/s.
Aparently the formula used by the author is a multiple of X,T and d divided by 15 for some reason. That doesn't seems to be correct. We should have to convert RPM to angular velocity, distance to metters and use them with a measured time to calculate the speed of light. The required measured time is missing, which was used in the Fizeau's experiment (without it, I don't even see the point of mentioning him or the experiment since we are not replicating its formula, nor his experiment). Finally, the number of teeth is meaningless without knowing more about the cogwheel dimensions.
Extract leading non-zero digit
Program an exclusive OR operation with logical operators
Given a window, how many subsets of a vector sum positive
Find Out sum of principal diagonal element of given matrix
Which way to go?
Slicing the cube
Recursive Standard Deviation
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office