• 2 Posts
  • 115 Comments
Joined 1 year ago
cake
Cake day: July 25th, 2023

help-circle
  • I also get annoyed at lightning fast responses. And I agree 100%

    It takes no time or energy to come up with one answer to a question. I’m fact, I think most humans’ brains are built for snap decisions like that.

    But to weigh multiple answers against each other, poking holes in the answers you are most inclined to believe? That takes thought. And if someone is not doing that for you, then odds are, their brain is simply letting them take the discussion less seriously than your brain (or your morality) allows.

    So I think you have every right to feel frustrated at such behavior.






  • Oh yeah, they normalize IQ every year, and 100 is always used as the median.

    But thanks to the Flynn Effect, getting a 100 (the number they always choose for the middle) in 2024 means you’re significantly smarter than someone who got a 100 in 1990.

    So when Carlin said, “think of a person with average intelligence” he was calling to mind (to his 1990 audience) a person who was average in 1990 but would score [EDIT: I originally said 70s to 80s, but I was off by a lot. Such a person would actually score right around 90 points] today.

    This is what happens when you take the lead out of gasoline.









  • Oddly enough, on a computer, I have not seen secant, cosecant, or cotangent.

    I have seen sin, cos, tan, arcsin, arccos, and arctan.

    Though the arc functions will only have one parameter, so if this is homework, you’ll probably be avoiding the arcs and using secant and friends

    Anyways:

    sin ( angle )

    Term In this example
    Parameter Angle is the parameter. It’s in radians, so in Java you’ll use a conversion like Math.toRadians(a) on whatever number you’re going to use as an argument
    Argument If I were to call sin(Math.PI / 4) then I would be passing the argument π / 4 to the function.
    In other words, if a parameter is a question, then an argument is an answer. If a parameter is a coin slot, than an argument is the coin you choose to insert.
    Operation An operation is practically synonymous with “function”. It is performed on inputs to arrive at an output. However, usually in code, I hear “operation” used to describe things like /, *, and +. Things that have multiple inputs and a single output, all of the same form.

    If someone is asking you, "which operation should you use in the body of function sin ( hyponetuse, opposite ) then I imagine the expected answer would be, / because

    1. / is an operation, and because
    2. opposite / hypotenuse will perform the division that yields the sine of whatever triangle those two sides belong to.

  • An algorithm is the meat of a function. It’s the “how.”

    And if you’re using someone else’s function, you won’t touch the “how” because you’ll be interacting with the “what.” (You use a function for what it does.)

    You will be creating your own algorithm by writing code, however. Because an algorithm is just a sequence of steps that, taken together, constitute an attempt at achieving an objective.

    Haus is saying all the little steps that go into approximating sine occur directly on the hardware.