0
how to get degrees from radians?
4 Antworten
+ 2
Why you add Math.cos()? 
75° = 1.309.. radian.
Math.radian() convert degree to radian.
do this : 
Math.toDegrees(Math.acos(radian));
you should rename your convert var to cosRadian
+ 1
// cos(75°)          = 0.258819 rad;
    double radian = 0.258819;
    int        degree = 75;
        
    double toRadian =  
      Math.cos( Math.toRadians( degree) );        
    System.out.println( radian +" = "+ toRadian);
    // 0.258819 = 0.258819...
           
    int        toDegree = (int)
      Math.toDegrees( Math.acos( radian) );       
    System.out.println( degree +" = "+ toDegree);
    // 75 = 75
0
I need to calculate the values of the angles of the triangle.
According to the formula, I get the cos() value, which then, to convert to degrees, I need to look at the Bradis cosine table.
How do I convert this value to degrees?
0
zemiak: thank you!





