Skip to content

Instantly share code, notes, and snippets.

@laszlokorte
Created November 4, 2012 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laszlokorte/4011883 to your computer and use it in GitHub Desktop.
Save laszlokorte/4011883 to your computer and use it in GitHub Desktop.
#lang racket
(define (anfangskurs A B D)
(define alpha (my-acos (/ (- (sin B) (* (cos D) (sin A))) (* (cos A) (sin D)))))
(cond
[(< 180 alpha) (- 360 alpha) alpha]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment