How to use the asin() function in objective c
        Posted  
        
            by 
                Daniel Thatcher
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Daniel Thatcher
        
        
        
        Published on 2010-12-30T18:46:14Z
        Indexed on 
            2010/12/30
            18:54 UTC
        
        
        Read the original article
        Hit count: 311
        
I am trying to use the asin() function in an iOS app to calculate an angle from the y axis. I am using trigonometry, but I must be doing something wrong with the asin() function, as when I try to pass in 0.707.... as asin(rotation) where rotation is a double equivalent to 0.707..., I get around 0.78....., where as my calculator gives me 44.991..., which is about correct from the variables passed in. What am I doing wrong, please can somebody help me?
© Stack Overflow or respective owner