How can i calculate length of a rod with Monte Carlo method?

Click For Summary

Discussion Overview

The discussion revolves around calculating the length of a segment of a rod using the Monte Carlo method. Participants explore how to apply this statistical technique to determine lengths from a specified starting point, such as from 0 to L/3 or L/4.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant asks how to calculate a part of a rod's length, specifically from 0 to L/3.
  • Another participant suggests that the question may be overly simplified, asserting that the length from 0 to L/3 is simply L/3.
  • A different participant introduces the Monte Carlo method by comparing it to calculating the area of a circle, providing a specific example involving random points.
  • One participant clarifies that they are interested in finding the length of any part of the rod, not just L/3, and expresses a desire for visual aids to better understand the concept.
  • Another participant proposes a method involving choosing random points along the line segment and calculating the length based on the ratio of points within the desired interval.

Areas of Agreement / Disagreement

Participants express differing levels of understanding and approaches to the problem. There is no consensus on a single method for calculating the length using the Monte Carlo method, and some participants seek clarification or additional information.

Contextual Notes

Some assumptions about the setup of the Monte Carlo method and its application to the problem may be missing. The discussion does not resolve how to visualize or implement the method effectively.

Who May Find This Useful

Individuals interested in statistical methods, particularly the Monte Carlo technique, and those looking to apply these methods to geometric problems may find this discussion relevant.

cloudhunter
Messages
3
Reaction score
0
0_______._________________L
L/3
Suppose that there is a rod has length L. How can you calculate some part of its length from starting point (for example from 0 to L/3)?
 
Physics news on Phys.org
I have no clue what you are asking. If you mean exactly what you say, then the length from "0 to L/3" is L/3, of course. Surely that's not what you mean!
 
I think you have simplified your question too much. It is possible for instance to obtain the surface area enclosed by a circle with a Monte Carlo method.

Take a square of sides one with the middle at (0,0) and generate two uniform random numbers (x,y) between -0.5 and 0.5. If (x*x + y*y)<1 then the point is inside the circle of radius 1. Do this 10,000 times. The ratio of points inside and outside is the surface area enclosed by the circle. Hope this helps, else please reformulate your question.
 
HallsofIvy -I mean finding the length of any part of a rod. It can be L/3 or L/4. Yes, 0 to L/3 is L/3. Sorry for my English...
bigfooted - Thank you. Your way is similar to Pi calculation examples with this method; but is this the only way ? I think, if you draw i can understand better. I couldn't calculate like you said. Can you e-mail me? (cloudhunteer@hotmail.com)
 
Okay, choose a number, N, of points "at random" from the line segment. Let m be the number of those points that are inside your interval. If the line segment has length L then the segment has length (m/N)L.
 
Ok... Thank you. Thank you.. Thank you... :)
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
67
Views
8K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
7
Views
3K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K