Version from Jan 12 2024, 22:22. Squiggle 0.9.2.
Automated upgrade from 0.9.0 to 0.9.2
Run
Autorun
Menu
/*
Part of a project where I practice BOTEC-ing more often.

How many blocks of Trader Joe's Firm Tofu have I cut while at my house?

Maybe divide up into:
- Prep for house meals
- Personal consumption

And then try a different strategy to check: how many blocks of tofu do we buy per year, and what proportion have I cut?
*/


years_at_house = 1.5


// I make meals at least once a month, probably more like 2x a month on avg, maybe more incl informal stuff.
num_house_meals = (2 to 4) * years_at_house * 12

// what perc of the house meals I cook use tofu - I really do love tofu lol
// I sometimes use soft tofu which shouldn't be included here
perc_meals_tofu = .6 to .75

// how many blocks of tofu per tofu meal on average
// ~4 blocks of tofu for a main item (excl. leftovers), 2 for a side, can be 6-8 for a bigger thing.
render #1 in 10ms
Distribution plot
MeanStdev5%25%50%75%95%Samples
41677.53063624044615611000