Find the Polynomial You’ve Been Looking For
Often, I want to have a polynomial that meets certain criteria. For most applications in the past, I figured it all out by hand. Today, I was having trouble getting the conditions specified enough to...
View ArticlePhony Physics (a.k.a. Fun with Interpolation)
In a previous post, I mentioned looking for a polynomial for an application. I am working on an application that involves clicking or dragging tiles around. Once you release the tile, I want it to snap...
View ArticleFinding Better Polynomials
Some time ago, I wrote a small domain-specific language for finding polynomials given their value or the value of their derivatives at particular points. It occurred to me shortly after writing that...
View ArticleTrying to Short-Stop Iterated Functions
If a function is pretty fun, why not do it again? My post yesterday about the Mandelbrot set got me thinking again about iterated functions. With the Mandelbrot set, you start with some complex number...
View ArticleComplex Numbers for Rotating, Translating, and Scaling the Plane
A good friend of mine recently discovered some of the fun things you can do with complex numbers if you’re using them to represent points in the plane. Yesterday, I re-read a passage by Tony Smith...
View ArticleThe Anti-Cons
Motivation I no longer remember what led me to this page of synthetic division implemented in various languages. The author provides a common lisp implementation for taking a list representing the...
View Article
More Pages to Explore .....