Recent content by Nishiura_high

  1. N

    Find limit using L'Hopital's rule, ln, and e: how did they do these steps?

    Homework Statement This is from an online answer, and I don't understand the steps that it took. How did they go from the first red box to the second red box? Homework Equations L'Hopital's rule Laws of exponents The Attempt at a Solution I am really really confused. It...
  2. N

    Big-Oh algebra with logarithms that I don't get?

    My textbook says O(3log2 n) can be written as O(nlog2 3). Why is that? Thank you.
  3. N

    Use trig identities to simplify an expression (has sins and cosines)

    Homework Statement Use fundamental identities to simplify the expression: (sinx)^2 - (cosx)^2 ____________________ (sinx)^2 - (sinx cosx)*note: it's a numerator and denominator. The underscore line is the fraction line. *note: The answer in the back of the book is "1 + cotx" but I would...
  4. N

    Comp Sci (C++) ubuntu g++ bug: multiple definition of a function. What went wrong?

    Thanks for your post. Could you elaborate what you mean here, maybe with an example? I don't think I quite understand. Thanks! edit: So, here's what I'm thinking so far. Maybe the preprocessor makes main.cpp look like this: #include <iostream> //Except this would be expanded a whole lot...
  5. N

    Comp Sci (C++) ubuntu g++ bug: multiple definition of a function. What went wrong?

    Thanks so much for telling me about the One Definition Rule. I hadn't heard of it before, and I tried reading that article but it was hard to understand. From what I can understand from that article, it looks like I was doing things right by putting "ifndef NAME def NAME endif" How is...
  6. N

    Comp Sci (C++) ubuntu g++ bug: multiple definition of a function. What went wrong?

    Homework Statement I can't understand what's causing this bug. I'm not trying to actually use this program, but it's just something I made up to learn how it works, and understand why things don't work, while I'm learning C++. So my question is, what's causing this program to get this error...
Back
Top