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.
Find all elements less than 0 or greater than 10 and replace them with NaN
Bottles of beer
How many trades represent all the profit?
Find nearest prime number less than input number
Do you like your boss?
How many rectangles in a grid ?
Recursive Standard Deviation
Slicing the cube
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