Basic Maxwell Speed Distribution Function

Click For Summary
SUMMARY

The discussion centers on the computation of the Maxwell Speed Distribution Function using Riemann sums. The user initially set constants as N=100000, m=28.02, T=300, and k=1.38*10^(-23) but encountered an error when substituting values into the equation. A critical correction was made regarding the value of N, which should be 10000 instead of 100000. Additionally, the importance of consistently indicating units for variables and constants was emphasized to avoid confusion in calculations.

PREREQUISITES
  • Understanding of Maxwell Speed Distribution Function
  • Knowledge of Riemann sums for numerical integration
  • Familiarity with physical constants and their units
  • Basic proficiency in programming for computational solutions
NEXT STEPS
  • Review the derivation of the Maxwell Speed Distribution Function
  • Learn about numerical integration techniques beyond Riemann sums
  • Study the significance of units in physical equations
  • Explore error handling in programming for mathematical computations
USEFUL FOR

Students studying thermodynamics, physicists working with statistical mechanics, and programmers implementing physical models in computational simulations.

McAfee
Messages
96
Reaction score
1

Homework Statement


bGpOGuQ.png



Homework Equations


LFJpCid.png



The Attempt at a Solution


I DO NOT NEED HELP WRITING THE PROGRAM! I'm just trying to figure out the basics behind it. Since this is an integral I will be solving this problem by using riemann sums. Where I'm having the most trouble is in the actually computation.

These are my constants:
N=100000
m=28.02
T=300
k=1.38*10^(-23)

For example I can look at the first case, v=0 and realize that I will get a result of 0.

Now when a substitute in v=20 and try to solve, my calculator gets an error that says INF.

Does anyone know what I'm doing wrong here.
 
Physics news on Phys.org
First, I found a typo. The problem states N = 10000 (N = 10^4). Your post indicates N = 100000 (10^5).

Second, always indicate the units for the various variables and constants you are using. It saves a lot of time and confusion.
 
What SteamKing said. You're clearly using the wrong units for the mass. ALWAYS write down the units. they are not optional.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 7 ·
Replies
7
Views
6K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K