I want to compile the appended code snippet from HelpExamples.c
into a DLL using MSVC6 and added C:\Programme\Maple10\extern\include
as well as C:\Programme\Maple10\bin.win as pathes to the project.
After compiling I get the following error message for linking:
Linking...
Creating library Release/MapleAPI.lib and object Release/MapleAPI.exp
MapleAPI.obj : error LNK2001: unresolved external symbol __imp__ToMapleString@8
It seems that i miss an import library - what should I do (except
having a break for some more coffee)?
Sh... upload does not work for 2 kB - exceeds maximum file size

Hi.
I have searched the forums and haven't found any topics relating to what I am experiencing. If there are, I apologize and would appreciate a pointer to where I can get more info.
I am creating some course content, and am working in document mode so as to make the document easier to view. I am working with Maple 10 on a mac (OSX 10.4.3). My frustration is this:
I get very inconsistent behavior when I try to type a math equation in the document. If I have no typesetting (no sections, etc), then things work fine. If I am inside a section, however, and input something in math mode (option-R on a mac), then when I hit enter, instead of seeing the calculation, it just goes to a new line. Sometimes it gives me a calculation, but not often. I

I'm trying to find the largest prime number in consecutive digits of e but maple seems to have problems with large integers. Does anyone know a way to make this work better?
for i from 0 to 100 do
a := floor(e*10^i); #e is the natural base e
if isprime(a) then print(a);
end if
end do
it finds the first 3, then gives the error:
Error, cannot determine if this expression is true or false: isprime(floor(100000000*exp(1)))
I believe it is due to precision of integer values.

I would like to know if it is possible, how to plot a function that is stepwise, something like: for x< -1, y=2-x; for -1<= x <= 1, y=x; for x>1, y=2x+1;

Is it possible to do this all on one plot? I'm extremely new to Maple, so I apologize if the answer is quite obvious! Thanks!

can you animate implicitplots? if so, how?

Hello,
I need to find a limit function of recurent progression:
y0 = a; yn = a + int(x * y(n-1), x) for n=infinity.
Thank you very much for any solution
P HK

Hi!
I have a Maple worksheet comprising of TEXT + MATH, mainly for loops and if statements, using matrices. Can someone please let me know how I can turn this sheet into Fortran code (very detailed instructions necessary!)
Thanks for your help! :)

I need to generate pimitive polynomials of degree 17 over GF(2^32) for use in an LFSR working over 32-bit words.
Does anyone know how it can be done?

I'm trying to solve a partial differential equation with two boundary conditions below. The general solution contains arbitrary functions of the non-differentiated variable. These functions are solved for and assigned but do not appear in the final solution return. Can anybody help me with this?

**> restart;**

**> l:=lambda;**

I'm trying to solve a partial differential equation with two boundary conditions below. The general solution contains arbitrary functions of the non-differentiated variable. These functions are solved for and assigned but do not appear in the final solution return. Can anybody help me with this?

**> restart;**

**> l:=lambda;**

Hi. I'm a very new Maple user, but I don't think that this qualifies as a Newbie question. Has anybody had problems when trying to write directly to a PS file from within the Maple GUI on OS 10.4.3 for Mac? Consider the following:
currentdir(kernelopts(homedir)):
plotsetup(ps,plotoutput="testplot.ps"):
plot(sin(x),x=0..2*Pi);
Running this code from the command-line works as expected, but running this from the GUI interface usually returns:
Error, Error in device driver: plot terminated
The strange thing is that about 10% of the time, the above code actually will work from the GUI. I cannot produce failure or success consistently in the GUI. I have tried this on both a G4 and a G5. Am I the only user who has had this problem?

It is often difficult to use the

Symbolic toolbox of Matlab (which is linked to the

Maple engine). It can be difficult to read the input and output from the toolbox. To solve this problem, I have developed a graphical interface to the Symbolic toolbox as I describe below.

I try to deduce distribution fonction from a parametrized set of points with Maple.
At this stage I have a dataset define through a relationship like y=f(x), and I want to obtain the distribution of y points, given that x in [-A,A]. The theoretic formula is : F[Y](z) = P(y<z).
i.e. F[Y](z) = Int(delta[f(x)< z],x=-A..A);
and I use the **piecewise** Maple function to implement it ( Int(piecewise(f(x)< z,1,0),x=-A..A) ), but for Maple :
Int(piecewise(f(x)< z,1,0),x=-A..A) = piecewise(Int(f(x)< z, x=-A..A),1,0))
which is totally different !

Using the following integrand

.71428491807021e-1*(1/2-1/2*erf(.50253255206611e-2*xi*2^(1/2)))/Pi^(1/2)*

exp(-1/2*(.14285698361405*xi-5.6995353453900)^2)*2^(1/2)*(1/2+1/2*

erf(1.1171516020037*(5.4091420603773+.44756682898115*xi)*2^(1/2)))

I get -0 for Int( %, xi= -99.496042185589..infinity): evalf(%,14);

which certainly is false. But if I cut off at a reasonable upper bound

(say exp(...) <= 1E-16) I get what I expect (up to rounding errors).

I consider that as a bug and wonder whether it is in the NAG library

or through Maple calling it - any explanation?

Edited to add: `Mapl

I was wondering if some one had the knowledge as to why the plot3d command will not work for the dirichlet elliptical wave equation, at fixed time t, yet maple is able to evaluate this function at specific values for theta and r. (the coord system for the 3d plot should work with "ellcylindrical" but does not)

the modes of the function look like (for Cosine-Elliptic)

MathieuCE(j,q,theta)*MathieuCE(j,q,I*r)*cos(lambda*t)

j=0, 1, 2...n where q is a 'zero' value of MathieuCE(j,q,I*1) 0<theta<2*Pi, 0<r<1, t>=0

the error stated is "Plotting error, MESH must be a list of lists of vertices, or an hfarray"