Estimate the number of piano tuners in a city given the population.
var fermi = ;var n = ;console;
var fermi = ;
Return the estimated number of piano tuners in a city given the city
assumptions Optional assumptions for the estimate.
people_per_houseaverage number of persons in each household. Default is 2.
houses_with_piano_percentnumber of households that have a piano that is tuned regularly as a percentage. Default is 5.0.
tuning_per_piano_per_year: average number of times per year a (regularly tuned) piano is tuned. Default is 1.
tuning_time_hoursnumber of hours it takes a piano tuner to tune a piano, including travel time. Default is 2.
tuner_work_hours_per_daynumber of hours per day a tuner works. Default is 8.
tuner_work_days_per_weeknumber of days a week a tuner works. Default is 5.
tuner_work_weeks_oer_yearnumber of weeks a year a tuner works. Default is 50.
With npm do:
npm install fermi