Code Monkey home page Code Monkey logo

sicm-solutions's Introduction

Structure and Interpretation of Classical Mechanics

The goal of this repository is to provide the solutions for the exercises of the book "Structure and Interpretation of Classical Mechanics", by Gerald Jay Sussman and Jack Wisdom.

Feel free to contribute with a Pull Request if you have any other solutions or fixes to my solutions.

How to use

Scheme and Scmutils lib

Reference: http://groups.csail.mit.edu/mac/users/gjs/6946/linux-install.htm

This is mainly for linux.

  1. Download the tarball from http://groups.csail.mit.edu/mac/users/gjs/6946/scmutils-tarballs/

Ex: For my system (linux 64-bit), I downloaded the file scmutils-20140302-x86-64-gnu-linux.tar.gz

  1. Log into root with

sudo -s

  1. Execute:
cd /usr/local
tar -xvzf [path-to-your-tarball.tar.gz]
  1. To start Scheme, use

/usr/local/bin/mechanics

Or, if this directory is in your path, use

mechanics

  1. Useful documentation is under /usr/local/scmutils/manual/

Edwin and Emacs

You can use scheme/scmutils with the interface provided by the tarball (Edwin) or with Emacs, if you areadly have it installed and prefer to.

Edwin is an Emacs-like editor, and it opens when you run "mechanics".

To use scheme/scmutils with Emacs, include the following in your .emacs:

(defun mechanics ()
  (interactive)
  (run-scheme
    "ROOT/mit-scheme/bin/scheme --library ROOT/mit-scheme/lib"
    ))

Replacing ROOT with the directory in which smutils is installed, in my case /usr/local/scmutils. Now, restart emacs (or use C-x C-e to evaluate the function above), and run the environment with M-x mechanics. Checkout this reference for more: http://redsymbol.net/articles/using-gnu-emacs-with-scmutils/

Useful links

Edwin cheat sheet: http://groups.csail.mit.edu/mac/users/gjs/6946/cheat-sheet.pdf

Scmutils begginer's guide: http://groups.csail.mit.edu/mac/users/gjs/6946/beginner.pdf

Scmutils manual: http://groups.csail.mit.edu/mac/users/gjs/6946/refman.pdf

sicm-solutions's People

Contributors

pcatach avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.