Revolutions unit

Issue #1158 new
bluesillybeard2 bczhefgthspswd created an issue

Add a angle unit for revolutions, equal to 2pi radians or 180 degrees.

Comments (4)

  1. bluesillybeard2 bczhefgthspswd reporter

    degrees and radians can be converted between by typing smething like “pi radian in degree”
    I’m thinking of being able to do something like “.5 revolution in degree”
    A lot of things use revolutions rather than other units. rpm for example. But often times it’s useful to convert that to degrees or radians, especially when using trigonometric functions,

  2. Tey'

    For units conversions, you can define the "revolution" user variable to that end:

    revolution = 2 pi radian
    = 6.28318530717958647693
    
    .5 revolution in degree
    = 180 (degree)
    
    .5 revolution in radian
    = 3.14159265358979323846 radian
    
    90 degree in revolution
    = 0.25 revolution
    
    3pi/2 radian in revolution
    = 0.75 revolution
    
  3. bluesillybeard2 bczhefgthspswd reporter

    That’s a pretty decent solution - would be nice if it was already a unit when first installed though. Thanks!

  4. Log in to comment