I want to be able to pass integer values to a function - e^x and return the result. Based on reccurence relation of e^x. Can someone help me with this?
Thanks in advance.
You don't need to do that. Pascal already has this function: exp(x).
exp(x)