byADIT Free software for engineers and students
EngiFree
JupyterLab — The Complete Guide: Transparent Engineering Calculation Notebooks for Free

JupyterLab — The Complete Guide: Transparent Engineering Calculation Notebooks for Free

JupyterLab is a free, open-source workspace for writing notebooks: cells of code with the results, tables and plots right below them, alongside explanatory text and equations. It runs locally in the browser, with no external server, and works with Python, Julia, R and other languages.

Why it suits engineering calculations

An Excel sheet hides its formulas in cells and is hard to check. In a notebook every step is visible: the data, the assumptions, the formula and the result, with explanations in between. Change an input, re-run, and everything updates. That turns the notebook into calculation documentation another engineer can check and reproduce.

Common uses

Getting started

The simple route: install Python, then pip install jupyterlab, or download the JupyterLab Desktop app, which comes with everything. Add NumPy, SciPy, pandas and matplotlib and open a new notebook. It is worth adding the pint library for units, so the calculation checks for you that the dimensions work out.

What to watch for

A notebook whose cells were run out of order can show results that do not match the code. Before handing anything in, run “Restart and Run All”. To export a tidy report to PDF or Word, use Quarto, which reads notebooks directly.

The bottom line

JupyterLab is probably the best tool for engineering calculations that need to be documented and checked. If you prefer a MATLAB-style environment with a variable explorer, you will find it in Spyder — and the two can work on the same files.

Further reading

מדריכי AI למהנדסים ולמשרד, ב-5 שפות: adit-ai.com ←