KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums kdb+ Challenge 2 – Work out the Angle Re: Challenge 2 – Work out the Angle

  • megan_mcp

    Administrator
    March 19, 2024 at 11:00 am

     

    Along with  ‘s help on how to convert to degrees, thanks for showing me a quicker way of solving it!

    q)ab: 10 
    q)bc: 10 
    q)atan ab%bc 
    0.7853982 
    q)atan[ab%bc]*180%acos -1 
    45f