Post Reply 
Trapezoidal Rule or Simpsons Rule?
07-06-2015, 11:24 AM
Post: #3
RE: Trapezoidal Rule or Simpsons Rule?
That is what I am trying to do, except that I want to pass-in parameters, instead of using the INPUT() statement.

The difference is that, with the INPUT() command, the type of variable CAN be specified. In Eddie's program, the variable f is type [8], which is what I need, but I want to pass the function, f, directly to the program at run time:

EXPORT Trap(f,a,b,n)
BEGIN
END;

This is the issue I'm facing at the moment. It might not be possible at this firmware revision, or, at least, I don't know how to specify input typing in the example above.

Thank you for taking time to respond with that link! Input() may be the only way I can get a function into the program, for now.

-Dale-
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Trapezoidal Rule or Simpsons Rule? - DrD - 07-05-2015, 10:49 PM
RE: Trapezoidal Rule or Simpsons Rule? - DrD - 07-06-2015 11:24 AM



User(s) browsing this thread: 1 Guest(s)