Go Back   Science Forums
View Single Post
Old 06-14-2007   #29 (permalink)
CraigD's Avatar
CraigD
Creating


Location:
Silver Spring, MD, USA
 
CraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond repute
 



Not Ranked  0 score     
Red face (after bug fix) 5 pins left, 10 pins left - no win

Quote:
Originally Posted by freeztar View Post
Look at that sim time!
The next longest was only 31.xx!
That is odd – looking at the internals, it appears that the event for the collision of the 2 with the top gutter got lost, due to a bug in the code!

OK, one ugly fix later (from an efficiency perspective – rather than restructure to prevent the bug, I added a few redundant calculations to fix it when it occurs – accuracy is unaffected), the gutter-skipping problem is fixed, so the sim time when the last pin collides with a gutter is about 113.68.

It’s past my bedtime. I’ll recheck the previous games tomorrow, and redo my statistics.
Quote:
Ok, I'll try again (and again and again I'm sure). Actually, I'd like to compare two different approaches this time.

1.
Ball mass=1.7
x=5.1
v=(.13,1.5)
Left the 2, 4, 5, 6, and 10. (which emphasizes how unlike actual bowling with tall, skinny 3-d pins this game is, as this seems nearly impossible in that game):
Code:
   c                               d
 
                   f
 
 
 
 
 
                   1
 
               2       3
 
           4       5       6
 
       7       8       9       a
 
   e
Sim T:0

   c                               d
 
 
 
 
 
                    f
 
                  1
 
               2       3
 
           4       5       6
 
       7       8       9       a
 
   e
Sim T:1.541871524786457375

   c                               d
 
 
 
 
 
 
 
                       f
 
               2       3
 
           4  1    5       6
 
       7       8       9       a
 
   e
Sim T:3.11373549115469273

   c                               d
 
 
 
 
 
 
 
                       f
 
               2      3
 
           4       5       6
              1
       7       8       9       a
 
   e
Sim T:3.18672765140654457

   c                               d
 
 
 
 
 
 
 
                         f
 
               2
                      3
           4       5       6
           1
       7               9       a
 
   e
Sim T:3.932504301279100623

   c                               d
 
 
 
 
 
 
 
 
                           f
               2
 
           4       5  3    6
        1
      7                9       a
 
   e
Sim T:4.737356205666750719

   c                               d
 
 
 
 
 
 
 
 
                             f
               2
 
           4       5       6
        1            3
    7                  9       a
 
   e
Sim T:5.594343221034535679

   c                               d
 
 
 
 
 
 
 
 
                              f
               2
 
           4       5       6
        1            3
                       9       a
 
   e
Sim T:5.918824235004200073

   c                               d
 
 
 
 
 
 
 
 
 
               2                  f
 
       1   4       5       6
 
                  3            a
 
   e
Sim T:7.982483888007819619

   c                               d
 
 
 
 
 
 
 
 
 
               2
 
       1   4       5       6
 
                  3            a
 
   e
Sim T:8.046090915781519419

   c                               d
 
 
 
 
 
 
 
 
 
      1        2
 
           4       5       6
 
                               a
 
   e
Sim T:12.24047467539547201

   c                               d
 
 
 
 
 
 
 
 
 
               2
 
           4       5       6
 
                               a
 
   e
Sim T:39.90734327008380854
Quote:
2.
Ball mass=1.7
x=8
v=(.75,3)
left all ten pins – a true “gutter ball”:
Code:
   c                               d
 
                               f
 
 
 
 
 
                   1
 
               2       3
 
           4       5       6
 
       7       8       9       a
 
   e
Sim T:0

   c                               d
 
 
 
 
 
 
 
                   1
                                  f
               2       3
 
           4       5       6
 
       7       8       9       a
 
   e
Sim T:1.25

   c                               d
 
 
 
 
 
 
 
                   1
 
               2       3
 
           4       5       6
 
       7       8       9       a
 
   e
Sim T:1.333333333333333343


----------------
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies
Reply With Quote
 
» Advertisement
» Current Poll
Who's the sexiest man alive? Johnny Depp or Robert Pattinson?
Johnny Depp - 27.27%
3 Votes
Robert Pattinson - 0%
0 Votes
Someone else (please specify) - 45.45%
5 Votes
I'm too macho to think a guy is sexy - 27.27%
3 Votes
Total Votes: 11
You may not vote on this poll.


All times are GMT -8. The time now is 09:15 AM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000-2009 Hypography
Part of the Hypography - Science for Everyone Network