## Debugging Maple code...

What tools are available to help with the search for syntax errors within Maple code? It seems to me the built-in debugger is designed to assist with the testing of Maple code with no syntax errors. While this is important, and useful, the code has to be syntactically correct before this is of any use. Here's the situation I am facing. I have a file with more than 3500 lines of Maple code. Close to 1000 lines is the definition of a maplet, which has to be in one execution group. If there is a single missing comma, square bracket, or parenthesis, Maple will generate an error message and will place the cursor somewhere within the offending execution group. I have seen enough error messages that I know what they mean; I'm not complaining about the error message. My complaint is about the location of the cursor. While the location is deterministic, it is rarely close to the actual location of the error. Does anyone have any useful tips for how to locate the source of syntax errors within large Maple programs?

## How do I numerically solve differential equations?...

None of the built-in features of Maple will help me numerically solve the kinds of complicated differential equations I want. I was hoping that Maple's option in dsolve of solving by Taylor series would at least grind out the first nine terms of the Taylor series expansion of the solution y(x) of e.g. x^3 + (y'(x) - 9*x)^(5/(y(x)+2)) + 4*(x-y(x))^(y'(6*x+4)) = 0 subject to y(1)=0. I dumped in functional equations, too, to see if Maple could handle it. Ok. So, for something like this, R(x,y(x),y'(x),y'(6x+4))=0 Maple should be at least able to do the first 9 differentiations to express

## how do i get both real part and imaginary part fro...

My expression is exp(mu*t), and 'mu' is a complex number.

## Maximization of a function over a given range...

I am having difficulty getting Maple to find the optimal solution over a specified range. That is, I want to limit the possible range of my maximizers. For my problem I am maximizing the expression "payoff" with respect to p and s and want to tell Maple to search for all solutions where s<pa.

I have the following expression for variable x

x:=-1/4*(s^2-pa^2+4*pa-4*s-4*p)/(s-pa);

where x is an input to the function payoff that I wish to maximize:

payoff:=p*x + s*subs(Q=x,y) + m*(1-subs(Q=x,y)));

and

y:=int((d-s/2),d=s/2..Q+s/2)+int(Q,d=Q+s/2..1));

Now, defining the FOC of payoff as

## solve for infinity...

A colleague just asked me what Maple would do if asked to solve an equation in which the right hand side is infinity. I didn't really know what it would do, so we did some tests:
```f := (x-1)/expand((x-1)*(x+1)*(x-2)):
solve( f=infinity, x );
1, -1
solve( 1/f=0, x );
2, -1
solve( denom(f)=0, x );
1, 2, -1
```
I could not explain the response to the first solve command. Can you? Thanks in advance, Doug

Anyone help me with thes practice problems i've done like 25 others. I am not sure if iam simply brain fried at this point or if i truly don't understand. Any help is appreciated thanks, florida nurse #1) Solve x(2x+3)= -4 possible answers are as follows a) [-5 +-i(sqrt23)/3] b)[-2 +-i(sqrt21)]/4 c)[-3 +-i(sqrt23)]/4 d)[+4 +-i(sqrt23)]/5 #2) Find the polar equation for the graph of a circle which is centered at the origin of a graph (0,0) and the equation of the graph is x^2 +y^2= 4. any and all help is much appreciated.

## Customized Units...

Hello, I am very new to using Maple, so I must apologize for my ignorance in advance. I basically have 2 questions, 1) How do I force the use of a preferred unit that may not be the default for a particular unit system. For example, I prefer cm for length and keV for energy. I would like these to always be assumed by Maple. also 2) How can I use a unit that does not appear to be part of any unit system, such as "neutrons". I would like to enter values such as 1E8 [neutrons/cm^2] . . . etc. How does one do this in Maple. I appreciate your input. Best regards, GL Columbi

## How to make the "plot" command work?...

In maple 11 I have defined: f := x -> e^(-x)*sin(x); then I have tried to get maple to draw the above mentioned: plot(f(x),x=0..2*Pi); What happens is that I see a the coordinat-system but with no drawings in it. Can anybody help me? Regards Simon

## Educational sites using Maple animations???...

A few years ago I visited a very nice educational site demonstrating Maple animations. Too bad I did not save the URL. Now I cannot find it anymore. Googling did not help. Any suggestions? Or other interesting Maple sites that Google can not find? Harry Garst

## Cracking Source code of microcontroller...

I have lost the source code of one of my application in microcontroller P87LPC764 and EEPROM as it was burned 4-5 years ago but given security lock by one of my colleagues who has left the company( and i have no contact no). Now i need the source code badly. Is there any ways of recovering the source code?? Please help.

## Fourier transform of a non-integrable function ......

Fourier transform of a non-integrable function ... Dear all, I am working on Fourier Transform of a non-integrable function. And I am working on the numerical implementation of the FT, using FFT. Let's call this function F(v). One example is F(v)=-1/(5*i*v)*(1-exp(5*i*v)) The function has a 1/v term in its asymptotic expansion, which corresponds to a jump or Heaviside function in its transform. Using FFT, I can see the jump, with some overshooting after the jump and undershooting before the jump, along with some ripples. I want to reduce these artifacts as much as possible, because I am going to integrate this transform against other functions later. Hence obtaining a smooth function without much numerical artifacts is vital. How do I do that?

## How to plot vector valued function...

How do I plot a vector-valued function with maple11? Example: r(t)=(t)i+(t^2)j+((1/2)t^3)k I am a new user, so if you could explain to me step by step that would be helpful. Thank you, Jerry8273

## Problem with MapleTA and MathML generation...

In a test we had develop at our college, we need to use some MathML expressions on the questions, for example: to verify if an student know the sine law I use:
mode=Multiple Choice@ name=sine@ editing=useHTML@ @ answer=1@ choice.1= @ choice.2=@