Thursday, November 12, 2009

Miracles

I like to think. A lot. Maybe too much.

Friends and family members always like to mention that I live in "another world". My in-laws, who speak primarily in Chinese, often like to stop mid-conversation to ask me if I understand what they're saying. My response is usually, "I wasn't listening".

Lest you think I'm being rude, it is very exhausting trying to listen to a foreign language for long periods of time. But that is not what this post is supposed to be about, so lets move on...

So, in those moments when my mind wanders, it takes me off into many directions. Sometimes they are simple thoughts like, "I wonder if I can play video games right now without my wife getting mad at me", or "How do we get the manic dog to stop barking?"

When I'm driving, I often marvel at the human brain and what it is capable of. We take for granted the complex motor skills that are required to make a simple turn. We learn the skills and practice to the point where we don't have to think any more. We think about turning and the practiced movements of our arms, feet, neck and eyes do everything for us.

I remember reading about an experiment where electrodes were placed in a monkey's brain, which transmitted signals to a robotic arm. With a little practice, the monkey could control the arm and use it almost as another limb- using the arm to grab treats and feed itself. I wonder if this skill is related to the ability to use tools that humans and monkeys have developed as an evolutionary boost.

But that is by no means the most amazing thing I've seen.

Watching a child grow is an amazing experience. It is definitely something that might make you believe in miracles. And my daughter truly is a miracle.

When she was just a few days old, I'd watch her sleeping and see the rise and fall of her chest in time with her breathing. I'd marvel at the thought of how much had to be made just right to keep that motor running. I used to have a small fear in the back of my mind that she'd suddenly stop. That sounds morbid, but I bet every parent has had the same thought at some point or another.

After all, if you really think about it, you might realize how complex the human body is. Modern science has worked tirelessly on understanding how life works, and we have only just begun. If a baby were engineered by humans, it almost certainly wouldn't work.

But my baby can not only breathe. She can see, feel, and hear. She can learn. Every moment, she observes and learns about pieces of the world around her. She practices the skills she will eventually need in order to function as a human being- all without prodding or any incentive other than her own basic need to do so.

Through years of scientific study aimed at understanding the processes my daughter has gone through, we have learned many things. In many cases, we have learned pieces of information that we already knew in some way or another. We have learned that children need love and attention in just the same way that they need food and water. We have learned time and time again that what is best for us just happens to be what nature has provided for us all along.

In my world, miracles are everywhere. They don't have to be divinely summoned to be so.

I'd better stop before I make someone throw up.

Sunday, November 1, 2009

Physicists are Everywhere

For those of you who don't really know what goes on in the world of experimental physics, let me tell you about what I've been doing the last couple weeks.

So, I've posted about the KATRIN project before, but here's a recap: KATRIN is a project that aims to directly measure the neutrino mass by examining the beta-decay spectrum of tritium. The specific part I'm working on is the rear section, which is an important calibration piece of the experiment. For the output of the experiment to make sense, we need to know precisely how much tritium there is in the system at any given time. To accomplish this, we use a detector in the back wall to count the electrons that don't make it through the main spectrometer.

Now, I've been examining one potential problem with this picture- one having to do with electron scattering. You see, the beta decay electrons don't just travel around until they hit the detector- they can also scatter by interacting with the tritium in the column. These interactions make the electrons lose energy, and happen with more frequency when the tritium density increases. With less energy, the electrons are then less likely to be counted in the back end, and this introduces a systematic uncertainty into the measurement of the tritium density.

So, to explore the problem, I wrote a monte carlo program that shows the effect that electron scattering actually has. My program first randomly selects where the electron is emitted from, and at which angle. Then the program selects how far it gets before it scatters, and how much energy it loses. If the electron hasn't reached the wall, the process repeats until it does. Then, the program repeats the whole process again until it has simulated 100,000 electrons. Then, I ran my output through my professor's code, which does a similar thing with the detector design we're using. Altogether, these simulations show what we should expect as an output, should we see some variation in the tritium density, and gives a baseline for the systematic uncertainties we should expect. It also gives us some commentary on the feasibility of the detector design.

I have a point, but you'll have to read on.

At the beginning of baseball season every year, you can usually find some article online talking about computer algorithms that predict the outcomes of the coming season. These algorithms calculate how many games a team will win, how many runs they will score, their likelihood of making the playoffs, and much more. The way they do it is actually quite simple (in principle).

These algorithms merely take the rosters of each team, and uses each players' projected stats to calculate the likelihood of every possible outcome of any particular pitcher-batter match-up. Using these stats, the algorithms simulate every game of the season, one plate appearance at a time. They then repeat the algorithm about a thousand times to minimize uncertainties in random variations.

Hopefully you're starting to see a pattern. Here's another example:

Last fall, I watched a few episodes of a show called "Deadliest Warrior". The premise of the show is that they explore and analyze the weapons and fighting techniques of some of history's most famous warriors, and try to answer the question of who was more lethal. It's the perfect show for any guy who has ever sat around drinking with his buddies and asked the question, "Hey, if a samurai and a viking ever fought to the death, who would win?" The answer, of course- the samurai.

Anyway, so here's how the show went about answering this question: First, they invited experts and martial artists to showcase the weapons and techniques of each side, running tests on each weapon to determine its killing ability. Then, they put the data into a computer program that simulated the battle, blow by blow, a thousand times and tallied the wins for each side.

I'm not an expert in financial markets, but I'm pretty sure they do something similar there as well.

So, maybe my point is this: The work that goes on in the Physics world doesn't need to seem so distant and scary. There are many people out there who do very similar work in fields that are much more accessible to the general public.

As a matter of fact, my job is much easier than those that I highlighted earlier. My program is about 100 lines of Python code. Sports and battle simulations are much harder to do.

For example, those computer algorithms seem to predict the Yankees winning the world series every year. This year is the first since 2000 that they've been right.

...And I think we know what kind of track record the banking industry has...