Shop OBEX P1 Docs P2 Docs Learn Events
Natural Logs — Parallax Forums

Natural Logs

piguy101piguy101 Posts: 248
edited 2011-08-04 10:11 in BASIC Stamp
Is there any way to have the BS2 perform a natural log function on a variable?

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-08-03 11:21
    You can compute logarithms with the BASIC Stamp. See Tracy Allen's webpage here:

    -Phil
  • ercoerco Posts: 20,256
    edited 2011-08-03 15:14
    Cue my high school physics teacher's favorite joke:

    Noah's boat finally comes to rest as the flood waters recede, and he lowers the gangway and send the animals out calling to them, "Go forth and multiply".

    Most of the animals leave, but two snakes are left behind. Noah looks at them, and commands "Go forth and multiply!"

    The snakes look at him but do not move. He tries again, "Go forth and multiply!" The snakes do not move.

    Noah gets angry and in his most commanding voice shouts, "Go forth and multiply!"

    The snakes look up at him and say, "We can't, we're adders".

    Noah thinks for a while, then grabs his saw and hammer and runs off into the forest, where he cuts down a tree. He saws and hammers and builds a small table. He carefully picks up the snakes and puts them on the table.

    "Go forth and multiply!" he commands.

    The snakes look at each other, and then at Noah. "We can't, we're adders".

    "Yes", Noah replies, "but, even adders can multiply on a log table".
  • piguy101piguy101 Posts: 248
    edited 2011-08-03 16:26
    You got to love nerd humor. Three statisticians go hunting for deer, the first one shoots and misses one meter to the left. The second statistician shoots and misses one meter to the right. The third statistician shouts, "We've hit it!"
  • Tracy AllenTracy Allen Posts: 6,662
    edited 2011-08-04 10:11
    Hehe!
    Those slytherin do have slide rules!
Sign In or Register to comment.