1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tangent of an angle

Discussion in 'Gauges' started by COBS, 25/7/12.

  1. COBS

    COBS

    Joined:
    31/8/09
    Messages:
    284
    Country:
    australia
    I'm trying to get the Tan value of an angle to do a simple Trig
    calculation.

    The following does not return the Tan value.
    HTML:
    <GaugeString>%DVE %((A:Plane pitch radians, radians) (A:INCIDENCE ALPHA, radians) + tg)%!7.4f!% tan%</GaugeString> 
    Any suggestions ?

    Cheers
    Karol
  2. chris

    chris

    Joined:
    24/1/09
    Messages:
    506
    Country:
    indonesia
    The variable is 'A:pLANE PITCH DEGREES,Radians'.
  3. COBS

    COBS

    Joined:
    31/8/09
    Messages:
    284
    Country:
    australia
    Chris

    Thank you so very much for your response.
    I spent a week on and off on that problem , I tried quite a few variations.
    Unfortunately I never stopped to think that it might be an incorrect variable.

    Thanks to you , my instrument now works magnificently .

    Cheers
    Karol

Share This Page