Go Back   Science Forums > Special forums > Competitions
Reply
 
LinkBack Thread Tools
Old 06-08-2007   #11 (permalink)
CraigD's Avatar
Creating

Administrator
Editor

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     
Angry 5 pins left - no win

Quote:
Originally Posted by Janus View Post
OKay, how about:
Position(3.5,2)
velocity (.30,1)
The 3, 4, 6, 7, and 8 pins are left standing.
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:2.703563949598667274

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

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

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

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

   c                               d
 
 
 
 
 
 
 
 
 
                       3
                 f
           4               6
 
       7       8    5  9       a
 
   e
Sim T:7.031174073234487094

   c                               d
 
 
 
 
 
 
 
 
 
                       3
 
           4     f         6
 
       7       8           9   a
 
   e
Sim T:8.873646525264264782

   c                               d
 
 
 
 
 
 
 
 
 
                       3
 
           4               6
                 f
       7       8             9 a
 
   e
Sim T:10.13497354372257228

   c                               d
 
 
 
 
 
 
 
 
 
                       3
 
           4               6
                               a
       7       8  f
 
   e
Sim T:12.27924349590418381

   c                               d
 
 
 
 
 
 
 
 
 
                       3
 
           4               6    a
 
       7       8
 
   e
Sim T:14.83516568196026307

   c                               d
 
 
 
 
 
 
 
 
 
                       3
 
           4               6
 
       7       8
 
   e
Sim T:21.50241199476467797


----------------
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies
Reply With Quote
Old 06-09-2007   #12 (permalink)
chendoh's Avatar
chendoh
Guest


 



Re: Newtonian Bowling

CraigD, or if I may call you CD, in the interest of brevitity.

I scanned your post last night 'bout 8:30pm est. an had to be in work at 9pm est.
I did see the download page for the 'terperter @ Free Cache', an will be doing the setup..........give me a couple' a days........SteveY


Ps....Is the 5.2.3mv ver. the one ya pay for?
Reply With Quote
Old 06-09-2007   #13 (permalink)
CraigD's Avatar
Creating

Administrator
Editor

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     
Post Cache versions trivia

Quote:
Originally Posted by chendoh View Post
... I did see the download page for the 'terperter @ Free Cache', an will be doing the setup..........give me a couple' a days........SteveY
Cool.
Quote:
Ps....Is the 5.2.3mv ver. the one ya pay for?
I’m running an older version, 5.0.11. This is because the “client tools” – the “Studio” editor, etc. – for versions 5.0.x and 5.1+ are not compatible with one another’s servers, and I need to use them not only to talk to the free instance of Cache on my PC, but to remotely access ones at several sites where I work that are running 5.0.x.

Everything I post at hypography is pure, ANSI X11.1-1995 standard MUMPS, meaning it will run on practically every implementation of MUMPS written since the early 1990s, and most older versions – though a few of the more memory-hungry ones may have problems on some older versions.


----------------
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies
Reply With Quote
Old 06-10-2007   #14 (permalink)
chendoh's Avatar
chendoh
Guest


 



Re: Newtonian Bowling

I DL, and installed 5.2.0.329.1_su, this morning, glad I have DSL, even with that it took 40".

Followed your prompts from post #9, and had my first game of NB just using your code....experimentation awaits!

A question, can the code be saved or does it have to be entered for each new game?
Reply With Quote
Old 06-10-2007   #15 (permalink)
CraigD's Avatar
Creating

Administrator
Editor

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     
Thumbs up Saving MUMPS local symbol data

Quote:
Originally Posted by chendoh View Post
I DL, and installed 5.2.0.329.1_su, this morning, glad I have DSL, even with that it took 40".

Followed your prompts from post #9, and had my first game of NB just using your code....experimentation awaits!
Congratulations! I believe you are the first hypographer other than me with ready access to a MUMPS interpreter

Now that you have a technological edge over the competition (OK, only Jay-qu and Janus so far – clearly the lack of huge cash prizes is making this a rather low-key competition ), you should pretty quickly be able to trail-and-error your way to a winning solution – though likely not before you begin cursing my crude interface for its lack of a “save/restore” function
Quote:
A question, can the code be saved or does it have to be entered for each new game?
Yes, it can easily be saved.

XELCOL4 is, in MUMPS terms a “local symbol”, meaning it persists only as long as your job (terminal session). It’s easy to copy it to a persistent, on-disk “global”, by entering something like this (only needs to be done once, unless changes are made to XELCOL4):
Code:
m ^SAVENB=XELCOL4
Then, each time you start a new terminal session, you can copy it back to its local symbol with this:
Code:
m XELCOL4=^SAVENB
“M” is the abbreviation for the MUMPS command “merge” – you can enter the full keyword “merge” if you like, but most people prefer to use the abbreviations. Note that the only difference between a local and a global is that the latter begins with the special character “^”.

If you want a lot of convenience, you can create a small xecute code program to load and start the game, by entering something like
Code:
s ^playNB="m XELCOL4=^SAVENB x XELCOL4"
Then, to load and start the game, you need only enter (note that MUMPS local and global references are case sensitive, so “^playNB” is not the same as “^PlayNB” or “^playnb”):
Code:
x ^playNB
The global reference you use to store things is MUMPS is up to you – as long as you don’t use one being used for something else, it’s OK. You can tell if a global (such as “^MYGLOBAL”) exists by entering:
Code:
w $d(^MYGLOBAL)
If “0” is displayed, it doesn’t. You can use a single global name to store all things of a certain kind, such as xecute code from hypgraphy, by varying the above code slightly to something like
Code:
m ^HYPOX("XELCOL4")=XELCOL4
and
Code:
m XELCOL4=^HYPOX("XELCOL4")
I personally use a pretty jazzy little collection of utilities to keep a “library” of useful xecute code programs, which has automatic versioning, and basic shared subroutine loading features. It’s anybody’s for the asking, but I think it might be more than you need unless you begin seriously writing and/or managing xecute code programs.


----------------
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies
Reply With Quote
Old 06-12-2007   #16 (permalink)
CraigD's Avatar
Creating

Administrator
Editor

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     
Smile Bump - challenge - hint

Here’s another egregious bump for my poor, unpopular competition thread:

Almost anybody who knows classical mechanics (ie: conservation of momentum and energy) at some point comments that the behavior of frictionless, perfectly elastic collection of bodies is completely deterministic, and can be calculated without much difficulty using paper and pencil. Here’s your chance to prove it!

A hint: if the completely deterministic paper and pencil (or computer equivalent) approach seems like too much work, try just submitting a guess where the ball at least hits the 1 and 2 pins, take note of which pins don’t get hit, and which pins (or the ball) come close to hitting them, and adjust your initial guess slightly so that they are hit. Varying any single one of the 3 inputs – x, h, or v – will in most cases eventually yield a win.

Detailed position and velocity data is available for any time in the simulation – Just let me know if you’d like something more than the rought ASCII “movies” I’ve been providing.


----------------
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies
Reply With Quote
Old 06-12-2007   #17 (permalink)
Mercedes Benzene's Avatar
Student

Moderator
Editor

Location:
Montgomery County, Maryland
Latest blog entry:
 
Mercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond repute
Send a message via AIM to Mercedes Benzene
 



Not Ranked  0 score     
Re: Newtonian Bowling

Quote:
Here’s another egregious bump for my poor, unpopular competition thread:
I'll make it sticky, so maybe it will become more popular.
I would play along, but it doesn't seem like something I would be good at.


----------------
My Hypo-blog.

"No power in the 'verse can stop me."

Moderator -- Chemistry, Biology, Watercooler, Competitions, Architecture.
Join our Facebook group
Reply With Quote
Old 06-12-2007   #18 (permalink)
CraigD's Avatar
Creating

Administrator
Editor

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     
Wink Intuition, persistence, luck, and 111 monkeys

Thanks for the stickification, Mercedes.
Quote:
Originally Posted by Mercedes Benzene View Post
I would play along, but it doesn't seem like something I would be good at.
Absent detailed calculation, intuition, persistence, and luck count in this game. Keep in mind that if 111 monkey tried, at random one should get a strike – maybe more, as monkeys do have pretty human-like mechanical intuition.


----------------
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies
Reply With Quote
Old 06-12-2007   #19 (permalink)
Jay-qu's Avatar
Ancora Imparo

Moderator
Editor
Gallery Curator

Location:
Australia
 
Jay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond repute
 



Not Ranked  0 score     
Re: Intuition, persistence, luck, and 111 monkeys

Can you put spin on the ball

ok modification to my guess:
position (4,2)
velocity (.2,1.5)


----------------
Jay-qu
::Hypography Moderator of..
Chemistry, Physics & Mathematics, Astronomy & Cosmology, Space and Technology & gadgets Forums

"I don't think much of a man who is not wiser today than he was yesterday."
-Abraham Lincoln

Physics Guides - Physics Resources and help
Reply With Quote
Old 06-12-2007   #20 (permalink)
CraigD's Avatar
Creating

Administrator
Editor

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     
Unhappy 3 pins standing - no win

Quote:
Originally Posted by Jay-qu View Post
Can you put spin on the ball
Not yet, though it would be interesting to create a body type with angular momentum and a gravity-friction coefficient. It’s on my todo list.
Quote:
ok modification to my guess:
position (4,2)
velocity (.2,1.5)
Left the 4, 7, and 10 pins (a classic split, in real bowling terms):
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.75045160074368274

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

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

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

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

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

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

   c                               d
 
 
 
 
 
 
 
 
 
 
 
           4   f   5       6
 
       7      8      9     3   a
 
   e
Sim T:5.630775829456034979

   c                               d
 
 
 
 
 
 
 
 
 
 
 
           4        5      6
                f
       7                       a
                    9       3
   e
Sim T:6.333922984969319646

   c                               d
 
 
 
 
 
 
 
 
 
 
 
           4        5      6
                f
       7                       a
                    9
   e
Sim T:6.433163198212796601

   c                               d
 
 
 
 
 
 
 
 
 
 
 
           4         5     6
 
       7        f              a
 
   e
Sim T:7.814896747684310909

   c                               d
 
 
 
 
 
 
 
 
 
 
 
           4           5   6
 
       7                       a
 
   e
Sim T:10.13426662809773641

   c                               d
 
 
 
 
 
 
 
 
 
 
                           6
           4             5
 
       7                       a
 
   e
Sim T:12.74276834571026973

   c                               d
 
 
 
 
 
 
 
 
                                6
 
 
           4
 
       7                       a
 
   e
Sim T:26.93818364451137871

   c                               d
 
 
 
 
 
 
 
 
 
 
 
           4
 
       7                       a
 
   e
Sim T:31.91081658739413835


----------------
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newtonian mechanics kolahal_b Science Projects and Homework 0 10-03-2006 02:41 AM
newtonian mechanics kolahal_b Science Projects and Homework 0 08-02-2006 10:25 AM
newtonian mechanics kolahal_b Science Projects and Homework 2 08-01-2006 05:53 AM
Newtonian physics: torque on a planet sun system Tim_Lou Physics and Mathematics 2 05-20-2006 01:20 PM

» Advertisement
» Current Poll
Who's the sexiest man alive? Johnny Depp or Robert Pattinson?
Johnny Depp - 30.00%
3 Votes
Robert Pattinson - 0%
0 Votes
Someone else (please specify) - 40.00%
4 Votes
I'm too macho to think a guy is sexy - 30.00%
3 Votes
Total Votes: 10
You may not vote on this poll.


All times are GMT -8. The time now is 08:02 PM.

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.
Search Engine Optimization by vBSEO 3.3.2
Copyright © 2000-2009 Hypography
Part of the Hypography - Science for Everyone Network