Solved
Repeat a function and save the results in a vector
Hi
I have tried to create a program that calculates a function for each value in the vector, but the result is not being saved for each loop. What am I doing wrong? Thanks for your help.

Hi
I have tried to create a program that calculates a function for each value in the vector, but the result is not being saved for each loop. What am I doing wrong? Thanks for your help.

You just need to change "For" statement to make "i" a real range (not just 3),.

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.