Imagine that you transfer some charge on a wire and you wish to find how that charge is distributed on it (Spoiler Alter; it’s not distributed uniformly along the length of the wire). How would you do that?
Here’s the problem: A straight string of length 1 is being displaced from its middle point to an amplitude 0.5 (see picture above). If the string is to be set free, what is the amplitude of every point as a function of time?
If you read this blog frequently (or just read the About me page) you would have noticed, that I am more into hardware than software. That doesn’t mean I am not interested in software. To be honest, any technology that solves real world problems interests me. Last semester, I took a class called Web Design and we were assigned the construction of a crowdsourcing website where people can file reports to a central system.
Imagine you are at your university or somewhere in your town and you see some sort of damage. It is not something life threatening, so you can’t call the authorities, but it is something more or less important and you want to see it fixed. What do you do? Well, in most cases you have to go through a bureaucratic ordeal. This website comes to the rescue. You can report the damage either from your computer or from your smartphone online and the central authority can immediately be aware of what is going on. The link to the site is here. The rest of the post describes its functionality.
A few months ago, I wrote an article about a highpass filter and how it can be used for edge detection in Image Processing applications. Today, I present you an improved method to extract the edges of an image and a technique to modify the outcome in order to become more visual appealing.
OK, this is mind-blowing. At least, it was when I first encountered it. Here is the problem; Can you arrive at a fair decision using an unfair coin? Even though it seems absurd, it is possible!
Happy π day! Celebrating this day, I present to you another way to calculate pi experimentally!
In the previous post, we discussed Buffon’s needle and how it can be used to approximate . Laplace studied a very similar problem. Actually, it’s the same concept, just adding something extra. Instead of having a table of parallel strips, we have a table of rectangles.
When I saw the sixth problem of project euler, there was only one thought in my mind. This problem requires no programming at all.
What is the smallest number divisible by each of the numbers 1to 20? Let’s brute force…
Ok, so what do we have here? We have a number, a really big number, and we must prime factorize it. This example is just a glimpse of MATLAB’s superiority over other languages when it comes to maths, because we can instantly take advantage of one of the many ready-to-use functions.