Search:

Type: Posts; User: Phyoke

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    3,302

    Oh, I see my problem! I was checking the math...

    Oh, I see my problem! I was checking the math with WolframAlpha and it assumed the values I plugged in were degree values. Turns out my code works! Thanks for the reminder about the radians.
  2. Replies
    2
    Views
    3,302

    Problem using tan() and cos() functions

    I have a small bit of code that should accept an input as a double and use that input value in an equation with tan() and cos()...but it doesn't work and I don't know why. Here's my code:


    ...
Results 1 to 2 of 2