h&VŘ      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                                                                                                                               (c) Scott N. Walck 2012-2019BSD3 (see LICENSE)Scott N. Walck  experimentalSafe  learn-physicsA type for vectors. learn-physics x component learn-physics y component learn-physics z component learn-physics3Form a vector by giving its x, y, and z components. learn-physicsCross product. learn-physicsUnit vector in the x direction. learn-physicsUnit vector in the y direction. learn-physicsUnit vector in the z direction. learn-physics x component learn-physics y component learn-physics z component  7(c) Scott N. Walck 2011-2019BSD3 (see LICENSE)Scott N. Walck  experimentalSafe }    (c) Scott N. Walck 2012-2018BSD3 (see LICENSE)Scott N. Walck  experimentalSafe W learn-physicsComposite Trapezoid Rule learn-physicsComposite Simpson's Rule learn-physicsnumber of intervals (one less than the number of function evaluations) learn-physics lower limit learn-physics upper limit learn-physicsfunction to be integrated learn-physicsdefinite integral learn-physicsnumber of half-intervals (one less than the number of function evaluations) learn-physics lower limit learn-physics upper limit learn-physicsfunction to be integrated learn-physicsdefinite integral(c) Scott N. Walck 2012-2018BSD3 (see LICENSE)Scott N. Walck  experimentalSafe learn-physicsA coordinate system is a function from three parameters to space.  learn-physicsSometimes we want to be able to talk about a field without saying whether it is a scalar field or a vector field.! learn-physics?A vector field associates a vector with each position in space." learn-physics?A scalar field associates a number with each position in space.# learn-physicsA displacement is a vector.$ learn-physicsA type for position. Position is not a vector because it makes no sense to add positions.% learn-physics+Add two scalar fields or two vector fields.& learn-physics:The Cartesian coordinate system. Coordinates are (x,y,z).' learn-physicsThe cylindrical coordinate system. Coordinates are (s,phi,z), where s is the distance from the z axis and phi is the angle with the x axis.( learn-physicsThe spherical coordinate system. Coordinates are (r,theta,phi), where r is the distance from the origin, theta is the angle with the z axis, and phi is the azimuthal angle.) learn-physicsA helping function to take three numbers x, y, and z and form the appropriate position using Cartesian coordinates.* learn-physicsA helping function to take three numbers s, phi, and z and form the appropriate position using cylindrical coordinates.+ learn-physicsA helping function to take three numbers r, theta, and phi and form the appropriate position using spherical coordinates., learn-physicsReturns the three Cartesian coordinates as a triple from a position.- learn-physicsReturns the three cylindrical coordinates as a triple from a position.. learn-physicsReturns the three spherical coordinates as a triple from a position./ learn-physics5Displacement from source position to target position.0 learn-physics#Shift a position by a displacement.1 learn-physicsAn object is a map into $.2 learn-physicsA field is a map from $.3 learn-physicsThe vector field in which each point in space is associated with a unit vector in the direction of increasing spherical coordinate r, while spherical coordinates theta and phi are held constant. Defined everywhere except at the origin. The unit vector 3 points in different directions at different points in space. It is therefore better interpreted as a vector field, rather than a vector.4 learn-physicsThe vector field in which each point in space is associated with a unit vector in the direction of increasing spherical coordinate theta, while spherical coordinates r and phi are held constant. Defined everywhere except on the z axis.5 learn-physicsThe vector field in which each point in space is associated with a unit vector in the direction of increasing (cylindrical or spherical) coordinate phi, while cylindrical coordinates s and z (or spherical coordinates r and theta) are held constant. Defined everywhere except on the z axis.6 learn-physicsThe vector field in which each point in space is associated with a unit vector in the direction of increasing cylindrical coordinate s, while cylindrical coordinates phi and z are held constant. Defined everywhere except on the z axis.7 learn-physicsThe vector field in which each point in space is associated with a unit vector in the direction of increasing Cartesian coordinate x, while Cartesian coordinates y and z are held constant. Defined everywhere.8 learn-physicsThe vector field in which each point in space is associated with a unit vector in the direction of increasing Cartesian coordinate y, while Cartesian coordinates x and z are held constant. Defined everywhere.9 learn-physicsThe vector field in which each point in space is associated with a unit vector in the direction of increasing Cartesian coordinate z, while Cartesian coordinates x and y are held constant. Defined everywhere.) learn-physics x coordinate learn-physics y coordinate learn-physics z coordinate* learn-physics s coordinate learn-physicsphi coordinate learn-physics z coordinate+ learn-physics r coordinate learn-physicstheta coordinate learn-physicsphi coordinate/ learn-physicssource position learn-physicstarget position !"#$%&'()*+,-./0123456789$#"! &'()*+,-./012%3456789(c) Scott N. Walck 2012-2018BSD3 (see LICENSE)Scott N. Walck  experimentalSafe-; learn-physics; is a parametrized function into three-space, an initial limit, and a final limit.= learn-physics&function from one parameter into space> learn-physicsstarting value of the parameter? learn-physicsending value of the parameter@ learn-physics4A dotted line integral. Convenience function for L.A learn-physicsCalculates integral vf x dl over curve. Convenience function for M.B learn-physics?@ABCDEFGHIJKLM;<=>?EFGHIJKD@ABCLM(c) Scott N. Walck 2012-2018BSD3 (see LICENSE)Scott N. Walck  experimentalSafe1N learn-physicsSpecification of a coordinate system requires a map from coordinates into space, and a map from space into coordinates.P learn-physics!a map from coordinates into spaceQ learn-physics!a map from space into coordinatesR learn-physics(The standard Cartesian coordinate systemS learn-physics*The standard cylindrical coordinate systemT learn-physics(The standard spherical coordinate systemU learn-physicsDefine a new coordinate system in terms of an existing one. First parameter is a map from old coordinates to new coordinates. Second parameter is the inverse map from new coordinates to old coordinates.U learn-physics(x',y',z') = f(x,y,z) learn-physics(x,y,z) = g(x',y',z') learn-physicsold coordinate systemNOPQRSTUNOPQRSTU(c) Scott N. Walck 2012-2018BSD3 (see LICENSE)Scott N. Walck  experimentalSafe5V learn-physics)The x Cartesian coordinate of a position.W learn-physics)The y Cartesian coordinate of a position.X learn-physics:The z Cartesian (or cylindrical) coordinate of a position.Y learn-physicsThe s cylindrical coordinate of a position. This is the distance of the position from the z axis.Z learn-physicsThe phi cylindrical (or spherical) coordinate of a position. This is the angle from the positive x axis to the projection of the position onto the xy plane.[ learn-physicsThe r spherical coordinate of a position. This is the distance of the position from the origin.\ learn-physicsThe theta spherical coordinate of a position. This is the angle from the positive z axis to the position.VWXYZ[\VWXYZ[\(c) Scott N. Walck 2016-2018BSD3 (see LICENSE)Scott N. Walck  experimental TrustworthyG?)_ learn-physicsThe state resulting from a measurement of spin angular momentum in the x direction on a spin-1/2 particle when the result of the measurement is hbar/2.` learn-physicsThe state resulting from a measurement of spin angular momentum in the x direction on a spin-1/2 particle when the result of the measurement is -hbar/2.a learn-physicsThe state resulting from a measurement of spin angular momentum in the y direction on a spin-1/2 particle when the result of the measurement is hbar/2.b learn-physicsThe state resulting from a measurement of spin angular momentum in the y direction on a spin-1/2 particle when the result of the measurement is -hbar/2.c learn-physicsThe state resulting from a measurement of spin angular momentum in the z direction on a spin-1/2 particle when the result of the measurement is hbar/2.d learn-physicsThe state resulting from a measurement of spin angular momentum in the z direction on a spin-1/2 particle when the result of the measurement is -hbar/2.e learn-physicsThe state resulting from a measurement of spin angular momentum in the direction specified by spherical angles theta (polar angle) and phi (azimuthal angle) on a spin-1/2 particle when the result of the measurement is hbar/2.f learn-physicsThe state resulting from a measurement of spin angular momentum in the direction specified by spherical angles theta (polar angle) and phi (azimuthal angle) on a spin-1/2 particle when the result of the measurement is -hbar/2.g learn-physicsDimension of a vector.h learn-physics+Scale a complex vector by a complex number.i learn-physics5Complex inner product. First vector gets conjugated.j learn-physicsLength of a complex vector.k learn-physics4Return a normalized version of a given state vector.l learn-physics:Return a vector of probabilities for a given state vector.m learn-physics"Conjugate the entries of a vector.n learn-physics2Construct a vector from a list of complex numbers.o learn-physics0Produce a list of complex numbers from a vector.p learn-physicsThe Pauli X matrix.q learn-physicsThe Pauli Y matrix.r learn-physicsThe Pauli Z matrix.s learn-physics+Scale a complex matrix by a complex number.t learn-physicsMatrix product.u learn-physicsMatrix-vector product.v learn-physicsVector-matrix productw learn-physics Conjugate transpose of a matrix.x learn-physics;Construct a matrix from a list of lists of complex numbers.y learn-physics9Produce a list of lists of complex numbers from a matrix.z learn-physicsSize of a matrix.{ learn-physicsApply a function to a matrix. Assumes the matrix is a normal matrix (a matrix with an orthonormal basis of eigenvectors).| learn-physicsComplex outer product} learn-physics6Build a pure-state density matrix from a state vector.~ learn-physicsTrace of a matrix. learn-physics4Normalize a density matrix so that it has trace one. learn-physics"The one-qubit totally mixed state. learn-physicsGiven a time step and a Hamiltonian matrix, produce a unitary time evolution matrix. Unless you really need the time evolution matrix, it is better to use , which gives the same numerical results without doing an explicit matrix inversion. The function assumes hbar = 1. learn-physicsGiven a time step and a Hamiltonian matrix, advance the state vector using the Schrodinger equation. This method should be faster than using  since it solves a linear system rather than calculating an inverse matrix. The function assumes hbar = 1. learn-physicsGiven a Hamiltonian matrix, return a function from time to evolution matrix. Uses spectral decomposition. Assumes hbar = 1. learn-physicsThe possible outcomes of a measurement of an observable. These are the eigenvalues of the matrix of the observable. learn-physicsGiven an obervable, return a list of pairs of possible outcomes and projectors for each outcome. learn-physicsGiven an observable and a state vector, return a list of pairs of possible outcomes and probabilites for each outcome. learn-physicsForm an orthonormal list of complex vectors from a linearly independent list of complex vectors.l learn-physics state vector learn-physicsvector of probabilities.]^_`abcdefghijklmnopqrstuvwxyz{|}~._`abcdefghijklmnopqrstuvwxyz{|}~]^ (c) Scott N. Walck 2016-2018BSD3 (see LICENSE)Scott N. Walck  experimentalSafeV learn-physicsAn orthonormal basis of kets. learn-physicsThe adjoint operation on complex numbers, kets, bras, and operators. learn-physicsGeneric multiplication including inner product, outer product, operator product, and whatever else makes sense. No conjugation takes place in this operation. learn-physics5A bra vector describes the state of a quantum system. learn-physicsAn operator describes an observable (a Hermitian operator) or an action (a unitary operator). learn-physics5A ket vector describes the state of a quantum system. learn-physicsMake an orthonormal basis from a list of linearly independent kets. learn-physicsState of a spin-1/2 particle if measurement in the x-direction would give angular momentum +hbar/2. learn-physicsState of a spin-1/2 particle if measurement in the x-direction would give angular momentum -hbar/2. learn-physicsState of a spin-1/2 particle if measurement in the y-direction would give angular momentum +hbar/2. learn-physicsState of a spin-1/2 particle if measurement in the y-direction would give angular momentum -hbar/2. learn-physicsState of a spin-1/2 particle if measurement in the z-direction would give angular momentum +hbar/2. learn-physicsState of a spin-1/2 particle if measurement in the z-direction would give angular momentum -hbar/2. learn-physicsState of a spin-1/2 particle if measurement in the n-direction, described by spherical polar angle theta and azimuthal angle phi, would give angular momentum +hbar/2. learn-physicsState of a spin-1/2 particle if measurement in the n-direction, described by spherical polar angle theta and azimuthal angle phi, would give angular momentum -hbar/2. learn-physics"The orthonormal basis composed of  and . learn-physics"The orthonormal basis composed of  and . learn-physics"The orthonormal basis composed of  and . learn-physicsGiven spherical polar angle theta and azimuthal angle phi, the orthonormal basis composed of  theta phi and  theta phi. learn-physicsThe Pauli X operator. learn-physicsThe Pauli Y operator. learn-physicsThe Pauli Z operator. learn-physicsPauli operator for an arbitrary direction given by spherical coordinates theta and phi. learn-physicsAlternative definition of Pauli operator for an arbitrary direction. learn-physicsGiven a time step and a Hamiltonian operator, produce a unitary time evolution operator. Unless you really need the time evolution operator, it is better to use , which gives the same numerical results without doing an explicit matrix inversion. The function assumes hbar = 1. learn-physicsGiven a time step and a Hamiltonian operator, advance the state ket using the Schrodinger equation. This method should be faster than using  since it solves a linear system rather than calculating an inverse matrix. The function assumes hbar = 1. learn-physicsThe possible outcomes of a measurement of an observable. These are the eigenvalues of the operator of the observable. learn-physicsGiven an obervable, return a list of pairs of possible outcomes and projectors for each outcome. learn-physicsGiven an observable and a state ket, return a list of pairs of possible outcomes and probabilites for each outcome. learn-physicsForm an orthonormal list of kets from a list of linearly independent kets.,,7 (c) Scott N. Walck 2016-2018BSD3 (see LICENSE)Scott N. Walck  experimental Trustworthy`? learn-physics/A beam of randomly oriented spin-1/2 particles. learn-physics+Return the intensities of a stack of beams. learn-physics+Remove the most recent beam from the stack. learn-physics Return the number of beams in a . learn-physics3Interchange the two most recent beams on the stack. learn-physicsGiven angles describing the orientation of the splitter, removes an incoming beam from the stack and replaces it with two beams, a spin-up and a spin-down beam. The spin-down beam is the most recent beam on the stack. learn-physicsGiven angles describing the orientation of the recombiner, returns a single beam from an incoming pair of beams. learn-physicsGiven angles describing the direction of a uniform magnetic field, and given an angle describing the product of the Larmor frequency and the time, return an output beam from an input beam. learn-physics,A Stern-Gerlach splitter in the x direction. learn-physics,A Stern-Gerlach splitter in the y direction. learn-physics,A Stern-Gerlach splitter in the z direction. learn-physicsGiven an angle in radians describing the product of the Larmor frequency and the time, apply a magnetic in the x direction to the most recent beam on the stack. learn-physicsGiven an angle in radians describing the product of the Larmor frequency and the time, apply a magnetic in the y direction to the most recent beam on the stack. learn-physicsGiven an angle in radians describing the product of the Larmor frequency and the time, apply a magnetic in the z direction to the most recent beam on the stack. learn-physics.A Stern-Gerlach recombiner in the x direction. learn-physics.A Stern-Gerlach recombiner in the y direction. learn-physics.A Stern-Gerlach recombiner in the z direction. learn-physics0Filter for spin-up particles in the x direction. learn-physics2Filter for spin-down particles in the x direction. learn-physics0Filter for spin-up particles in the z direction. learn-physics2Filter for spin-down particles in the z direction. (c) Scott N. Walck 2012-2017BSD3 (see LICENSE)Scott N. Walck  experimentalSafef learn-physicsGiven an initial bracketing of a root (an interval (a,b) for which f(a) f(b) <= 0), produce a bracket (c,d) for which |c-d| < desired accuracy. learn-physics4Given a bracketed root, return a half-width bracket. learn-physicsFind a single root in a bracketed region. The algorithm continues until it exhausts the precision of a ). This could cause the function to hang. learn-physicsFind a list of roots for a function over a given range. First parameter is the initial number of intervals to use to find the roots. If roots are closely spaced, this number of intervals may need to be large. learn-physicsFind a list of roots for a function over a given range. There are no guarantees that all roots will be found. Uses  with 1000 intervals. learn-physicsdesired accuracy learn-physicsfunction learn-physicsinitial bracket learn-physics final bracket learn-physicsfunction learn-physicsoriginal bracket learn-physics new bracket learn-physicsfunction learn-physicsinitial bracket learn-physicsapproximate root learn-physics"initial number of intervals to use learn-physicsfunction learn-physicsrange over which to search learn-physics list of roots learn-physicsfunction learn-physicsrange over which to search learn-physics list of roots (c) Scott N. Walck 2015-2018BSD3 (see LICENSE)Scott N. Walck  experimental Trustworthyr learn-physics;Free potential. The potential energy is zero everywhere. learn-physicsHarmonic potential. This is the potential energy of a linear spring. learn-physicsA double well potential. Potential energy is a quartic function of position that gives two wells, each approximately harmonic at the bottom of the well. learn-physicsFinite square well potential. Potential is zero inside the well, and constant outside the well. Well is centered at the origin. learn-physicsA step barrier potential. Potential is zero to left of origin. learn-physics.A potential barrier with thickness and height. learn-physics-Transform a wavefunction into a state vector. learn-physicsProduce a gloss ( of state vector for 1D wavefunction. learn-physicsposition learn-physicspotential energy learn-physicsspring constant learn-physicsposition learn-physicspotential energy learn-physics*width (for both wells and well separation) learn-physics&energy height of barrier between wells learn-physicsposition learn-physicspotential energy learn-physics well width learn-physicsenergy height of well learn-physicsposition learn-physicspotential energy learn-physics1energy height of barrier (to the right of origin) learn-physicsposition learn-physicspotential energy learn-physicsthickness of wall learn-physicsenergy height of barrier learn-physicsposition of center of barrier learn-physicsposition learn-physicspotential energy learn-physics#length scale = sqrt(hbar / m omega) learn-physics parameter z learn-physics wavefunction learn-physicswidth parameter learn-physicscenter of wave packet learn-physics wavefunction learn-physicswidth parameter learn-physicscenter of wave packet learn-physicsl0 = hbar / p0 learn-physics wavefunction learn-physicslowest x learn-physics highest x learn-physicsdimension of state vector learn-physics wavefunction learn-physics state vector learn-physicslowest x learn-physics highest x learn-physicsdimension of state vector learn-physicshbar learn-physicsmass learn-physicspotential energy function learn-physicsHamiltonian Matrix learn-physics state vector learn-physicsvector of x values learn-physics X, expectation value of X learn-physics(screenWidth,screenHeight) learn-physics (xmin,xmax) learn-physics (ymin,ymax) learn-physics(x,y) learn-physicsy range learn-physicsxs learn-physics state vector (c) Scott N. Walck 2012-2019BSD3 (see LICENSE)Scott N. Walck  experimentalSafeu  learn-physicsThe zero vector. learn-physics!The additive inverse of a vector. learn-physicsSum of a list of vectors. learn-physicsVector addition. learn-physicsVector subtraction. learn-physicsScalar multiplication, where the scalar is on the left and the vector is on the right. learn-physicsScalar multiplication, where the scalar is on the right and the vector is on the left. learn-physics!Division of a vector by a scalar. learn-physicsDot product of two vectors. learn-physicsMagnitude of a vector.  667777(c) Scott N. Walck 2014-2019BSD3 (see LICENSE)Scott N. Walck  experimentalSafe~  learn-physicsAn evolution method is a way of approximating the state after advancing a finite interval in the independent variable (time) from a given state. learn-physicsA (numerical) solution method is a way of converting an initial value problem into a list of states (a solution). The list of states need not be equally spaced in time. learn-physicsAn initial value problem is a differential equation along with an initial state. learn-physicsA differential equation expresses how the dependent variables (state) change with the independent variable (time). A differential equation is specified by giving the (time) derivative of the state as a function of the state. The (time) derivative of a state is an element of the associated vector space. learn-physicsThe scalars of the associated vector space can be thought of as time intervals. learn-physicsAn instance of  is a data type that can serve as the state of some system. Alternatively, a  is a collection of dependent variables for a differential equation. A  has an associated vector space for the (time) derivatives of the state. The associated vector space is a linearized version of the . learn-physicsAssociated vector space learn-physicsSubtract points learn-physicsPoint plus vector learn-physicsPoint minus vector learn-physicsGiven an evolution method and a time step, return the solution method which applies the evolution method repeatedly with with given time step. The solution method returned will produce an infinite list of states. learn-physicsThe Euler method is the simplest evolution method. It increments the state by the derivative times the time step. learn-physicsPosition is not a vector, but displacement (difference in position) is a vector. learn-physicsdifferential equation learn-physics time interval learn-physics initial state learn-physics evolved state  666(c) Scott N. Walck 2012-2019BSD3 (see LICENSE)Scott N. Walck  experimentalSafek learn-physics(Take a single 4th-order Runge-Kutta step learn-physicsSolve a first-order system of differential equations with 4th-order Runge-Kutta(c) Scott N. Walck 2014-2019BSD3 (see LICENSE)Scott N. Walck  experimentalSafeM learn-physicsAn acceleration function gives a list of accelerations (one for each particle) as a function of the system's state. learn-physicsThe state of a system of many particles is given by the current time and a list of one-particle states. learn-physicsAn acceleration function gives a pair of accelerations (one for particle 1, one for particle 2) as a function of the system's state. learn-physicsThe state of a system of two particles is given by the current time, the position and velocity of particle 1, and the position and velocity of particle 2. learn-physicsAn acceleration function gives the particle's acceleration as a function of the particle's state. learn-physicsThe state of a system of one particle is given by the current time, the position of the particle, and the velocity of the particle. Including time in the state like this allows us to have time-dependent forces. learn-physicsThe associated vector space for the state of a single particle. learn-physicsThe state of a single particle is given by the position of the particle and the velocity of the particle. learn-physicsAn acceleration function gives the particle's acceleration as a function of the particle's state. The specification of this function is what makes one single-particle mechanics problem different from another. In order to write this function, add all of the forces that act on the particle, and divide this net force by the particle's mass. (Newton's second law). learn-physicsA simple one-particle state, to get started quickly with mechanics of one particle. learn-physics Velocity of a particle (in m/s). learn-physicsA time step (in s). learn-physics Time (in s). learn-physicsTime derivative of state for a single particle with a constant mass. learn-physicsSingle Runge-Kutta step learn-physicsTime derivative of state for a single particle with a constant mass. learn-physicsSingle Runge-Kutta step learn-physicsList of system states learn-physicsTime derivative of state for two particles with constant mass. learn-physics/Single Runge-Kutta step for two-particle system learn-physicsTime derivative of state for many particles with constant mass. learn-physics0Single Runge-Kutta step for many-particle system  learn-physics&acceleration function for the particle learn-physicsdifferential equation learn-physics&acceleration function for the particle learn-physics time step learn-physics initial state learn-physicsstate after one time step learn-physics&acceleration function for the particle learn-physicsdifferential equation learn-physics&acceleration function for the particle learn-physics time step learn-physics initial state learn-physicsstate after one time step learn-physics&acceleration function for the particle learn-physics time step learn-physics initial state learn-physicsstate after one time step learn-physics'acceleration function for two particles learn-physicsdifferential equation learn-physicsacceleration function learn-physics time step learn-physics initial state learn-physicsstate after one time step learn-physics(acceleration function for many particles learn-physicsdifferential equation learn-physicsacceleration function learn-physics time step learn-physics initial state learn-physicsstate after one time step(c) Scott N. Walck 2012-2019BSD3 (see LICENSE)Scott N. Walck  experimentalSafe+ learn-physicsSurface is a parametrized function from two parameters to space, lower and upper limits on the first parameter, and lower and upper limits for the second parameter (expressed as functions of the first parameter). learn-physics-function from two parameters (s,t) into space learn-physicss_l learn-physicss_u learn-physicst_l(s) learn-physicst_u(s) learn-physics&A unit sphere, centered at the origin. learn-physics2A sphere with given radius centered at the origin. learn-physics$Sphere with given radius and center. learn-physics8The upper half of a unit sphere, centered at the origin. learn-physics1A disk with given radius, centered at the origin. learn-physics experimental Safe-Inferred learn-physicsAn ( with a given label at a given position. learn-physicsAn ! that requests postscript output. learn-physicsAn ! giving the postscript file name. learn-physicsAn example of the use of . See the source code. learn-physicsAn example of the use of  and . See the source code. learn-physics*Plot a Curve in the xy plane using Gnuplot Safe-Inferredy learn-physicsMake a  object from a  . learn-physicsMake a  object from a $. learn-physicsDisplay a vector field. learn-physics$A displayable VisObject for a curve. learn-physics(Place a vector at a particular position. learn-physicsA VisObject arrow from a vector learn-physicscolor for the vector field learn-physics scale factor learn-physics#list of positions to show the field learn-physicsvector field to display learn-physicsthe displayable object learn-physics in radians learn-physics in radians(c) Scott N. Walck 2012-2019BSD3 (see LICENSE)Scott N. Walck  experimentalSafeu learn-physicsVolume is a parametrized function from three parameters to space, lower and upper limits on the first parameter, lower and upper limits for the second parameter (expressed as functions of the first parameter), and lower and upper limits for the third parameter (expressed as functions of the first and second parameters). learn-physics#function from 3 parameters to space learn-physicss_a learn-physicss_b learn-physicst_a(s) learn-physicst_b(s) learn-physicsu_a(s,t) learn-physicsu_b(s,t) learn-physics$A unit ball, centered at the origin. learn-physicsA unit ball, centered at the origin. Specified in Cartesian coordinates. learn-physics1A ball with given radius, centered at the origin. learn-physics"Ball with given radius and center. learn-physics1Upper half ball, unit radius, centered at origin. learn-physicsCylinder with given radius and height. Circular base of the cylinder is centered at the origin. Circular top of the cylinder lies in plane z = h. learn-physicsA volume integral learn-physics n+1 points learn-physics!Shift a volume by a displacement. learn-physicsradius learn-physicscenter learn-physics!ball with given radius and center learn-physics-number of intervals for first parameter (s) learn-physics-number of intervals for second parameter (t) learn-physics-number of intervals for third parameter (u) learn-physicsscalar or vector field learn-physics the volume learn-physicsscalar or vector result(c) Scott N. Walck 2012-2019BSD3 (see LICENSE)Scott N. Walck  experimentalSafe  learn-physicsA current distribution is a line current (current through a wire), a surface current, a volume current, or a combination of these. The ! describes a surface current density or a volume current density. learn-physicscurrent through a wire learn-physics!! is surface current density (A/m) learn-physics!" is volume current density (A/m^2) learn-physics$combination of current distributions learn-physics)Electric current, in units of Amperes (A) learn-physicsMagnetic field produced by a line current (current through a wire). The function  calls this function to evaluate the magnetic field produced by a line current. learn-physics>Magnetic field produced by a surface current. The function  calls this function to evaluate the magnetic field produced by a surface current. This function assumes that surface current density will be specified parallel to the surface, and does not check if that is true. learn-physics=Magnetic field produced by a volume current. The function  calls this function to evaluate the magnetic field produced by a volume current. learn-physicsThe magnetic field produced by a current distribution. This is the simplest way to find the magnetic field, because it works for any current distribution (line, surface, volume, or combination). learn-physicsThe magnetic flux through a surface produced by a current distribution. learn-physicscurrent (in Amps) learn-physicsgeometry of the line current learn-physicsmagnetic field (in Tesla) learn-physicssurface current density learn-physicsgeometry of the surface current learn-physicsmagnetic field (in T) learn-physicsvolume current density learn-physicsgeometry of the volume current learn-physicsmagnetic field (in T)  (c) Scott N. Walck 2011-2019BSD3 (see LICENSE)Scott N. Walck  experimentalSafe learn-physicsA charge distribution is a point charge, a line charge, a surface charge, a volume charge, or a combination of these. The " describes a linear charge density, a surface charge density, or a volume charge density. learn-physics point charge learn-physics" is linear charge density (C/m) learn-physics"" is surface charge density (C/m^2) learn-physics"! is volume charge density (C/m^3) learn-physics#combination of charge distributions learn-physics)Electric charge, in units of Coulombs (C) learn-physics-Total charge (in C) of a charge distribution. learn-physics;Electric field produced by a point charge. The function  calls this function to evaluate the electric field produced by a point charge. learn-physics:Electric field produced by a line charge. The function  calls this function to evaluate the electric field produced by a line charge. learn-physics=Electric field produced by a surface charge. The function  calls this function to evaluate the electric field produced by a surface charge. learn-physics experimental TrustworthyV  !"#$%&'()*+,-./0123456789;<=>?@ADEFGHIJK   $#"! &'()*+,-./012%3456789;<=>?EFGHIJKD@A(c) Scott N. Walck 2016BSD3 (see LICENSE)Scott N. Walck  experimental Safe-Inferred  learn-physics A Vis object. learn-physicsConvert a 2x1 complex state vector for a qubit into Bloch (x,y,z) coordinates. learn-physics6Convert a qubit ket into Bloch (x,y,z) coordinates. learn-physics A static  for the state of a qubit. learn-physics?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklm@@nopqrstuvwxyz{|}~  |               $     } ~                                                                                               . , * - + ' % & ( $  *learn-physics-0.6.6-Cf4xMTiiaGCFxzsGzuEzRVPhysics.Learn.QuantumMatPhysics.Learn.CarrotVecPhysics.Learn.CommonVec!Physics.Learn.CompositeQuadraturePhysics.Learn.PositionPhysics.Learn.CurvePhysics.Learn.CoordinateSystemPhysics.Learn.CoordinateFieldsPhysics.Learn.KetPhysics.Learn.BeamStackPhysics.Learn.RootFindingPhysics.Learn.Schrodinger1DPhysics.Learn.SimpleVecPhysics.Learn.StateSpacePhysics.Learn.RungeKuttaPhysics.Learn.MechanicsPhysics.Learn.SurfacePhysics.Learn.Visual.GlossToolsPhysics.Learn.Visual.PlotToolsPhysics.Learn.Visual.VisToolsPhysics.Learn.VolumePhysics.Learn.CurrentPhysics.Learn.ChargePhysics.Learn.BlochSphere Physics.Learn%hmatrix-0.20.2-K4Or5h2HzNSEPRRifB0JSVInternal.MatrixMatrixInternal.VectorC&vector-0.13.0.0-JKrBPPZBIK2JBM2KZEUb7ZData.Vector.StorableVector'vector-space-0.16-7Yz1x4dooz7ro6bQT8D09Data.VectorSpace magnitude^*^/*^<.>Data.AdditiveGroupsumV^-^negateV^+^zeroVVecxCompyCompzCompRvec><iHatjHatkHat $fShowVec$fEqVec$fInnerSpaceVec$fVectorSpaceVec$fAdditiveGroupVeccompositeTrapezoidcompositeSimpsonCoordinateSystemField VectorField ScalarField DisplacementPosition addFields cartesian cylindrical sphericalcartcylsphcartesianCoordinatescylindricalCoordinatessphericalCoordinates displacement shiftPosition shiftObject shiftFieldrHatthetaHatphiHatsHatxHatyHatzHat$fShowPositionCurve curveFuncstartingCurveParamendingCurveParamdottedLineIntegralcrossedLineIntegral$compositeTrapezoidDottedLineIntegral%compositeTrapezoidCrossedLineIntegralsimpleLineIntegralnormalizeCurve concatCurvesconcatenateCurves reverseCurve evalCurve shiftCurve straightLine"compositeSimpsonDottedLineIntegral#compositeSimpsonCrossedLineIntegral toPosition fromPositionstandardCartesianstandardCylindricalstandardSphericalnewCoordinateSystemxyzsphirtheta KroneckerkronxpxmypymzpzmnpnmdimscaleVinnernorm normalize probVectorconjVfromListtoListsxsyszscaleM<>#><#conjugateTranspose fromListstoListssizematrixFunctioncouterdmtrace normalizeDM oneQubitMixed timeEvMattimeEv timeEvMatSpecpossibleOutcomesoutcomesProjectorsoutcomesProbabilities gramSchmidt$fKroneckerMatrix$fKroneckerVectorKron RepresentablerepOrthonormalBasisHasNormDaggerdaggerMultBraOperatorKetimakeOB listBasisxBasisyBasiszBasisnBasissnsn'timeEvOp$fNumKet $fNumOperator$fNumBra $fShowBra$fMultOperatorOperatorOperator$fMultKetBraOperator$fMultOperatorKetKet$fMultBraOperatorBra$fMultBraKetComplex$fMultOperatorComplexOperator$fMultBraComplexBra$fMultKetComplexKet$fMultComplexOperatorOperator$fMultComplexBraBra$fMultComplexKetKet$fMultComplexComplexComplex$fDaggerComplexComplex$fDaggerOperatorOperator$fDaggerBraKet$fDaggerKetBra $fHasNormBra $fHasNormKet$fRepresentableOperatorMatrix$fRepresentableBraVector$fRepresentableKetVector$fShowOperator $fShowKet$fKronOperator $fKronBra $fKronKet$fShowOrthonormalBasis BeamStack randomBeamdetectdropBeamnumBeams flipBeamssplit recombine applyBFieldsplitXsplitYsplitZ applyBFieldX applyBFieldY applyBFieldZ recombineX recombineY recombineZxpFilterxmFilterzpFilterzmFilter$fShowBeamStack bracketRootbracketRootStepfindRoot findRootsN findRootsfreeV harmonicV doubleWell squareWellstepVwallcoherentgaussianmovingGaussianstateVectorFromWavefunctionhamiltonianMatrixexpectXpicturelistFormxRangeEvolutionMethodSolutionMethodInitialValueProblemDifferentialEquationTime StateSpaceDiff.-..+^.-^ stepSolution eulerMethod$fVectorSpace[]$fAdditiveGroup[]$fStateSpace[]$fStateSpacePosition$fStateSpaceVec$fStateSpaceDouble$fStateSpace(,,)$fStateSpace(,) rungeKutta4integrateSystem ManyParticleAccelerationFunctionManyParticleSystemStateTwoParticleAccelerationFunctionTwoParticleSystemStateOneParticleAccelerationFunctionOneParticleSystemStateDStStpositionvelocitySimpleAccelerationFunction SimpleStateVelocityTimeStepTheTimesimpleStateDerivsimpleRungeKuttaSteponeParticleStateDerivoneParticleRungeKuttaSteponeParticleRungeKuttaSolutiontwoParticleStateDerivtwoParticleRungeKuttaStepmanyParticleStateDerivmanyParticleRungeKuttaStep$fStateSpaceSt$fVectorSpaceDSt$fAdditiveGroupDSt $fShowDSt$fShowStSurface surfaceFunc lowerLimit upperLimit lowerCurve upperCurve unitSpherecenteredSpherespherenorthernHemispheredisksurfaceIntegraldottedSurfaceIntegral shiftSurface polarToCart cartToPolararrow thickArrowlabel postscriptpsFile examplePlot1 examplePlot2 plotXYCurve v3FromVec v3FromPosdisplayVectorField curveObject oneVectorvisVec $fShowSph $fShowCartVolume volumeFuncloLimitupLimitloCurveupCurveloSurfupSurfunitBallunitBallCartesian centeredBallballnorthernHalfBallcenteredCylindervolumeIntegral shiftVolumeCurrentDistribution LineCurrentSurfaceCurrent VolumeCurrentMultipleCurrentsCurrentbFieldFromLineCurrentbFieldFromSurfaceCurrentbFieldFromVolumeCurrentbField magneticFluxChargeDistribution PointCharge LineCharge SurfaceCharge VolumeChargeMultipleChargesCharge totalChargeeFieldFromPointChargeeFieldFromLineChargeeFieldFromSurfaceChargeeFieldFromVolumeChargeeField electricFluxelectricPotentialFromFieldelectricPotentialFromChargeVisObjtoPosketToPosstaticBlochSpheredisplayStaticStateanimatedBlochSpheresimulateBlochSpheresimulateBlochSphereK stateProp statePropKevolutionBlochSphereevolutionBlochSphereKhamRabi dottedSimp crossedSimpghc-prim GHC.TypesDouble/gloss-rendering-1.13.1.2-Kath0g6KqKeISTWP2V7Wbs%Graphics.Gloss.Internals.Data.PicturePictureglossScalePoint originArrow#gnuplot-0.5.7-MuqGmUXR953e5x7qKzjNhGraphics.Gnuplot.Simple Attribute"linear-1.22-BCEcLAKupaIFib6Xmh4c9Q Linear.V3V3rotYrotZ linSpacedePotFromPointChargeePotFromLineChargeePotFromSurfaceChargeePotFromVolumeChargeFloat