Ratio and temperament
Why twelve equal steps cannot make every fifth and third pure, measured in cents in the sound lab.
As Vice President of Rehan Spices, I work in import and distribution. I also founded Replement. This site holds twelve labs I built to work through problems in commerce, security, law, markets, sound and seven other fields. Each one runs in your browser on made-up examples, so you can change the inputs and run it again.
Each picture is drawn by its lab, from the lab's own example. The methods they share
A workflow simulator with approval gates, retries and an event log you can replay.
Sign-in and export events checked against a written access policy, with the source events kept beside each finding.
Trend-adjusted models of daily observations, with block-bootstrap intervals and the missing days shown.
A market-making policy solved for inventory risk and compared with a fixed spread on simulated price paths.
Two drafts compared clause by clause, with an exact redline and the passage behind each finding.
A torus or sphere mesh checked for open edges, winding, Euler characteristic and enclosed volume.
Stock lots matched to orders by minimum-cost flow, with shared freight costs split to the cent.
Monthly lease, loan and sale cash flows for one property, with NPV, IRR and a sensitivity grid.
Nested dilutions traced to their raw materials, and a batch plan rounded to whole micrograms.
Whole-number interval ratios measured in cents against equal temperaments.
Bayesian updating, the value of information and forecast scores, all in exact fractions.
The shortest delivery tour by dynamic programming, with a lower bound and the gap a quick heuristic leaves.
Smaller rooms that each do one calculation. All instruments All twenty plates, large
The continued-fraction terms, convergents and a Bezout pair for a rational.
How many full batches of a mix fit a pan, and what is left over.
Word counts, syllables and two readability scores for a few lines of text.
A modular type scale, a grid width and an exact contrast bound for two colors.
Finds an equilibrium of a small payoff matrix by searching equal supports.
Two numerical steppers on an oscillator, a pendulum and an inverse-square field, with the energy each one keeps.
The days between two dates with an uncertainty on each, and ranged dates drawn on a timeline.
Euclid's algorithm, the Pythagorean comma, a Bayesian update and two more, one step per line.
Vice President
Its retail brand, Mecca Foods, is in market.
Founder
The company I founded. Its site is replement.com.
In development
A perfumery business I am developing.
California
A California real estate license is held.
Lead Researcher and Editor
The journal is not built yet.
In progress
A binaural-beats project I am working on, under a working name. The sound lab is its harmony side.
Why twelve equal steps cannot make every fifth and third pure, measured in cents in the sound lab.
What the logistics lab's exact tour and lower bound prove that a plausible-looking route does not.
I work with Grok Bot, Cursor, ChatGPT and Claude. My résumé lists the roles and the labs in one place.