I do not know how to correctly set it up that way... I have tried many times but it does not work. I do not know where my problem is
This is very simple. Part of the problem could be that you have some of your inputs reversed. For example instead of "(-1)^n" you seem to calculate "n^(-1)", which is someting completely different! Also mind your representations. The value wired to N should be an integer (blue). You definitely don't need a formula express VI.
For each iteration you need the following terms based on the iteration number obtained from [i]:
combine them according to the formula and run the loop N times and autoidenx the result at the right loop boundary. After the loop, use "add array elements" to create the sum. You don't even need a shift register.
There are many other ways to do it (e.g. as in the quoted thread), but try this first. Post your code (the actual VI, not pictures!) if you get stuck.
I am trying to do this. But I can't on configure formula. This looks hard to me. Would you kindly provide an example?
You are adding to a very old thread with many posts.
What is "this" that you are trying to do?
Why are you trying to use a formula node at all and what exactly seems hard to you?
You gave me the solution, but I think I missed something. I am getting the wrong output. Can you check what is wrong? I am new to this.
did you notice the inversion circle on the lowest input of the middle compound arithmetic node? Right-click the terminal and select invert, resulting in a division. The rest is correct.
You probably also want to remove that wait. Makes no sense to have it there
Btw, my code is posted here. (Also, the above image is a snippet)
I am trying to do the taylor expansion of sinx using the formula node but don't quite understand how to go about defining the factorial. How would you do that?