File:Quantum and classical statistics.png

From testwiki
Jump to navigation Jump to search
    Original file (1,200 × 600 pixels, file size: 59 KB, MIME type: image/png)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description
    English: Comparison of occupation number ⟨n⟩ over energy, for Bose-Einstein, Fermi-Dirac, and Maxwell-Botzmann statistics
    Date
    Source Own work based on: Fermi-Dirac Bose-Einstein Maxwell-Boltzmann statistics.svg
    Author Ashton Bradley Aspir8 (talk)

    This work is derivate of Fermi-Dirac Bose-Einstein Maxwell-Boltzmann statistics.svg, and aims to make fonts more visible at the size commonly used.

    Julia 10.0.4 code

    using GLMakie
    nbose(x) = x > 0 ? 1 / (exp(x) - 1) : NaN
    nfermi(x) = 1 / (exp(x) + 1)
    nmb(x) = exp(-x)
    ϵ = range(-5, 5, 1000)
    
    fig = Figure(size = (800, 400),fontsize=28,linewidth=4,fonts= (; regular = "CMU Serif",bold="CMU Serif"),)
    ax = Axis(fig[1, 1], xlabel =L"(\epsilon-\mu)/k_BT",ylabel = L"\langle n\rangle",
    xticks=LinearTicks(5),
    yticks=[0,1,2],)
    
    lines!(ax, ϵ, nbose.(ϵ), color = :red,label="Bose-Einstein")
    lines!(ax, ϵ, nmb.(ϵ), color = :mediumseagreen,label="Maxwell-Boltzmann")
    lines!(ax, ϵ, nfermi.(ϵ), color = :dodgerblue,label="Fermi-Dirac")
    ylims!(ax,0, 2.5)
    xlims!(ax,extrema(ϵ)...)
    axislegend(ax,framevisible=false)
    hidedecorations!(ax,label=false,ticks=false,ticklabels=false)
    fig
    

    Licensing

    I, the copyright holder of this work, hereby publish it under the following license:
    Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
    The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

    Captions

    Comparison of occupation number <math>\langle n\rangle</math> over energy, for Bose-Einstein, Fermi-Dirac, and Maxwell-Botzmann statistics

    Items portrayed in this file

    depicts

    25 June 2024

    image/png

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current11:18, 2 November 2025Thumbnail for version as of 11:18, 2 November 20251,200 × 600 (59 KB)wikimediacommons>Aspir8background opacity

    There are no pages that use this file.