Recent content by nightowl03d

  1. N

    Gap in Understanding Physics: Seeking Mathematics Help

    Not quite, calculus is good training for solving the boring apply the equation type of problems. Discrete mathematics is good training for solving the more interesting "show that" type of problems. :-) You will probably want to learn both. I would suggest learning calculus first, because...
  2. N

    Admissions Which offer of admission should I accept?

    Both institutions have a fine undergraduate physics program. So it comes down to which place offers the best environment for focused study. When it gets really cold outside, there is nothing to do but study. Therefore, since Wisconsin has much colder winters than Pennsylvania, I would recommend...
  3. N

    Undergrad What do I need to know before studying complex number calculus?

    If you are like me and tend to do too many problems as you read through books, you might want to take this approach, which will prioritize what problems to do, and get you up to speed quicker. Go and get: Saff, Edward B., and Arthur David Snider. Fundamentals of Complex Analysis with...
  4. N

    Java Learn Java Programming | Get Help Here

    <disclaimer>I do visualization for ML and other analytical applications for a living. So my comments aren't relevant to applications targeted for browsers</disclaimer> As someone who has been doing C++ for 18 years, Java for 12, and C# for 2. Here is my assessment of the trends. C++ still has...
  5. N

    C/C++ Solving VC++ Express Compiler Discrepancy with Conditional Operator

    Most coding standards will fail nested ternary statements on code reviews. So try to keep it on your lab box. :-)
  6. N

    How can the limit of this function be shown to be 2 as x and y approach 0?

    Quite right, the limit should be the same along all dimensions under consideration or it doesn't exist.
  7. N

    How can the limit of this function be shown to be 2 as x and y approach 0?

    First take the limit as y goes to 0, to get to lim(2x/(x^2+x)). Divide out the common factor of x to get lim(2/(1+x)) Taking this limit will give 2.
  8. N

    C/C++ No use of mentioning size in an arrayin c/c++

    Disclaimer: I work on moderately computationally intensive code, (without getting too domain specific, it does real time Bayesian and Markov Analysis on about a 50 MB/s telemetry stream), we have never had an issue with using templates instead of arrays ever pop up in the last 6 years. I...
  9. N

    C/C++ No use of mentioning size in an arrayin c/c++

    There is a difference between malloc and new. In C++ new and delete[] is to be preferred over malloc and free, for the simple reason that malloc and free know nothing about constructors and destructors. In addition new and delete can be made to perform faster, and with lower heap fragmentation...