Created
November 18, 2012 13:21
-
-
Save davidshepherd7/4105231 to your computer and use it in GitHub Desktop.
1.31 Velocity Transformation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Just use the transformation from the example then pull out the velocity from the tuple. | |
(define (velocity-transform coordinate-transform) | |
(compose (lambda (tuple) (velocity tuple)) (F->C coordinate-transform))) | |
;; ;; Or explicitly using Gamma-bar this is: | |
;; (define (velocity-transform coordinate-transform) | |
;; (define (f-bar q-prime) | |
;; (define q (compose coordinate-transform (Gamma q-prime))) | |
;; (Gamma q)) | |
;; (compose (lambda (x) (velocity x)) (Gamma-bar f-bar))) | |
(show-expression | |
((velocity-transform p->r) | |
(->local 't (up 'r 'theta) (up 'rdot 'thetadot)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment