Recent content by IridescentRain

  1. IridescentRain

    create/caress/destroy

    create/caress/destroy
  2. IridescentRain

    Mathematica How do I calculate an area in Mathematica?

    Ah, thanks for the advice. It's perfectly reasonable now that you've mentioned it, yet I would have probably gone and done just that --randomly select a latitude and a longitude-- without realising that the point distribution would then be denser near the poles. I'll be more careful than that...
  3. IridescentRain

    Mathematica How do I calculate an area in Mathematica?

    Thanks for the suggestion. With a million points, that would make a very good approximation. (Obviously, the area of my region would be the sphere's area times the fraction of points inside the torus.) Cheers!
  4. IridescentRain

    Mathematica Help with Mathematica Issue: Solving Nonlinear Second Order ODE

    Sometimes (read: when you have some idea of what your solution should look like, at least qualitatively), you can rewrite your function as another function or your variable as another variable (the radial dependence of the spherical wave function in the separation-of-variables method comes to...
  5. IridescentRain

    Software to transform sentences

    I remember I used Perl when I wanted to play around with strings a few years ago. C++ is more elegant, but back then I found Perl's handling of strings easier to work with (for the purposes of what I was trying to do, at any rate, which was comparing two strings and pointing out the differences...
  6. IridescentRain

    Mathematica How do I calculate an area in Mathematica?

    Hi! Say I have a region described by any number of inequalities. This region is a surface in 3D space. How can I ask Mathematica to calculate the region's area? If it helps, my particular region is the intersection of a hollow sphere and a solid (i.e. filled-out) toroid-like surface. I'm...
  7. IridescentRain

    On nonnegative-order first-kind Bessel functions with large argument

    Hello. I'm not terribly proficient with Bessel functions, but I know that those of the first kind are given by \begin{eqnarray} J_n(x) & = & \left(\frac{x}{2}\right)^n\,\sum_{\ell=0}^\infty\frac{(-1)^\ell}{\ell!\,\Gamma(n+\ell+1)}\,\left(\frac{x}{2}\right)^{2\ell}, \end{eqnarray} where...
  8. IridescentRain

    Solution to the scalar wave equation in cylindrical coordinates

    But of course! So \left[k_\rho^2\frac{d^2R}{d(k_\rho\rho)^2}+\frac{k_\rho}{\rho}\frac{dR}{d (k_\rho \rho)}\right]\,\Phi\,Z-\left[\frac{n^2}{\rho^2}+k_z^2\right]\,R\,\Phi\,Z+\left(k_\rho^2+k_z^2\right)\,R\,\Phi\,Z=0;dividing by k+\rho^2\,\Phi\,Z...
  9. IridescentRain

    Solution to the scalar wave equation in cylindrical coordinates

    Hey! Thanks for your help. All right, I have \phi(\vec{r})=R(\rho)\,\Phi(\varphi)\,Z(z),where R(\rho)=J_n(k_\rho\rho),\Phi(\varphi)=e^{in\varphi},Z(z)=e^{ik_zz}. Therefore, \frac{1}{\rho^2}\frac{\partial^2\phi}{\partial\varphi^2}=-\frac{n^2}{\rho^2}\phi,\frac{\partial^2\phi}{\partial...
  10. IridescentRain

    Solution to the scalar wave equation in cylindrical coordinates

    Hello. I don't know how to prove that a certain function is a solution to the scalar wave equation in cylindrical coordinates. The scalar wave equation is \left(\nabla^2+k^2\right)\,\phi(\vec{r})=0,which in cylindrical coordinates is...
  11. IridescentRain

    Calculating the density of optimally packed spheres

    Ah, you're right. I misinterpreted the picture. Thanks. I'll check what the unit cell for the "cannonball arrangement" is and use that instead of the tetrahedron. I suppose I'll lose generalisability, though...
  12. IridescentRain

    Calculating the density of optimally packed spheres

    In fact, I can; the "cannonball arrangement" does just that. Take any four mutually adjacent spheres (which, of course, form a tetrahedron). Now take any three of those spheres and a new sphere which is mutually adjacent to all three; they will form a second tetrahedron which has a face in...
  13. IridescentRain

    Calculating the density of optimally packed spheres

    Hello. I wish to calculate the density of optimally packed spheres (i.e. the fraction of space which is occupied by the spheres). This number is approximately 0.74, but I know this because I have looked on the net, not because I have calculated it. I know the essentials of how to calculate...
  14. IridescentRain

    Understanding the dipole model for Rayleigh scattering

    All, right, I shall, thank you. =)
Back
Top