how to externalize math formula in ruby?

For general discussion related FlowStone
Post Reply
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

how to externalize math formula in ruby?

Post by tester »

How to externalize a math formula in ruby?

I want to plot a series of y values per array of x's (alternatively, in range between two values, and at resolution of given points), according to a formula entered from outside.
Attachments
_math-form.fsm
(398 Bytes) Downloaded 567 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: how to externalize math formula in ruby?

Post by tester »

I'm getting an impression, that typical (?) programmers who use FS, too often say say "impossible".
Who to trust, when "no" is a "no"?
As a non-programmer, I don't understand the word "impossible". :mrgreen:

I would understand a statement like "I don't know" or "let's figure out some logic behind and keywords to find out".

ruby-syntax compatible, can be entered via user's editbox.
div by 0 handling is specific to purpose I use it for.
Attachments
_math-form-001.fsm
(4.99 KiB) Downloaded 565 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Post Reply