Don't ask me why... but I randomly remember things for way back in the dusty filing cabinet known as my brain. The other day I recalled a project I did in 6th grade. Every one in the class was assigned a mathematician and told to write a report.... I don't even remember who I was assigned to do.... but what I do remember was an unsolvable math problem know as the "Seven Bridges of Königsberg". So I decided today to quickly research and remember it. Actually all I remembered was it had something to do about bridges.... and then when I look up "great mathematicians" I saw Euler's name and that was all I really needed.... so rather than write out the entire problem... here is the link to Wikipedia....
https://secure.wikimedia.org/wikipedia/en/wiki/Seven_Bridges_of_K%C3%B6nigsberg
Showing posts with label math. Show all posts
Showing posts with label math. Show all posts
Tuesday, September 28, 2010
Friday, July 24, 2009
when precision bites
I love math... programming it is even more fun, then mixing integer math with decimal (floating point) math.... even more fun:
In [90]: 26*.25 + 18*.75pesky '.0'
Out[90]: 20.0
In [91]: 26/4 + 18*3/4
Out[91]: 19
In [92]: 18*3/4
Out[92]: 13
In [93]: 18.0*3/4
Out[93]: 13.5
In [94]: 26.0/4 + 18.0*3/4
Out[94]: 20.0
Subscribe to:
Posts (Atom)