Best use of Microsoft Excel for Numerical Analysis of Classical Mechanics?

In summary, the conversation discusses using Microsoft Excel as a numerical analysis tool for classical mechanics problems. The participants mention that while there are more powerful tools available, they are required to use Excel for their courses. The conversation also touches on what types of problems would be best suited for demonstrating the capabilities of Excel, and the participants mention having a spreadsheet that solves a problem involving a rocket with limited fuel and air resistance. They also mention that Excel may not have the best graphing tools for scientific needs, but it can easily handle 1D time varying solutions. The conversation ends with one participant seeking advice on finding classical mechanics problems that have both analytical and numerical solutions.
  • #1
Farina
39
0
I'm need to use Microsoft Excel as a numerical
analysis tool for classical mechanics physics problems.

Yes, I know there are dozens or hundreds of other
tools that would be more powerful, but I (and my
students) are required to see what they can do
with Excel.

The Class: Analytical Mechanics

Level: Junior/Senior/First-year Graduate

The Question: what kind of problems/solution types
would serve as the best examples to show what can
be done with Excel?

Thank you.

Farina
 
Physics news on Phys.org
  • #2
I cannot think of any numeric methods which Excel cannot do. 3d things would be hard to display the results, but with a bit of thought you could do the calculations.

I have found that Excel is designed for business applications, it does not have very good graphing tools for scientific needs. If you want 1d time varying solutions Excel can easily do the job, you can plot the results adequately. essentially creating a "movie" of the time changing solution.

It is not clear to me where you need help?
If your problem is with how to use Excel, this question should be in the software forum.

OR?

Should this be in Math, for help with the Numerical Methods needed to solve the DEs from the Physics?

Please clarify.
 
  • #3
Rocket Science

I just took a course in Analytical Mechanics and we used spreadsheets quite often to solve differential equations numerically.

I still have one of those spreadsheets in a folder. I can send it to you if you like. It was a problem were a rocket had only 120 seconds of fuel to burn which wasn't enough to reach escape velocity. The spreadsheet could be used to calculate how high the rocket would reach before running out of fuel, and how long it would take to hit the ground from the time it had been launched. The problem takes into consideration air resistance. (But I think that the air density was considered to be constant which wouldn’t be realistic)

We were basically given the following formulae in lecture:

[tex]F(y,v,t)=F_o-c_Dv|v|-G\frac{M_RM_E}{\left(R_E+y\right)^2}; 0\leq t \leq 120 s[/tex]

[tex]F(y,v,t)=0-c_Dv|v|-G\frac{M_RM_E}{\left(R_E+y\right)^2}; t > 120 s[/tex]

[tex]\Delta v=\frac{F(y,v,t)}{M_R}\Delta t[/tex]

[tex]\Delta y=v\Delta t+\frac{1}{2}\frac{F(y,v,t)}{M_R}\Delta t^2[/tex]

Then we had to create the spreadsheet to solve these conditions.

Like I say, I have the raw spreadsheet if you want a copy I can email you one. Once you set up the first row of dependent equations and choose values for the deltas then you just fill the columns down and Excel does the rest. The smaller deltas you chose the more you have to fill down, but the more accurate your answer will be.

By the way, we didn't bother to graph any of this stuff, we were just concerned with getting the answers to specific questions. But I suppose that we could have graphed some stuff too. Like the maxium height and maximum flight time in this example.
 
Last edited:
  • #4
Very interesting!

Yes, I would appreciate a copy. My email address is:

cjwood99@hotmail.com

Thanks again.

NeutronStar said:
I just took a course in Analytical Mechanics and we used spreadsheets quite often to solve differential equations numerically.

I still have one of those spreadsheets in a folder. I can send it to you if you like. It was a problem were a rocket had only 120 seconds of fuel to burn which wasn't enough to reach escape velocity. The spreadsheet could be used to calculate how high the rocket would reach before running out of fuel, and how long it would take to hit the ground from the time it had been launched. The problem takes into consideration air resistance. (But I think that the air density was considered to be constant which wouldn’t be realistic)

We were basically given the following formulae in lecture:

[tex]F(y,v,t)=F_o-c_Dv|v|-G\frac{M_RM_E}{\left(R_E+y\right)^2}; 0\leq t \leq 120 s[/tex]

[tex]F(y,v,t)=0-c_Dv|v|-G\frac{M_RM_E}{\left(R_E+y\right)^2}; t > 120 s[/tex]

[tex]\Delta v=\frac{F(y,v,t)}{M_R}\Delta t[/tex]

[tex]\Delta y=v\Delta t\frac{1}{2}\frac{F(y,v,t)}{M_R}\Delta t^2[/tex]

Then we had to create the spreadsheet to solve these conditions.

Like I say, I have the raw spreadsheet if you want a copy I can email you one. Once you set up the first row of dependent equations and choose values for the deltas then you just fill the columns down and Excel does the rest. The smaller deltas you chose the more you have to fill down, but the more accurate your answer will be.

By the way, we didn't bother to graph any of this stuff, we were just concerned with getting the answers to specific questions. But I suppose that we could have graphed some stuff too. Like the maxium height and maximum flight time in this example.
 
  • #5
Right -- I guess I would ideally find classical mechanics
problems that ONLY had an analytical solution, then
actually show how Excel could be used to crank-out
a solution.

I'm proficient with Excel; not so proficient with
Numerical Methods. For now, examples that fit
this description, or advice on what kind of classical
mechanics problem types lend themselves to this
purpose would be great.

Another tact: identify a classical mechanics problem
that has an analytical solution, then modify the
same problem so it only has a numerical solution.

Thanks.

Farina

Integral said:
I cannot think of any numeric methods which Excel cannot do. 3d things would be hard to display the results, but with a bit of thought you could do the calculations.

I have found that Excel is designed for business applications, it does not have very good graphing tools for scientific needs. If you want 1d time varying solutions Excel can easily do the job, you can plot the results adequately. essentially creating a "movie" of the time changing solution.

It is not clear to me where you need help?
If your problem is with how to use Excel, this question should be in the software forum.

OR?

Should this be in Math, for help with the Numerical Methods needed to solve the DEs from the Physics?

Please clarify.
 
  • #6
Well what can I say -- you can't make a silk purse out of a sow's ear.
Excell to my mind is the worst form to solve such problems -- but then I know a lot of people who like it --- but why teach this as a method compared to better I do not understand -- you say you know there are many other solutions -- well WHY NOT THEM -- I mean what is the point.
The very concept of putting something into a pigeon hole is a total business concept -- to apply it to mathematical analysis and graphing is laughable ---
a square peg in a round hole --- each to their own but each solution to the problem.
ray.
 

1. What is Microsoft Excel and how is it useful for numerical analysis of classical mechanics?

Microsoft Excel is a spreadsheet program that allows users to organize, manipulate, and analyze data. It has built-in functions and tools that make it useful for performing numerical analysis of classical mechanics problems. These include built-in mathematical functions, graphing capabilities, and the ability to create macros and custom functions.

2. Can Excel be used to solve complex classical mechanics equations?

Yes, Excel can be used to solve complex equations in classical mechanics. The program allows for the use of mathematical functions, such as trigonometric functions and derivatives, which are commonly used in classical mechanics equations. Additionally, Excel's solver tool can be used to find numerical solutions to equations that cannot be solved analytically.

3. How accurate are the numerical solutions obtained through Excel?

The accuracy of the numerical solutions obtained through Excel depends on the precision of the input data and the complexity of the equations being solved. Excel has a default precision of 15 digits, which can be increased for more accurate results. However, it is always important to validate the results obtained through numerical analysis using other methods or by hand calculations.

4. Are there any limitations to using Excel for numerical analysis in classical mechanics?

Excel can be a powerful tool for numerical analysis in classical mechanics, but it does have some limitations. It is not designed specifically for scientific calculations, so it may not have the same level of precision and accuracy as dedicated software programs. Additionally, Excel may struggle with very large or complex datasets, so it may not be suitable for all types of numerical analysis.

5. Are there any tips for using Excel for numerical analysis in classical mechanics?

To get the best results when using Excel for numerical analysis in classical mechanics, it is important to have a good understanding of the underlying equations and their limitations. It is also helpful to use Excel's built-in functions, such as the solver tool and goal seek, to save time and increase accuracy. Additionally, organizing data in a clear and logical manner can make the analysis process more efficient.

Similar threads

  • Quantum Interpretations and Foundations
11
Replies
376
Views
10K
  • Mechanical Engineering
Replies
2
Views
1K
  • STEM Academic Advising
Replies
2
Views
1K
  • Classical Physics
Replies
3
Views
582
  • Introductory Physics Homework Help
Replies
7
Views
1K
  • Programming and Computer Science
Replies
8
Views
1K
  • Science and Math Textbooks
Replies
13
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
9
Views
1K
  • STEM Academic Advising
Replies
9
Views
2K
  • Science and Math Textbooks
Replies
1
Views
1K
Back
Top