Is Newtons calculus approximate?

AI Thread Summary
The discussion explores the accuracy of Newton's calculus in calculating the moment of inertia of a rod, comparing results from a discrete atomic model with the continuous formula derived from calculus. A computer program was created to compute the moment of inertia using both methods, revealing slight discrepancies attributed to rounding errors and the differences between discrete and continuous mass distributions. Participants noted that integration assumes a continuous mass distribution, while the atomic model treats mass as discrete, leading to variations in results. The conversation also highlights historical inaccuracies, noting that the concept of moment of inertia was introduced by Euler, not Newton. Overall, the discussion emphasizes the inherent assumptions in mathematical calculations and their implications for accuracy.
nil1996
Messages
301
Reaction score
7
Hello PF :smile:

i was studying rotational motion
it is given in my textbook that the moment of inertia of a rod of mass M and length L about an axis passing through the center of rod and perpendicular to the rod is ML2/12

This formula was prepared using calculus.
So i experimented...
a assumed a rod of length 101 atoms of copper.its atomic mass is 63.546. and Van der waals radius of 140pm.

so i made a computer program to calculate the moment of inertia of the rod by both methods
1] calculating the moment of inertia by each atom. (first method)
2] using that formula by Newton. (second method)
(You can skip the code)
The code in c++ is below:
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int i=0;
int distance=280;
int diameter=280;
float mass=63.546;
float moment1=0.0;
float moment2=0.0;
int length=28000;
for(int i=0;i<50;i++)
{
moment1=mass*distance*distance; //calculates the moment of single atom
distance=distance+diameter; //increases the distance
moment2=moment2+moment1; //passes its value
}
cout<<"moment by nils method comes to be :"<<moment2*2<<endl;
cout<<"moment by Newtons method comes to be :"<<101*mass*length*length/12<<endl;
getch();
}

the results come
1]4.27705 (by first method)
2]4.19319 (second method)

the result of the above code is in moment.zip ( in the attachment)

also check if i have gone wrong anywhere:-p
 

Attachments

Last edited:
Physics news on Phys.org
Try making the initial distance 140 instead of 280, since that will be the distance from the center of the rod to the center of the first atom.

Also, you loop 50 times. Doesn't that give you 100 atoms if there are 1 each on oppossing side from the center? If that is so, then multiply by 100 instead of 101 for the Newton equation.
 
Got it right :)

i added 280 to the length of the rod as the radius of the end atoms was not considered while calculating the moment of inertia according to Newtons formula. Yet the last 2 digits are different,don't know why?
 
nil1996 said:
Got it right :)

i added 280 to the length of the rod as the radius of the end atoms was not considered while calculating the moment of inertia according to Newtons formula. Yet the last 2 digits are different,don't know why?

Cumulative rounding error, perhaps?
 
phinds said:
Cumulative rounding error, perhaps?

yes it must rounding error

thanks
 
Try declaring the the two variables as double instead of float, see if you get an interestingly different result.
 
The integration assumes that the mass distribution is continuous, and you are assuming that the mass distribution is discrete. This will account for the slight difference in results.
 
Last edited:
Chestermiller said:
The integration assumes that the mass distribution is continuous, and you are assuming that the mass distribution is discrete. The will account for the slight difference in results.

So integration does a small assumption,which isn't true in reality isn't it?
 
nil1996 said:
So integration does a small assumption,which isn't true in reality isn't it?
In this case, yes. In general, it depends on what you are integrating.
 
  • #10
Frankly, I fail to see the point of the entire exercise. First of all, this has nothing to do with Newton. The concept "moment of inertia" was introduced by Euler, about half a century after Newton published his Principles. Second, obviously an integral and a finite sum approximating that integral will be different somewhat depending on the quality of the approximation. This has nothing to do with Newton or Euler, either, because none probably even bothered thinking on convergence and stability of numerical schemes, or even the soundness of integral's definition as a limit of integral sums to begin with, which was first done by Riemann another century later.
 
  • #11
nil1996 said:
So integration does a small assumption,which isn't true in reality isn't it?
Well, if you had 1023 atoms, it wouldn't matter. And, what happens in the discrete calculation when you have 1023, and one atom is sticking out a little more on one end than on the other, or, if you don't know whether you have 1023 atoms or 1023+1 atoms? Or, how would you handle the discrete calculation if the atoms were vibrating. In practice, if you had 1023, you couldn't do the discrete calculation anyway. There is some assumption made in every calculation you do.
 
Back
Top