I do not claim to the championship. It may well be that the first such solution was applied by someone at the end of the last century.
This is not about code examples, it is probably bad. Good, in my opinion, the idea - about her and speech.
The essence of the idea lies in the fact that an article (post) containing judgments and hypotheses about something countable and comparable, for clarity, you can embed contextual calculators that will allow the reader to “try on” the situation and get a forecast In this way, the author can help the reader solve his problem or confirm the validity of his conclusions). Under the cut, I hid a couple of examples. For example, in this article the author suggests the reader “to count the total amount in his tablet” (link to MS Excell file). This is inconvenient and ugly.
I decided to do differently. In my blog, I sometimes raise questions like “Is it profitable to rent an apartment?”, “Will there be a lot of money going out for gas if you live 50 kilometers from the city?”, “How to compare land lots”, etc. It was there that invented - to make calculators right in the body of the post.