Category Archives: Programming

Source code in C to simulate a Speckle Potential

Addendum: After writing this post I had a nagging feeling. Some kind of unease about the codes I provided. After taking a quick read of my second edition of Numerical Recipes in C I realized what might have caused that … Continue reading

Posted in C, Condensed Matter, Physics, Programming | Leave a comment

Mathematica Resources

Well just because I suck at Mathematica programming it doesn’t mean you should suck at it too. Nor does it mean that I should suck at it forever. With that in mind I want to bring to your attention a … Continue reading

Posted in General, Mathematica, Programming | 2 Comments

Cigar-shaped trap potential

At more or less at the same time that I did the Mathematica code to simulate a speckle pattern producing potential I also had to create a code that recreated a cigar-shaped trap potential. This was done with the goal … Continue reading

Posted in C, Physics, Programming, Quantum Mechanics | 1 Comment

Mathematica code

A long time ago I had to make a program that would simulate a speckle pattern. I ended up doing it in C and in Mathematica. Now I’ll just post in here my Mathematica code to see how it looks … Continue reading

Posted in Mathematica, Programming | 3 Comments