Recent content by tigger88

  1. T

    Python How can I fix the error in my custom Python exception class?

    Never mind - got it working. It was just completely wrong.
  2. T

    Python How can I fix the error in my custom Python exception class?

    Homework Statement For an introductory Python course, one of the problems I am required to do involves creating a MyError class that inherits from Exception. Its purpose is to handle possible wrong inputs to the int() function and to return an error statement that includes what was input. I...
  3. T

    Particle physics - invariant mass question

    Wow. That was really stupid of me! Thanks for the hint! Got it now :)
  4. T

    Particle physics - invariant mass question

    Homework Statement At HERA 30 GeV electrons collided head on with 820 GeV protons. Calculate the invariant mass of ep collisions. (masses: e=0.0005GeV, p=0.938GeV) Homework Equations M^2 = (E1 + E2)^2 - (p1 + p2)^2 ? The Attempt at a Solution I know the numerical answer to...
  5. T

    Diffusion problem with concentration

    I'm sorry, but I'm still completely in the dark about how to start this question. Forget the fact that I have a vaguely similar temperature question, I don't understand it anyway and I'm getting overly confused about where the similarities/symmetries lie. My best guess of a vague procedure...
  6. T

    Diffusion problem with concentration

    In my temperature problem, density and spec. heat capacity are used. What are the corresponding properties I should use for concentration? Also in that problem the solution integrates the product of density, Cp and the temperature function over a small volume V. Obviously this gives Q (heat...
  7. T

    Diffusion problem with concentration

    Homework Statement Show that concentration of a substance obeys the diffusion equation if the rate at which substance leaves a region is proportional to the concentration gradient. Homework Equations Diffusion equation: \nabla2\phi = (1/a) (d(phi)/dt) where Phi is a function of r, t...
  8. T

    Einstein summation convention proof

    Homework Statement Using the Einstein summation convention, prove: A\bulletB\timesC = C\bulletA\timesB Homework Equations The Attempt at a Solution I tried to follow an example from my notes, but I don't entirely understand it. Would it be possible to find out if what I've...
  9. T

    Quantum mechanics - normalisation of wavefunction

    I thought that when I squared the wavefunction (or multiplied by the complex conjugate, which in this case would be synonymous with squaring) the exponential would do this: exp(-2mwx^2/(2h)) which would simplify to exp(-mwx^2/h). Is this not the case?
  10. T

    Quantum mechanics - normalisation of wavefunction

    I got the i*theta bit from some old notes... the lecturer seemed to wap it on the end so that both real and imaginary components (if there are any) of the normalisation factor are included. I don't entirely understand it... Thanks very much!
  11. T

    Quantum mechanics - normalisation of wavefunction

    Homework Statement Normalise the wavefunction: \Psi(x) = C exp(-mwx^{2}/(2h)) for the 1-D harmonic oscillator. Homework Equations \int\Psi*\Psidx = 1 The Attempt at a Solution I used the following integral from -inf to inf: ¦C¦^2\intexp(-ax^2)dx = srqt(pi/a) where a = const...
  12. T

    Nyquist (Polar) plots in circuits, phase question

    Homework Statement Okay, this is probably a really simple thing but I'm just not able to wrap my head around it for whatever reason. I've got a second order system with feedback, where I've found the transfer function (and the real and imaginary parts of the transfer function), given by -AB =...
  13. T

    Confused by Notation: Need Help Understanding c!

    Homework Statement I'm just confused by notation in this question, because the textbook I use has different notation than my course notes and now I'm just not sure what anything means. Homework Equations Group velocity x Phase velocity = c^2 The Attempt at a Solution What is c in...
  14. T

    Fourier transform of rectangular pulse (Waves)

    Actually I got that definition from the solution to the question. It makes a whole lot more sense now, thanks for your reply!
  15. T

    Fourier transform of rectangular pulse (Waves)

    Homework Statement F(w) is the Fourier transform of f(t). Write down the equation for F(w) in terms of f(t). A rectangular pulse has height H and total length t0 in time. Show that as a function of w, the amplitude density is propertional to sinc(wt0/2). Homework Equations F(w) =...