Skip to main content

Chemistry (chemistry-ai999x)

Chemistry covers stoichiometry, gas laws, solutions, chemical equilibrium, acids and bases, kinetics, thermochemistry, electrochemistry, molecular properties and spectroscopy: 119 calculations in 13 topics, each with its formula, its steps and its units, and a plain reason instead of a number when an input is missing or out of range. One compiled engine, four ways to use it: the desktop app, the command line, the browser and Python. Everything runs on your own computer, offline.

The Chemistry desktop app: pH of a weak acid, with its worked example and live scene

Four ways to use it

Desktop app (Windows, Linux) Windows · Linux
Command line chemistry (Windows, Linux) Windows · Linux
Browser (any device) Try it on the model page
Python 3.10+ pip install chemistry-ai999x: on Windows and Linux (x86-64) pip installs the same compiled engine; on other systems (macOS, ARM) it installs a pure-Python build that gives the same answers

See it

From the Chemistry desktop app: every scene and chart is drawn from the computed answer.

Chemistry desktop app: a slider moves an input and the answer, the scene and the charts follow

Watch the full clip (MP4)

pH of a weak acid: the live scene in the Chemistry desktop app
pH of a weak acid
Balancing a chemical equation: the live scene in the Chemistry desktop app
Balancing a chemical equation
Ideal gas law: pressure: the live scene in the Chemistry desktop app
Ideal gas law: pressure
Arrhenius equation: rate constant at another temperature: the live scene in the Chemistry desktop app
Arrhenius equation: rate constant at another temperature
Average atomic mass from isotopes: the live scene in the Chemistry desktop app
Average atomic mass from isotopes
Gibbs energy from a cell potential: the live scene in the Chemistry desktop app
Gibbs energy from a cell potential
Molar solubility with a common ion: the live scene in the Chemistry desktop app
Molar solubility with a common ion
Degree of unsaturation: the live scene in the Chemistry desktop app
Degree of unsaturation

Charts:

pH of a weak acid: a chart in the Chemistry desktop app
pH of a weak acid
Balancing a chemical equation: a chart in the Chemistry desktop app
Balancing a chemical equation
Ideal gas law: pressure: a chart in the Chemistry desktop app
Ideal gas law: pressure
Arrhenius equation: rate constant at another temperature: a chart in the Chemistry desktop app
Arrhenius equation: rate constant at another temperature

Ask in words: 15 examples

Each question below was asked on this release; the comment under it is the line it printed.

import chemistry_ai999x as chemistry

a = chemistry.ask(
    "What is the pH of a buffer that is 0.10 M acetic acid and 0.15 M "
    "sodium acetate (pKa = 4.76)?"
)
print(a.outcome, a.values)
# SOLVED {'pH': 4.936091259055681}

a = chemistry.ask(
    "A cell has E° = 0.46 V with n = 2 at 298 K. What is the "
    "equilibrium constant?"
)
print(a.outcome, a.values)
# SOLVED {'lnK': 35.8260291000875, 'K': 3622819916970735.0}

a = chemistry.ask(
    "A gas at 1.00 atm occupies 4.00 L. What is the new pressure if it "
    "is compressed to 1.00 L at constant temperature?"
)
print(a.outcome, a.values)
# SOLVED {'P2': 405300.0}

a = chemistry.ask(
    "k1 = 1.0e-3 s^-1 at T1 = 300 K and k2 = 5.0e-3 s^-1 at T2 = 320 "
    "K. What is the activation energy?"
)
print(a.outcome, a.values)
# SOLVED {'Ea': 64231.73452402517, 'Ea_kJ': 64.23173452402517}

a = chemistry.ask("What is the degree of unsaturation of C6H6?")
print(a.outcome, a.values)
# SOLVED {'dou': 4.0}

a = chemistry.ask(
    "A wood sample has 25% of the original carbon-14 remaining. The "
    "half-life of carbon-14 is 5730 years. How old is the sample?"
)
print(a.outcome, a.values)
# SOLVED {'t': 361650096000.0, 't_years': 11460.0, 'half_lives': 2.0}

a = chemistry.ask(
    "What is the boiling point change of a 0.50 mol/kg aqueous "
    "solution of a nonelectrolyte (Kb = 0.512 K·kg/mol)?"
)
print(a.outcome, a.values)
# SOLVED {'dT': 0.256}

a = chemistry.ask(
    "A 1.00 cm cell holds a 2.0e-5 M solution with molar absorptivity "
    "15000 L/(mol·cm). What is the absorbance?"
)
print(a.outcome, a.values)
# SOLVED {'A': 0.3, 'T_percent': 50.11872336272722}

a = chemistry.ask(
    "P1 = 100 torr at T1 = 300 K and P2 = 400 torr at T2 = 340 K. What "
    "is the enthalpy of vaporization?"
)
print(a.outcome, a.values)
# SOLVED {'dH': 29392.046240384272}

a = chemistry.ask(
    "Isotope masses are 34.97 u and 36.97 u with abundances 75.78% and "
    "24.22%. What is the average atomic mass?"
)
print(a.outcome, a.values)
# SOLVED {'A_r': 35.4544, 'M': 0.0354544}

a = chemistry.ask("A cell has E° = 1.10 V and n = 2. What is ΔG°?")
print(a.outcome, a.values)
# SOLVED {'dG': -212267.73067128204, 'dG_kJ': -212.26773067128204}

a = chemistry.ask(
    "ΔG° = -33.0 kJ/mol at 298 K. What is the equilibrium constant?"
)
print(a.outcome, a.values)
# SOLVED {'K': 608499.1084253575, 'lnK': 13.318750726207918}

a = chemistry.ask(
    "A gas occupies 2.00 L at 1.00 atm. What is its volume when "
    "compressed to 3.00 atm at constant temperature?"
)
print(a.outcome, a.values)
# SOLVED {'V2': 0.0006666666666666666}

a = chemistry.ask(
    "A reaction has a pre-exponential factor of 1.0e13 s^-1 and Ea = "
    "100 kJ/mol. What is the rate constant at 500 K?"
)
print(a.outcome, a.values)
# SOLVED {'k': 357.4999421719933}

a = chemistry.ask(
    "25.0 mL of 6.0 M HCl is diluted to 500 mL. What is the new "
    "concentration?"
)
print(a.outcome, a.values)
# SOLVED {'c2': 300.0, 'c2_molL': 0.3}

Guides

  • Desktop app guide: the window, every calculation, scenes and charts: PDF · HTML · Markdown
  • Python guide: every calculation with a Python example: PDF · HTML · Markdown
  • Command-line guide: every calculation with the command and what it printed: PDF · HTML · Markdown

Every calculation, with its formula, a worked example and its figures: Chemistry on ai999x.com. Install guides for the app and the command line: https://www.ai999x.com/desktop-cli/.

Version 1.6.6 · License: Apache-2.0 · Author: Ibnul Jaif Farabi · Organization: AI999X · Contact: support@ai999x.com · Support the project

The Future Is Self-Improving.

Metadata

Release files for chemistry-ai999x 1.6.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for chemistry-ai999x 1.6.6
File Interpreter ABI Platform Actions
chemistry_ai999x-1.6.6-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for chemistry_ai999x-1.6.6-py3-none-win_amd64.whl
chemistry_ai999x-1.6.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for chemistry_ai999x-1.6.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
chemistry_ai999x-1.6.6-py3-none-any.whl Python 3 none any Details for chemistry_ai999x-1.6.6-py3-none-any.whl

Total release size: 23.3 MB

Release files / chemistry_ai999x-1.6.6-py3-none-win_amd64.whl

Download URL chemistry_ai999x-1.6.6-py3-none-win_amd64.whl
Size 9.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
a648f2e6448c765fafedf32bc3db1898a2f65ca376782c2f8b6ef77412e028d3
BLAKE2b-256 checksum
How to use checksums
427a9692135d788b821b86c7325a3357b41fe831612cb540dd28a01333b3584f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / chemistry_ai999x-1.6.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL chemistry_ai999x-1.6.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 8.6 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
2da918fa3911d64f4da9661b32e9fa0e3fbd2498d445a77cca63aabf599ec82f
BLAKE2b-256 checksum
How to use checksums
15bb8491bfc738bfad624fdd25dbcfa4419fb36ced80e15893d37759073ae09e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / chemistry_ai999x-1.6.6-py3-none-any.whl

Download URL chemistry_ai999x-1.6.6-py3-none-any.whl
Size 5.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
5c00a82349fbe395534e92630188e6f4369850b106d23cdef634c3cba88e42fe
BLAKE2b-256 checksum
How to use checksums
fff2cdf6009215bbc63deddb6783a0382d366f1a96edd300b8924e049f15058b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for chemistry-ai999x 1.6.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page