I'm currently in the process of reformatting the mpreduce.mpws and while this is going well I have ran into and issue with the Limit doc.
mathpiperide\src\library_apps\mathpiper4\src\org\mathpiper\scripts4\mpreduce\mpreduce.mpws
The issue I'm experiencing is I can't seem to get the graphic console or test suite minimal to read the in_prompt *Examples code.
The original block of code that I am in the process of reformatting:
*E.G.
In> ForEach( i ,[0,1,3,4,Infinity]) {tmp := "lim(x*Sin(1/x),x," + ToString(i) + ") = ";Echo(tmp,Limit(Sin(1/_x)*_x,_x,i));}
Result: True
Side Effects:
lim(x*Sin(1/x),x,0) = 0
lim(x*Sin(1/x),x,1) = Sin(1)
lim(x*Sin(1/x),x,3) = 3*Sin(1/3)
lim(x*Sin(1/x),x,4) = 4*Sin(1/4)
lim(x*Sin(1/x),x,Infinity) = 1
The doc says that the Limit procedure accepts 3 parameters when it is called on. However, when I try try to input the code into the graphic console it tells me Limit is not able to accept 3 parameters
In> ForEach( i ,[0,1,3,4,Infinity]) {tmp := "lim(x*Sin(1/x),x," + ToString(i) + ") = ";Echo(tmp,Limit(Sin(1/_x)*_x,_x,i));}
Result: Exception
Exception: The 3 parameter version of procedure <Limit> is not defined (MAKE SURE THE PROCEDURE'S NAME IS SPELLED CORRECTLY and the correct number of arguments are being passed to it.) Starting at index 93.
Any Help... Helps!
Kyle