Numbers within units (50g)
|
09-19-2015, 05:49 PM
Post: #16
|
|||
|
|||
RE: Numbers within units (50g)
(09-18-2015 09:28 PM)Brad Barton Wrote: "Y register", "Level 2 on the stack". I've used these terms interchangeably. I think I understand what you want. You are calling a "unit conversion" the determination of the amplitude in a harmonic equation, for acceleration, velocity and displacement. Conceptually very misleading, took me a while to figure out what you meant. But I'm not going to lecture you and go straight to the point. I'm not sure unit conversions would help, a unit system is not really designed to work with variable conversion factors. I guess once you know your frequency, you could define custom units with a fixed conversion factor of 2*pi*f, which has to be computed at the time of the unit definition. But if you change f, you'd have to redefine the units. I think it'd be easier to write a program that multiplies by 2*pi*f than creating custom units all the time. The fact that the 50g accepts numeric factors at compile time wouldn't help you, since it happens only at compile time, meaning if you change the frequency you'd have to "recompile" the unit, so we are back to the previous case. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)