Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
User Journal

Journal Journal: Pay attention in class kids

See, this is why you should always pay attention in class, no matter how boring things seem.

So my last idea didn't work, but then I thought "why not just calculate each next point on the line between those two points"? So simple, so fscking obvious that I literally kicked myself for not thinking of it sooner.

Then came my next problem "how do I graph the next point on the line". I was sure I learned this in h.s. geometry, but since that was awhile ago (and about 3 1/2 years of funtime college ago), I embarked on a mathematical quest to figure out how to graph the next point of the line. So I figure out that I can subtract my destination x from my origin x, and destination y from my origin y, and the resutling numbers give me a rough plot point. Wow. Amazing.

Yea. Considering that every 7th grader learns how to do that under the name "rise over run", or the more technical term "slope", I think I will be encouraging youngsters not to fall asleep in algebra and geometry.

DOH! DOH! DOH!.
User Journal

Journal Journal: Movement Mathematics

Defining math equations to create movement in a matrix is harder than it looks. If you have a square matrix which is numbered sequentially from the first position from 1 to 81, how do you define a diagnol (or similar single line) path to go from point A in the matrix to point B?

Tried using a "touch" based formula which defines the values in an ever increasing square from the origin and the destination until a common point is found, which is then used as the first point in the line.

why do i have a feeling this isn't going to work?

Slashdot Top Deals

Kleeneness is next to Godelness.

Working...