Recent content by pig

  1. P

    Fortran Improving Performance with MPI in Fortran90

    Are you sure this is what is taking a long time? I use MPI in C, not Fortran, but what is slow in a MPI program is starting all the processes. This can take up to a minute sometimes when there's a lot of them. Try adding a Barrier before the Send loop, and after the barrier print something on...
  2. P

    C/C++ Problem when trying to decryp encryped file with CryptoPP (C++)

    I don't know anything about the implementation you are using so I don't know whether your code is correct, but from my experience such problems are usually the result of using different padding schemes. Also, since it's AES, make sure you are using the same mode (ECB, CBC, CTR...) and...
  3. P

    Proof of Kirchoff's Theorem - Intuition & Explanation

    I somehow managed to not notice that link even though I've read the wiki page. Thanks a lot!
  4. P

    Proof of Kirchoff's Theorem - Intuition & Explanation

    Hey, Is there a proof of Kirchoff's theorem available somewhere online? In literature I can find only proofs of Cayley's formula, and the matrix tree theorem is usually only mentioned, if that. I want to see a proof because I'm having a hard time intuitively understanding why this works...
  5. P

    Drug Use Among Physics Majors: Trends & Implications

    Wow, thanks, I had no idea about this. I don't smoke much lately, but my lungs would be very thankful for this a couple of years ago. :biggrin:
  6. P

    Why Do Some Mathematicians Struggle with Basic Math?

    It's not that mathematicians are more likely to make mistakes, but people who didn't study anything math-related tend to think it's a big deal that a mathematician made such a mistake so it gets noticed more.
  7. P

    Talking ads? Are you kidding me?

    I didn't notice any on PF, but these days the "get a college degree over the internet" one is everywhere. It's better than the porn one which was all over the internet 5-6 ago... For example, you would search in google and open a bunch of web pages and suddenly someone would start talking about...
  8. P

    Why e? Exploring the Mystery of Nature's Constant

    This reminded me of my high school math teacher, she wrote "DERIVATIVES" in big letters (well, not in english) on the board and the derivatives of elementary functions, the (f*g)' = ... and the other couple of rules underneath. Then she showed us how to calculate them. She made no mention of...
  9. P

    Solving m - (x-n)^2: Get Help Here

    5 + 4x - x^2 = m - (x -n)^2 5 + 4x - x^2 = m - x^2 + 2nx - n^2 4x - x^2 + x^2 - 2nx = m - 5 - n^2 4x - 2nx = m - 5 - n^2 x(4 - 2n) = m - 5 - n^2 In order for this to work for all values of x, it must not depend on x. And it won't depend on x if 4 - 2n = 0, because x * 0 will be 0...
  10. P

    Solving m - (x-n)^2: Get Help Here

    Yes, and x can also be 2n.
  11. P

    Can Public Caning and Castration Effectively Curb Rape in Malaysia?

    What?? Are you serious? Is this voluntary or forced?
  12. P

    Solving m - (x-n)^2: Get Help Here

    (x - n)^2 = (x - n)(x - n) = (x*x - x*n - n*x + n*n) = x^2 - 2nx + n^2 So, m - (x-n)^2 = m - (x^2 - 2nx + n^2) = m - x^2 + 2nx - n^2
  13. P

    Can Sentences Be Consistent Even If Untrue in Reality?

    Philocrat, how does logic not apply to the real world?
  14. P

    Proof that (2n)/[n(n+1)] is natural for natural n

    Ok I made some progress but it still isn't complete: (a over b means the binominal coefficient) (2n!)/[n!(n+1)!] = (2n)!/[n!n!(n+1)] = (2n)!(n+1-n)/[n!n!(n+1)] = [(2n!)(n+1) - (2n!)n]/[n!n!(n+1)] = (2n!)(n+1)/[n!n!(n+1)] - (2n!)n/[n!n!(n+1)] = (2n!)/(n!n!) - (2n!)/[(n-1)!(n+1)!] =...
  15. P

    Finding Intersections: Subsitution Method Help

    There are two simple ways to substitute. First, you can add 1 to both sides of the second equation: 2y + 1 = x - 1 + 1 2y + 1 = x So now you can substitute 2y+1 instead of x in the first equation. Another way would be to multiply both sides with 1/2: 2y * 1/2 = (x - 1) * 1/2 y =...
Back
Top