Physics has always been about modeling real systems with mathematics. More recently with the development of high-speed processing and graphics card-accelerating computing, we can now afford to build more complex models such as 3D mesh geometries with order 106 pixels and perform tens of thousands of operations based on a mathematical model on each pixelContinue reading “Simulating a magnet”
Author Archives: Fehmi Yasin
Magnetizing a sphere
Imagine you had an iron sphere and you wanted to magnetize the sphere in a particular direction of your choosing. We know from classical magnetostatics that this is possible by applying an external magnetic field (, where is the magnetic permeability of free space) strong enough to rotate all of the magnetic moments (electron spins)Continue reading “Magnetizing a sphere”
Coffee Mugs and Least Square’s Fitting
If you’re like me, you really enjoy the ability to load useful functions from the seemingly endless number of python libraries available to users, until one fails on you. Its at this point that we have three options: 1) give up, 2) research a debugging method on the internet relevant to your specific failure orContinue reading “Coffee Mugs and Least Square’s Fitting”
Uncertainty: Mean, median, mode and standard deviation
Error analysis and statistical methods have always seemed a little arbitrary to me because there isn’t a ‘right’ way to present the uncertainties in your data. This makes teaching such an analysis tricky, especially because students aren’t comfortable with the idea that their measured data has uncertainty. This is, however, a very important concept toContinue reading “Uncertainty: Mean, median, mode and standard deviation”