QS-02 · Scientific plotting
Graph Generator
Pick a section: the Quantum Mechanics Graph Generator with physics presets and plot types, or the Universal Graph Generator for any equation you type.
Plot type
Quantum & physics presets
Click to plot. Each one sets a suitable x-range.
Basic shapes
Free particle & packets
Harmonic oscillator
Particle in a box
Hydrogen atom (radial)
Potentials
Tunneling & scattering
Statistical physics
Solid state
Axes & sampling
Drag to pan · Shift + scroll to zoom · hover for coordinates
Explanation
How this graph was made, step by step
Steps
- 1
Read your formulas: y = sin(x) and y = cos(x) * exp(-x^2/10).
- 2
Split the x-range [-10, 10] into 500 evenly spaced x values.
- 3
Put each x value into the formula to get its y value, which gives a list of points (x, y).
- 4
Join neighbouring points with straight line pieces. With this many points the line looks smooth.
- 5
Set the axes to fit all the points. Points that give no real answer are skipped, so the line breaks there.
What the graph shows
- f(x) = sin(x): lowest value ≈ -1 at x ≈ 4.718, highest value ≈ 1 at x ≈ -4.718.
- It crosses the x-axis 7 times, near x ≈ -9.437, -6.283, -3.154, 0, 3.154, 6.283, 9.437.
- It meets the y-axis at y = 0.
- The graph has point symmetry about the origin (odd function: f(−x) = −f(x)).
- f(x) = cos(x) * exp(-x^2/10): lowest value ≈ -0.4368 at x ≈ -2.666, highest value ≈ 0.9999 at x ≈ -0.01252.
- It crosses the x-axis 6 times, near x ≈ -7.86, -4.706, -1.577, 1.577, 4.706, 7.86.
- It meets the y-axis at y = 1.
- The graph is symmetric about the y-axis (even function: f(−x) = f(x)).
QS-02 · Methods
Methods, units & citations
- units
- reduced units (ħ = m = ω = 1 unless stated)
- ▸Uniform sampling with discontinuity detection
- ▸Trapezoidal integration, central-difference derivatives
- ▸Painter's-algorithm surface projection
References
- [1]Griffiths D. J., Schroeter D. F. Introduction to Quantum Mechanics, 3rd ed.. Cambridge Univ. Press (2018).
- [2]Abramowitz M., Stegun I. A. Handbook of Mathematical Functions. NBS / Dover (1964).
How to cite
Quantiphy Studio — Graph Generator module (2026). https://pixel-perfect-view-1726.lovable.app/graph-generator