Trying to find a constant or an equation

  • Thread starter Thread starter Some text.
  • Start date Start date
  • Tags Tags
    Constant
AI Thread Summary
The discussion focuses on programming a spaceship game's turning ability relative to its speed, aiming for a specific turning rate at varying speeds. The desired turning rates are 0.015 at a maximum speed of 3.00 and 0.028 at a lower speed of 0.5. The user seeks an equation that produces these turning rates, preferring a curve over a straight line. Suggestions include using functions like a-x² for a nearly constant turning rate at low speeds or employing inverse trigonometric functions for a plateau effect at both speed extremes. The conversation emphasizes the importance of visualizing the desired output through graph sketches to inform the equation development.
Some text.
Messages
4
Reaction score
0
I am programming a little spaceship game, and my quandry is as follows;

I want the ship's turning ability to be relative to it's speed.
Though the particular values of each have to fall within a specific range.

So for speed of 3.00 (max), i would like a turning rate of about 0.015
And for speed 0.5 or so, i want it to be around 0.028

So I am trying to organise an equation or two to produce these figures as a result of speed, as this is the driving force(Ranging from 0.0 to 3.0). A nice curve would be ideal, rather than a straight line.

Much thanks for any help, I am tired, can't code straight and can't find a way to crack this.
 
Mathematics news on Phys.org
Try by sketching a graph of what you want then think of functions that look like it.

Could be a-x2 if you want nearly constant turning rate at low speed, then decreasing faster and faster with speed. Or inverse sin, inverse tan, sigmoid, etc. if you want the turning rate to plateau at both ends of the speed range.
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Back
Top