Go Back   Science Forums
View Single Post
Old 06-08-2007   #9 (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     
Arrow How to run MUMPS code on your PC

Quote:
Originally Posted by chendoh View Post
What would I need to play this on my Pc?
A MUMPS language interpreter. A free, non-expiring, single user copy of the one I use can be had at Free Caché Downloads. The vendor, Intersystems, requires you register an email address with them to get it, but in my experience won’t spam you unless you request it, or give the address to any other company.

Pay no attention to the name “Cache”. Intersystems makes a great effort to hide the fact that Cache is, in fact, a (much extended) implementation of the MUMPS language, but it’s one of the best.

Once installed, you need only click on the icon it installs in your system tray, or follow the start menu path to its “Terminal” application, and paste the following into it
Code:
 f  r R q:'$l(R)  s I=$p($p(R,";",$l(R,";")),":") i $l(I) s @I=R
(making sure to end with exactly 1 Enter keystroke) followed by the code in post #1, followed by a blank line (the Enter key), followed by
Code:
x XELCOL4
1 .25 5,5
1 .25 4,6
1 .25 6,6
1 .25 3,7
1 .25 5,7
1 .25 7,7
1 .25 2,8
1 .25 4,8
1 .25 6,8
1 .25 8,8
 8,0 1,1  2
 0,8 1,1  2
 0,8 9,1  2
 8,0 1,9  2
3 .5 5.5,2 .2,1
, where the last line gives the mass, radius position and velocity of the ball. Pressing enter at the following prompts will step you through the simulation, and, if you want, give you more detailed data than I’ve been posting here.

In addition to letting you run the MUMPS code I post so much of at hypography, the free application has the full IDE and documentation for the language, and a lot of extensions beyond the language standard. You may find, as I do, that MUMPS and Cache are nifty language for prototyping, simulating, and other math and science-y fun.

It goes without saying, let me know if I can be of any help.


----------------
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 07:23 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