11-29-2017 01:44 PM - edited 11-29-2017 01:56 PM
@BArtzon wrote:
How would you do that?
Simple: I would not use the formula node. It is pointless. 😄
The factorial function is not available directly, but is well defined, so you can roll your own. What is giving you problems? Note that I don't use the factorial function, because we need the intermediary results anyway. No need for these duplicate operations. Try to do a literal translation of my code into text instead.
(You also only need to do the calculation whenever one of the controls changes, and not millions of times per second as you currently do)
11-29-2017 02:00 PM
Thanks for the feedback.
11-29-2017 03:47 PM
I know how to do n! but (2*n+1) is a little hard? Can anyone help me?
Thank you!
11-29-2017 04:07 PM
11-29-2017 04:21 PM
Because I want to do it other way. With formula. I am trying but I am going nowhere.
11-29-2017 07:04 PM
So, you are talking about a text based loop?
(That would belong in the subject line!)
We are all graphical programmers here and have no interest in that. 🙂