I do something equivalent (with far more features) in-Emacs buffers with calc functions on a region, perhaps inside an org-mode note.
I do cite that NOT as a critic for the author NOR as advertisement for Emacs but to state a thing: FULLY INTEGRATED ENVIRONMENTS are the way to go. It's absurd that with an OS/set of apps who can do something you can't do something out-of-context. I'm actually write and email? Why I can't solve some math inside of the mail body?
The sole answer I found is commercial software: keeping things separated means having products on sale. Keep anything integrated means far less.