• 100% Satisfaction Guarantee

Category: Homework
Satisfied Customers: 3040
Experience:  MIT Graduate (Math, Programming, Science, and Music)
3546829
Scott is online now

# RA-201

### Customer Question

We are working at a physics lab and trying to build a detector some elusive particle. The particle cannot be detected directly, but it does interact with some other particles, emitting a photon. Those, we can detect. Before we build the detector, we will simulate the situation to estimate the efficiency of our detector. It depends on the geometry we give it as well as the properties of the material.
As a first attempt, the detector will be a cube housed within another cube, much larger. The photon are emitted, randomly, from inside the larger cube and bounce around (because the walls are reflective at some percentage, say 95%) until they are absorbed by the walls or hit the detector. Here is a crude picture
-------------------- | /| | / | | / | | \ / | |___ \ / | | | \/ | --------------------
To make our life easier, we start by simulating this in 2-d (a square in a square).
The simulation is the following: a photon appears, randomly, at some point and with some direction. If it hits the detector, we count a hit. If not, it will hit a wall. With some probability (say 95% to start), it is reflected (else, it is absorbed). If absorbed, we count a miss. It it is reflected, we pursue its trajectory. Again, either it hits the detector or a wall, etc…
We repeat this for multiple photons and the ratio of hits on the total hits plus misses gives us a measure of efficiency of our detector.
Clearly this efficiency depends on the reflectivity of the walls and on the geometry of the detector setup.
I suggest that you do this in groups of two: one is responsible for the generation of the particles and calculations; the other is responsible for drawing the experiment, showing each particle appearing, moving about the cube and either being absorbed by the wall or the detector. If you insist on doing this alone, you do not have to do the drawing.
Start with a cube in a cube, then maybe a sphere within a cube. Once you feel confident about this 2-d simulation, you may want to simulate in 3-d. But beware, the geometry calculations will be much harder. This project is rather open-ended. Feel free to take it wherever you want. I will grade on the following:
There must be at least 10 different functions.
There must be at least 100 lines of code.
No function is larger than 15 lines.
The problem must be well decomposed.
Each function (except the drawing functions, if course) must have test cases.
You should make good use of the python libraries.
Submitted: 3 years ago.
Category: Homework
Expert:  Josie-Mod replied 3 years ago.
Hi, I'm a Moderator for this topic. I've been working hard to find a professional to assist you right away, but sometimes finding the right professional can take a little longer than expected.

I wonder whether you're ok with continuing to wait for an answer. If you are, please let me know and I will continue my search. If not, please let me know and I will cancel this question for you. Thank you!
Customer: replied 3 years ago.
The project was due at midnight. At this point if you do not have an answer handy just cancel my request. Thank you
Customer: replied 3 years ago.

Hi Josie,

I do not know If you got my message, however the project was due at midnight, so at this point just cancel my order.

Expert:  Mr. Gregory White replied 3 years ago.
Hello, my name is Greg.
The moderator let me know that you might be needing assistance but I see that it might be past your deadline.
I am sorry that we were unable to help on this prompt. Many experts have reviewed your question so far, but no one at this time has felt comfortable trying to help. The question may be just to difficult or not informative enough or priced to low.
You are a valued customer and I hope you will consider us for your future needs.

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

### What Customers are Saying:

• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Previous | Next >
• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
• This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
• Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
• I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
• Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
• Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
• He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX

• ### LogicPro

#### Satisfied Customers:

4925
Expert in Java C++ C C# VB Javascript Design SQL HTML
< Last | Next >

### LogicPro

#### Satisfied Customers:

4925
Expert in Java C++ C C# VB Javascript Design SQL HTML

### Manal Elkhoshkhany

#### Satisfied Customers:

4538
More than 5000 online tutoring sessions.

### Linda_us

#### Satisfied Customers:

3138
Post Graduate Diploma in Management (MBA)

### Chris M.

#### Satisfied Customers:

2602
Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

### F. Naz

#### Satisfied Customers:

2126
Experience with chartered accountancy

### Bizhelp

#### Satisfied Customers:

1887
Bachelors Degree and CPA with Accounting work experience

### Seanna

#### Satisfied Customers:

1781
3,000+ satisfied customers, all topics, A+ work