Search:

Type: Posts; User: Dr.Code

Search: Search took 0.08 seconds.

  1. Replies
    6
    Views
    1,988

    [SOLVED] Re: Help with Math.tan and Math.atan

    Wait, solved it, I should use Math.atan instead of tan and then convert the radians i get from that to degrees. And I get the correct output.

    Here's my final code:



    import java.util.Scanner;...
  2. Replies
    6
    Views
    1,988

    [SOLVED] Re: Help with Math.tan and Math.atan

    Well what I'm trying to do is to calculate an angle with only knowing the abutting catheter and the adjacent side.
    I do not know how to do that. I think it is something with arctan(Math.atan()), but...
  3. Replies
    6
    Views
    1,988

    [SOLVED] Re: Help with Math.tan and Math.atan

    That's the problem, I have no idea what it returns, but I will try the toDegrees method.
  4. Replies
    6
    Views
    1,988

    [SOLVED] Help with Math.tan and Math.atan

    I am pretty new to math and wanted to find out how to calculate the angle between the hypotenuse and the adjacent side, with only knowing the adjacent side and the abutting catheter.
    I know that tan...
Results 1 to 4 of 4