python

Dot Physics

Category archives for python

Happy g day

Actually, it should be called Happy “Magnitude of the local Earth gravitational field” day. You know, 9.8 N/kg on September 8 (9/8). Get it? Well, the idea was for the physics students and faculty to build some stuff to do outside – projectile motion type stuff. Well, we had the idea a while ago and…

The Curving Soccer Ball

You can call it football if it makes you happy. Anyway, this is a popular story going around. The physics of the magic curving soccer kick. Here are two ends of the spectrum. First, there is the lower, easier to consume version from io9.com Physics forced to come up with whole new equation to explain…

Some Python notes

Yes, I love python. However, I am no expert. Most of the stuff I write in python is dirty and ugly code. Sometimes I figure out new things (things that programmers already know) and sometimes I forget these things. So, here are a few tips and tricks that I use from time to time. Really,…

Let me start with the video. Here is a guy flying a plane in a barrel roll and pouring some tea at the same time. Talk about multitasking. How can he pour upside down? Well, there are two ways to look at this. First, I can look at this in the frame of the plane.…

More on turning and braking

I can’t let it go. There is more here to explore. First, I can’t believe that I looked at braking and then turning but not turning then braking. And what about braking while turning? I will model braking and then turning – but it won’t stop here. Consider a few motions. I could turn and…

Basketball shot – real or fake?

I have seen several videos similar to this. Real? Fake? How many tries did this take? Let the analysis begin. Before I do any analysis, let me state that I think this is not fake. I do not know that for sure, just my first guess. How would I tell if it is real or…

Here is part of a picture some of my friends posted from a recent high school reunion. It may be hard to tell, but this is part of a picture of 7 females all wearing black. I just wanted to show you that they were indeed wearing black without giving away anymore details. If you…

(alternate title: how to make pretty graphs in vpython) I am happy. Finally, I can use the visual module in python (vPython.org) and plotting with Matplotlib. Maybe this isn’t such a big deal for many of you, but for me, it never worked until now. In the past, I blogged about plotting in vpython vs.…

Right Turn and Zombies

In my last zombie post, I looked at a human moving in a circle to avoid a zombie (if they are stuck in a room). What if I build a zombie evading robot that always moves perpendicular to the path of the zombie? Would this work? This shouldn’t be too difficult to model. I can…

Chased by a Zombie

Title: Chased by zombies When I heard word about the ScienceBlogs Zombie Day, I knew I wanted to participate with a post – but I had no idea what to do. My first thought was to somehow talk about living off the electric grid in the case of a zombipocolypse – you know, like how…