Questions tagged [sicm]

Structure and Interpretation of Classical Mechanics (SICM) is a classical mechanics textbook written by Gerald Jay Sussman and Jack Wisdom with Meinhard E. Mayer.

8 questions
3
votes
1 answer

Why am I getting `Generic operator inapplicable` error in Scheme function

I am trying to go through exercises of book SICM using the provided scheme code, however I could not figure out the reason for the error, I am quite novice in Scheme so can any one tell what am I missing here? (define q (up (literal-function…
ipcamit
  • 330
  • 3
  • 16
2
votes
1 answer

mit-scheme graphics support for sicm

I am trying to work on the examples of Structure and Interpretation of Classical Mechanics. The book is based on mit-scheme. For some reason the mit-scheme installation is not able to use graphics: MIT/GNU Scheme running under GNU/Linux Type `^C'…
crow
  • 305
  • 4
  • 13
1
vote
0 answers

Scmutils for SICM

2 Edit: I found a solution. 1 Edit: I realaized that the description of my problem was pretty bad, so I state the problem anew, leaving the old question below. I installed mit-scheme which works perfectly fine. While trying to get scmutils…
maxfried
  • 21
  • 4
1
vote
1 answer

Why does this numerical integration of the solar system keep running? (MIT-Scheme SCMUTILS)

I'm trying to do a numerical integration of the solar system. I did this before in plain Scheme, now I want to do it using the very interesting SCMUTILS-library from MIT. What I did: I took solar system data from the Jet Propulsion Laboratory; that…
MathMan
  • 125
  • 6
1
vote
1 answer

Application of a number not allowed (Scheme)

I'm working a little with SCMUTILS package that implements MIT SCHEME. I'm running it from Emacs and I'm having trouble when using a function, can you help me? My code is: (define ((((delta eta) f) q) t) (let ((fmas (f (+ q (* 0.001 eta)))) …
aramirezreyes
  • 1,345
  • 7
  • 16
1
vote
2 answers

Error running scmutils by M-x mechanics in emacs

I have installed scmutils (for the book SICM) from the tar ball under /usr/local. I then put this in my .emacs: (defun mechanics () (interactive) (run-scheme "/usr/local/scmutils/mit-scheme/bin/scheme --library…
kawingkelvin
  • 3,649
  • 2
  • 30
  • 50
0
votes
1 answer

Creating an X11 frame in mit-scheme + scmutils

I am working through the book Structure and Interpretation of Classical Mechanics, which requires writing scheme code in mit-scheme for its exercises. I've installed scmutils, the scheme library provided with the book, and when I launch mit-scheme,…
Karthik
  • 83
  • 1
  • 5
0
votes
4 answers

How does this Scheme code return a value?

This code is taken from Sussman and Wisdom's Structure and Interpretation of Classical Mechanics, its purpose is to derive (close to) the smallest positive floating point the host machine…
Jack Fox
  • 953
  • 6
  • 20