Recent content by javiergra24

  1. J

    Why Doesn't My Blasius Equation Script Match Fluid Mechanics Data?

    Hi everybody I'm writing a script in Python to solve the Blasius equation but it does not work (well, script works and it generates the plot), numerical results does not match with data I've seen in fluid mechanics books. Please anyone could help me? Thank you very much Script is...
  2. J

    External Fields and Negative Energy Transitions In Dirac Particle

    Umm a relativistic particle can be at rest, with E=mc^2. The exact problem is: "Consider a positive energy spin-1/2 particle at rest. Suppose that at t=0 we apply an external (classical) vector potential (see mi first post) which corresponds to an electric field of the form Show that for there...
  3. J

    External Fields and Negative Energy Transitions In Dirac Particle

    But the final state would be an antiparticle at rest? Or with some energy?
  4. J

    External Fields and Negative Energy Transitions In Dirac Particle

    Homework Statement Suppose a relativistic particle with spin 1/2 at rest. Show that if we apply an electrical field at t=0 there's a probability fot t>0 of finding the particle in a negative energy state if such negative energy states are assumed to be originally empty. Homework Equations...
  5. J

    Python How to write a data file in Python

    Thank you very much! So simple and I didn't notice
  6. J

    Python How to write a data file in Python

    How can I run the data saving script outside the for loop? Thank you
  7. J

    Python How to write a data file in Python

    Thanks for your answer Mark44 No matter if the script takes too much time (I'm doing the script also for C++ and Java), but there must be some way to save all data in a unique file. By splitting it in four I have to use Ultraedit and it's a bit tiring..
  8. J

    Python How to write a data file in Python

    Thanks for your answer but it doesn't work I'm trying import sys, pylab, numpy from pylab import * from mpl_toolkits.mplot3d import Axes3D from numpy import * import matplotlib.pyplot as plt #I'll use values of sigma = 6.0, beta = 3.0 and rho = 36 # The Lorenz Equations are...
  9. J

    Python How to write a data file in Python

    Hi guys I've done a Runge-Kutta script for the Lorenz Equations in python, I need to write data for (t,x,y,z) in a .dat file in order to reprint in a table. How can a do it? Imported routines are: import sys, pylab, numpy from pylab import * from mpl_toolkits.mplot3d import Axes3D...
  10. J

    Programming for Lorenz's System - What to Use?

    Hi Unfortunately I can't use C, I'll try it with python + numpy (in my opinion it's more advanced than C). I have enough time (2 months) to do it. I'll post the exact problem later. But the basic tasks are the solutions of the lorenzt's equation for fixes values of sigma and rho. Main task...
  11. J

    Programming for Lorenz's System - What to Use?

    Hi guys I have to write a program for the lorenz's system of equations. What program/programming language should I use? Fortran, Matlab, Python, Octave, R? I can´t use a preprogrammed module, I have to write the program by myself (using maybe the finite differences method or Runge Kutta)...
  12. J

    Calculate |Psi(x,t)|^2 - Merzbacher Chapter 15 Exercise 9

    Remember that in order to calculate the integral \exp[i\theta]\cdot \exp[-i\theta]=1 where theta is the content of the exponential part So calculations reduce.
  13. J

    Elastic pendulum - Lagrangian approach

    After checking my books and exercises I think the best way is: First of all calculate the equilibrium angle ( \ddot{\phi}=\dot{\phi}=0} You'll find an angle \phi_{0} (remember that you'll get a constant. Then you can find the small angle frecuency by doing an approximation...
  14. J

    Elastic pendulum - Lagrangian approach

    Small angle approximations must be applied after making derivatives of the lagrange equations. Remember that in this approx: \dot{\theta}=0 (In notation you have used, \dot{\phi}=0
  15. J

    Can someone help me with expectation values for the radial wavefunction?

    The wavefunction is normalized. Radial function cannot be Y, that's the spherical harmonics. Just apply the expected value in the ket-bra notation
Back
Top