{
    "nbformat": 4,
    "nbformat_minor": 5,
    "metadata": {
        "kernelspec": {
            "display_name": "Python",
            "language": "python",
            "name": "python"
        },
        "language_info": {
            "name": "python"
        }
    },
    "cells": [
        {
            "id": "10348b89",
            "cell_type": "markdown",
            "source": "<div class='alert alert-warning'>\n\nSciPy's interactive examples with Jupyterlite are experimental and may not always work as expected. Execution of cells containing imports may result in large downloads (up to 60MB of content for the first import from SciPy). Load times when importing from SciPy may take roughly 10-20 seconds. If you notice any problems, feel free to open an [issue](https://github.com/scipy/scipy/issues/new/choose).\n\n</div>",
            "metadata": {}
        },
        {
            "id": "16935e38",
            "cell_type": "code",
            "metadata": {},
            "execution_count": null,
            "source": "from scipy.constants import find, physical_constants",
            "outputs": []
        },
        {
            "id": "ce0bc89b",
            "cell_type": "markdown",
            "source": "Which keys in the ``physical_constants`` dictionary contain 'boltzmann'?\n",
            "metadata": {}
        },
        {
            "id": "4bd932bd",
            "cell_type": "code",
            "metadata": {},
            "execution_count": null,
            "source": "find('boltzmann')",
            "outputs": [
                {
                    "output_type": "execute_result",
                    "metadata": {},
                    "data": {
                        "text/plain": "['Boltzmann constant',\n 'Boltzmann constant in Hz/K',\n 'Boltzmann constant in eV/K',\n 'Boltzmann constant in inverse meter per kelvin',\n 'Stefan-Boltzmann constant']"
                    },
                    "execution_count": null
                }
            ]
        },
        {
            "id": "441fee01",
            "cell_type": "markdown",
            "source": "Get the constant called 'Boltzmann constant in Hz/K':\n",
            "metadata": {}
        },
        {
            "id": "ce3941bf",
            "cell_type": "code",
            "metadata": {},
            "execution_count": null,
            "source": "physical_constants['Boltzmann constant in Hz/K']",
            "outputs": [
                {
                    "output_type": "execute_result",
                    "metadata": {},
                    "data": {
                        "text/plain": "(20836619120.0, 'Hz K^-1', 0.0)"
                    },
                    "execution_count": null
                }
            ]
        },
        {
            "id": "1d573779",
            "cell_type": "markdown",
            "source": "Find constants with 'radius' in the key:\n",
            "metadata": {}
        },
        {
            "id": "37ea94b8",
            "cell_type": "code",
            "metadata": {},
            "execution_count": null,
            "source": "find('radius')",
            "outputs": [
                {
                    "output_type": "execute_result",
                    "metadata": {},
                    "data": {
                        "text/plain": "['Bohr radius',\n 'alpha particle rms charge radius',\n 'classical electron radius',\n 'deuteron rms charge radius',\n 'proton rms charge radius']"
                    },
                    "execution_count": null
                }
            ]
        },
        {
            "id": "0845defd",
            "cell_type": "code",
            "metadata": {},
            "execution_count": null,
            "source": "physical_constants['classical electron radius']",
            "outputs": [
                {
                    "output_type": "execute_result",
                    "metadata": {},
                    "data": {
                        "text/plain": "(2.8179403262e-15, 'm', 1.3e-24)"
                    },
                    "execution_count": null
                }
            ]
        }
    ]
}