Jump to content
Science Forums

Newtonian Bowling


CraigD

Recommended Posts

ball mass=1.75

x=7.5

v=(-1.364,3.5)

Left the 1, 2, 4, 6, 7 and 10.
   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:.938042569037553628

  c                               d







                  1
                     f
              2

          4       5       6

      7       8       9       a

  e
Sim T:1.596323416703450284

  c                               d







                  1

              2    f

          4      5        6

      7       8       9       a

  e
Sim T:2.226039637080733581

  c                               d







                  1

              2
                   f
          4               6
               5
      7      8        9       a

  e
Sim T:2.917817625494016291

  c                               d







                  1

              2

          4        f      6
                5
      7               9       a

  e
Sim T:4.15268600178685286

  c                               d







                  1

              2

          4               6
                   f
      7          5    9       a

  e
Sim T:5.926555225411740156

  c                               d







                  1

              2

          4               6
                   f
      7               9       a
                 5
  e
Sim T:6.534286716481233578

  c                               d







                  1

              2

          4               6
                   f
      7               9       a

  e
Sim T:7.653032996700578

  c                               d







                  1

              2

          4               6

      7                  9    a

  e
Sim T:14.10639177047632938

  c                               d







                  1

              2

          4               6

      7                       a

  e
Sim T:31.90831924116200931

Link to comment
Share on other sites

ball mass=1.85

x=8.5

v=(-1.258,3)

Left the 7.

 

I’ve modified the ASCII movie slightly. It rounds so that the ball and pin positions are represented more accurately, and lists the bodies that collide in each subsequent event.

   c                               d

                                f





                  1

              2       3

          4       5       6

      7       8       9       a

  e
Sim T:0 Event:15,6

  c                               d







                  1

              2       3
                         f
          4       5       6

      7       8       9       a

  e
Sim T:1.43907583377259264 Event:15,3

  c                               d







                  1

              2       3
                         f
          4       5       6

      7       8       9       a

  e
Sim T:1.447888704318619502 Event:6,10

  c                               d







                  1

              2     3

          4       5   f

      7       8       9     6 a

  e
Sim T:1.880071654864945132 Event:15,9

  c                               d







                  1
                    3
              2

          4       5
                      f
      7       8       9       a
                            6
  e
Sim T:1.932943148546511981 Event:6,14

  c                               d







                  1
                   3
              2

          4       5
                     f
      7       8               a
                      9
  e
Sim T:2.19237583580805565 Event:3,1

  c                               d







                  1
                  3
              2

          4       5
                    f
      7       8                a

  e                   9
Sim T:2.31749218863065248 Event:14,9

  c                               d







                  1
                  3
              2

          4       5
                    f
      7       8                a

  e
Sim T:2.321009756557812192 Event:15,5

  c                               d







                  1
                  3
              2

          4       5
                    f
      7       8                a

  e
Sim T:2.329070617620771391 Event:15,8

  c                               d






                  1

             3
              2
               5
          4

      7       8                 a
                 f
  e
Sim T:3.460988498417479113 Event:5,2

  c                               d






                  1

            3
              2
               5
          4

      7       8                 a
                 f
  e
Sim T:3.496636249140936507 Event:15,14

  c                               d





                  1


         3   2

              5
          4

      7      8                   a

  e
Sim T:4.221888937839881708 Event:10,13

  c                               d




                  1


            2
     3

             5
          4
           8
      7

  e
Sim T:5.000907710916319147 Event:3,12

  c                               d



                  1


           2




          4  5
          8
      7

  e
Sim T:5.675680550662086102 Event:8,4

  c                               d



                  1


           2




          4  5
          8
      7

  e
Sim T:5.691837853239265188 Event:4,5

  c                               d



                  1

          2





          4 5
         8
      7

  e
Sim T:6.242294041376330942 Event:8,12

  c                1              d

     2








      4

             5
      7

  e
Sim T:9.63406954976551748 Event:1,11

  c                               d

     2








      4

             5
      7

  e
Sim T:9.77292020602538471 Event:11,2

  c                               d









    4


             5
      7

  e
Sim T:11.28176509966627094 Event:12,4

  c                               d












             5
      7

  e
Sim T:13.01567538514052121 Event:5,14

  c                               d













      7

  e
Sim T:22.93571213652677683 Event:

Link to comment
Share on other sites

ball mass=1.85

x=8.5

v=(-1.257,3)

left the 7 and 10:

   c                               d

                                f





                  1

              2       3

          4       5       6

      7       8       9       a

  e
Sim T:0 Event:15,6

  c                               d







                  1

              2       3
                         f
          4       5       6

      7       8       9       a

  e
Sim T:1.438807635021330475 Event:15,3

  c                               d







                  1

              2       3
                         f
          4       5       6

      7       8       9       a

  e
Sim T:1.448854386271650187 Event:6,10

  c                               d







                  1
                    3
              2

          4       5   f

      7       8       9     6 a

  e
Sim T:1.897587058505561603 Event:15,9

  c                               d







                  1
                    3
              2

          4       5
                      f
      7       8       9       a
                            6
  e
Sim T:1.93479326970107173 Event:6,14

  c                               d







                  1
                   3
              2

          4       5
                     f
      7       8               a
                      9
  e
Sim T:2.200528215689908015 Event:3,1

  c                               d







                  1
                  3
              2

          4       5
                    f
      7       8               a

  e                   9
Sim T:2.318457636642564684 Event:14,9

  c                               d







                  1
                  3
              2

          4       5
                    f
      7       8               a

  e
Sim T:2.324444246603737061 Event:15,5

  c                               d







                  1
                  3
              2

          4       5
                    f
      7       8               a

  e
Sim T:2.326803758275314642 Event:15,8

  c                               d






                  1

             3
              2
               5
          4

      7       8               a
                 f
  e
Sim T:3.4659835395899419 Event:5,2

  c                               d






                  1

            3
              2
               5
          4

      7       8               a
                 f
  e
Sim T:3.482766424846678207 Event:15,14

  c                               d





                  1


         3   2

              5
          4

      7      8                a

  e
Sim T:4.22116599403668131 Event:8,4

  c                               d



                  1


           2

  3


          4 5
          8
      7                       a

  e
Sim T:5.707459319822652103 Event:3,12

  c                               d



                  1


           2




          4 5
          8
      7                       a

  e
Sim T:5.707709906986732399 Event:4,5

  c                               d



                  1


          2




          4 5
         8
      7                       a

  e
Sim T:6.123612317946287372 Event:11,1

  c                               d

     2








      4

  8          5
      7                       a

  e
Sim T:9.62979232465207777 Event:12,8

  c                               d

     2








     4

             5
      7                       a

  e
Sim T:9.86103145683617183 Event:11,2

  c                               d









    4


             5
      7                       a

  e
Sim T:11.18159118410046199 Event:12,4

  c                               d












             5
      7                        a

  e
Sim T:12.37132736865529131 Event:5,14

  c                               d













      7                        a

  e
Sim T:24.12109739038557328 Event:13,10

Link to comment
Share on other sites

Does this mean a change to the basic code in post #1?
Yes – a single node of the code is changed by the addition of a couple of “+.5”s:
K W s B="" F  s B=$o(M() q:B=""  S X=WT-T(:cup:*VX(:(+X(;),Y=WT-T(B)*VY(B)+Y(B),$E(W(Y/.5+.51),X/.25+.51)=$E("123456789abcdef",B) ;XELCOL4(-1,2)

It doesn’t effect the simulation, just the way the ASCII movie displays. As it seems an improvement, I’ll update post #1 to have it

Time for the price is right!

ball mass=1.85

x=8.5

v=(-1.25,3)

Left the 7 (not “cheating” by trying it on your own simulation, eh?):
   c                               d

                                f





                  1

              2       3

          4       5       6

      7       8       9       a

  e
Sim T:0 Event:15,6

  c                               d







                  1

              2       3
                         f
          4       5       6

      7       8       9       a

  e
Sim T:1.439346434158197037 Event:15,3

  c                               d







                  1

              2       3
                         f
          4       5       6

      7       8       9       a

  e
Sim T:1.446927381385526788 Event:6,10

  c                               d







                  1

              2     3

          4       5    f

      7       8       9     6 a

  e
Sim T:1.873670927568300826 Event:15,9

  c                               d







                  1
                    3
              2

          4       5
                      f
      7       8       9       a
                            6
  e
Sim T:1.931102903302500473 Event:6,14

  c                               d







                  1
                  3
              2

          4       5
                     f
      7       8                a
                      9
  e
Sim T:2.192992308089939156 Event:3,1

  c                               d







                  1
                  3
              2

          4       5
                    f
      7       8                a

  e                   9
Sim T:2.316646171198307894 Event:14,9

  c                               d







                  1
                  3
              2

          4       5
                    f
      7       8                a

  e
Sim T:2.317598591940404971 Event:15,5

  c                               d







                  1
                  3
              2

          4       5
                    f
      7       8                a

  e
Sim T:2.331454503763453984 Event:15,8

  c                               d






                  1

            3
              2
               5
          4

      7       8                  a
                 f
  e
Sim T:3.455983135268887157 Event:5,2

  c                               d






                  1

            3
              2
               5
          4

      7       8                  a
                 f
  e
Sim T:3.511277027314842549 Event:13,10

  c                               d





                  1


          3  2

              5
          4

      7      8

  e            f
Sim T:4.059567104235840094 Event:15,14

  c                               d





                  1


         3   2

              5
          4

      7      8

  e
Sim T:4.222798422350841003 Event:3,12

  c                               d




                  1

           2




          4  5
          8
      7

  e
Sim T:5.644345162804059775 Event:8,4

  c                               d



                  1


           2




          4  5
          8
      7

  e
Sim T:5.686711090285708485 Event:4,5

  c                               d



                  1

          2





          4 5
        8
      7

  e
Sim T:6.375443312517725748 Event:8,12

  c                               d
                   1
     2








       4

             5
      7

  e
Sim T:9.43466455528544241 Event:11,1

  c                               d

    2








      4

             5
      7

  e
Sim T:9.92946462403055255 Event:11,2

  c                               d










    4

             5
      7

  e
Sim T:11.38909790163314863 Event:12,4

  c                               d













      7      5

  e
Sim T:13.61892049941984903 Event:5,14

  c                               d













      7

  e
Sim T:22.90846413087447138 Event:

Link to comment
Share on other sites

Guest chendoh
Ok, I see how it is. Your bidding $1 eh?

:(

Ah...Em...ha...well...no, just, I didn't see anything below1.257, then you tried .258, so.. I went to .259..:cup:

 

Don't cha' hate it when they do that on the show?:turtle:

 

I'm the one with the sim on my Pc, Ya'd think I'd have it solved by now:eek_big:.

 

But it seems that eveytime CraigD is comfortable, something cropts up, that changes the code.

 

Somewhere in this post i heard.....Life is just a beta test....

Link to comment
Share on other sites

Guest chendoh
Left the 7 (not “cheating” by trying it on your own simulation, eh?)
No, guilty as charged!:turtle:

 

My frustrations, start because I have no prior experience in databse.

And I try to understand what you, JQ, Freeztar, and Janus, percieve (Outside of Newtonian Bowling) as an exersize in the relationship of facts.

 

It doesn't come easy to me, believe me, my brothers have tried.

I have Office Pro, because I like to "tinker" with Acess......

 

 

I Love Astronomy and Cosmology, and Its only now that I kick myself, because I didn't persue Calculus and Physics, in high school...:cup:

Link to comment
Share on other sites

ball mass=1.83

x=8.5

v=(-1.257,3)

WE HAVE A WINNER! B) B) :bounce: B) B) :cup: ;) :wave: :( :turtle:
   c                               d

                                f





                  1

              2       3

          4       5       6

      7       8       9       a

  e
Sim T:0 Event:15,6

  c                               d







                  1

              2       3
                         f
          4       5       6

      7       8       9       a

  e
Sim T:1.438807635021330475 Event:15,3

  c                               d







                  1

              2       3
                         f
          4       5       6

      7       8       9       a

  e
Sim T:1.448769776183140804 Event:6,10

  c                               d







                  1
                    3
              2

          4       5   f

      7       8       9     6 a

  e
Sim T:1.89934635070567371 Event:15,9

  c                               d







                  1
                    3
              2

          4       5
                      f
      7       8       9       a
                            6
  e
Sim T:1.936200329830798609 Event:6,14

  c                               d







                  1
                  3
              2

          4       5
                     f
      7       8               a
                      9
  e
Sim T:2.203449203440530505 Event:3,1

  c                               d







                  1
                  3
              2

          4       5
                    f
      7       8               a

  e                   9
Sim T:2.314329648172361571 Event:14,9

  c                               d







                  1
                  3
              2

          4       5
                    f
      7       8               a

  e
Sim T:2.328164601927621807 Event:15,5

  c                               d







                  1
                  3
              2

          4       5
                    f
      7       8               a

  e
Sim T:2.329458455939296731 Event:5,2

  c                               d






                  1

            3
              2
               5
          4

      7       8               a
                 f
  e
Sim T:3.479248734570031504 Event:15,8

  c                               d






                  1

            3
              2
               5
          4

      7       8               a
                 f
  e
Sim T:3.505181592034671691 Event:15,14

  c                               d





                  1


         3   2

              5
          4

      7      8                a

  e
Sim T:4.257133039767021635 Event:3,12

  c                               d



                  1


           2




          4 5
          8
      7                       a

  e
Sim T:5.681205505711788946 Event:8,45.853258259594021118

  c                               d



                  1


           2




          4 5
          8
      7                       a

  e
Sim T:5.853258259594021128 Event:5,4

  c                               d



                  1


          2




          4 5
          8
      7                       a

  e
Sim T:5.994422877087717512 Event:8,7

  c                               d

                  1

        2






       4
            5
       8
      7                       a

  e
Sim T:7.918401102087622326 Event:1,11

  c                               d

     2








     4
             5
    8
      7                       a

  e
Sim T:9.621357619443284 Event:11,2

  c                               d









  4

  8
             5
                              a
     7
  e
Sim T:11.12511899331792562 Event:8,1211.20252478936589429

  c                               d









  4


             5
                              a
     7
  e
Sim T:11.20252478936589439 Event:12,4

  c                               d












             5
                              a
     7
  e
Sim T:11.36030547837886589 Event:7,14

  c                               d












              5
                               a

  e
Sim T:14.80083807382718898 Event:14,5

  c                               d













                                a

  e
Sim T:32.88584355103495829 Event:13,10

  c                               d















  e
Sim T:83.53243646822553288 Event:

Link to comment
Share on other sites

After 15 tries by freeztar, 24 by all players, freeztar has won the first hypography Newtonian Bowling competition! Here’s a summary of the competion:

0. (example, doesn’t count): ball mass 3, x=1.5, (h,v)=(.87,1) -> 2 left: 4, 10

1. Jay-qu: ball mass 3, x=4, (h,v)=(.25,1.5) -> 2 left: 4, 7

2. chendoh: ball mass 3, x=1.5, (h,v)=(.86,1.3) -> 6 left: 1, 3, 4, 6, 7, 8

3. chendoh: ball mass 3, x=5.5, (h,v)=(.2,1) -> 6 left: 1, 2, 4, 5, 7, 8

4. Janus: ball mass 3, x=3.5, (h,v)=(.3,1) -> 5 left: 3, 4, 6, 7, 8

5. Jay-qu: ball mass 3, x=4, (h,v)=(.2,1.5) -> 3 left: 4, 7, 10

6. freeztar: ball mass 3, x=4, (h,v)=(.13,1.5) -> 5 left: 3, 4, 6, 7, 10

7. freeztar: ball mass 3, x=5.1, (h,v)=(.01,2) -> 3 left: 2, 7, 8

8. Jay-qu: ball mass 1.75, x=4.5, (h,v)=(.2,3) -> 2 left: 7, 10

9. freeztar: ball mass 1.7, x=5.1, (h,v)=(.13,1.5) -> 5 left: 2, 4, 5, 6, 10

10. freeztar: ball mass 1.7, x=8, (h,v)=(.75,3) -> 10 left: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10

11. freeztar: ball mass 1.7, x=8.5, (h,v)=(-1.5,3) -> 3 left: 1, 8, 10

12. freeztar: ball mass 1.7, x=8.5, (h,v)=(-1.25,3) -> 4 left: 4, 7, 8, 10

13. freeztar: ball mass 1.8, x=8.5, (h,v)=(-1.25,3) -> 1 left: 10

14. freeztar: ball mass 1.8, x=8.5, (h,v)=(-1.25,3.1) -> 2 left: 8, 10

15. freeztar: ball mass 1.8, x=8.5, (h,v)=(-1.25,3.05) -> 4 left: 4, 7, 8, 10

16. freeztar: ball mass 1.85, x=8.5, (h,v)=(-1.25,3) -> 1 left: 10

17. freeztar: ball mass 1.85, x=8.5, (h,v)=(-1.26,3) -> 1 left: 7

18. freeztar: ball mass 1.85, x=8.5, (h,v)=(-1.255,3) -> 1 left: 10

19. Jay-qu: ball mass 1.75, x=8.5, (h,v)=(-1.464,3.5) -> 2 left: 7, 10

20. Jay-qu: ball mass 1.75, x=7.5, (h,v)=(-1.364,3.5) -> 6 left: 1, 2, 4, 6, 7, 10

21. freeztar: ball mass 1.85, x=8.5, (h,v)=(-1.258,3) -> 1 left: 7

22. freeztar: ball mass 1.85, x=8.5, (h,v)=(-1.257,3) -> 2 left: 7, 10

23. chendoh: ball mass 1.85, x=8.5, (h,v)=(-1.25,3) -> 1 left: 7

24. freeztar: ball mass 1.83, x=8.5, v=(-1.257,3) -> 0 left

 

If people want to keep playing, feel free - I’m going to bed now, though… :rockon:

 

Ideas for a next XELCOL4 competition include:

  1. Adding pins
  2. Reducing the diameters of the pins and/or ball
  3. Adding random inaccuracies to the player’s input, running say 100 simulations, and counting the number of strikes. Player with the most strikes for a single input wins.
  4. A pool simulation (still need to make some enhancements to the code to support this)

Votes and suggestions for a next competition are invited. :smart:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...