Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
I have to create a program using the multiple-application trapezoidal rule. I'm not sure what else I need to add into the program. It keeps saying my f(x) variable is undefined. I've tried a few things and nothing is working. Thanks for any/all help.
Solved! Go to Solution.
Omit the "(x)" when calling your function I, just the function name f.
Omit the "(x)" when calling your function I, just the function name f.
The above answer does not work, you must delete the argument "f (x)" in the definition of the function that identifies the program, remember that "f (x)" is defined before, and the plot of this, is a function of a, b and n
Jaime Ruiz wrote:
The above answer does not work,
Are you sure?? If you claim somebody is wrong you should at least try it out yourself.
Your way of doing it would limit that function I() severely. It was very obviously Amy's intention to make the the function to be integrated a parameter of I(). That way you have a universal function at hand to approximate a definite integral.
Werner Exinger is right. I did as suggested and obtained the answers I needed. Thanks Werner