## Magnitude...

Is there any way in MAPLE to set up a workksheet in such a way that you can enter |B| and have it produce the same result as Mag(B) where Mag:=b->sqrt(Re(b)*Re(b) + Im(b)*Im(b))

## differentiate the unit vector of a rotating axis...

I have a frame where u_n and u_t are perpendicular unit vectors with u_n pointing to the right and u_t pointing up. Where the frame is rotating with angular velocity w in the anti-clockwise direction and time is t then d(u_n)/dt = w u_t How do I set Maple up so that it will do a symbolic differentiation of unit vectors - or any vector - in a rotating frame?

## Graphs like the ordered pairs of nodes and edges...

Hello! Is there any way in maple to create graphs? I would like to make my graph theory note more picturesque with it. Daniel

## problems with eps made from maple 10...

I need to export some 3d graphs to eps, then add some text and line, and then use them in a tex document. There are several problems with the eps produced by maple. Maple also saves the non-visible parts to the eps. This just makes the file unnessesarily big and slow to work with. Can I stop it from doing this? The lines of the curves is for some reason composed of thousands of lines on top of eacother. A little piece of a simple line, can consist of 10 thousand lines on top of each other. This makes a simple graph easily consist of 100 thousand lines and very slow to work with. Can I stop it from doing this, and only make the visible line.

## A Problem with plot function under GOT...

A simplified optimization problem of mine can be stated as follows: obj := (b) -> x^2-b*y; constr := (b) -> b*x+y = 0; SL := (b) -> NLPSolve(obj(b), {constr(b)}) which means that the objective function "obj" is minimized under the constraint "constr" given a certain value of b. Input the command SL(0), SL(1)..., maple will give you corresponding optimized values of "obj". But this relationship between b and SL(b) cannot be plotted. At least, with a simple function like plot(SL(b),0..100) it is impossible to get a figure. So...how solve this problem here? Thx a lot!

## How do I plot Cos(w*t) in frequency domain?...

Hi, I'm trying to plot a simple function of K*Cos(w1*t)+K*Cos(W2*t)+K*Cos(W3*t) in frequency domain using Maple. Y-axis can be the amplitude and X-axis is frequency domain in radian. I could use Fourier transform to conver the time domain to frequency domain function. But, Since the w1, w2, and w3 are undefined values, I don't know how I could draw it in symbolc way in frequency domain. Here is my assumption for w1, w2, and w3. w2-w1 not equal to w3-w2 They could certain frequencies in positive. K is a positive constant. I expect a plot as following:
```      Amplitude
^
|
|       |     |   |
|       |     |   |
```
As seen, w1, w2, and w3 has a different interval and Dirac pulse at w1, w2 and w3 domain with an amplitude of K. I have no idea how I could implement this symbolic plot in Maple. Should I use some assumption statement? or programming?? Please help. Thanks,

## typesetting...

hi i have one question in maple is many function which can have two 2D output like sum: Sum(f,i=3..n); in 2d Sum(f,i=3..n); sum(f,i=3..n); in 2d (n-2)f; for example i wanna my own function which will has two forms like a sum but in unevalued form will be instead of sigma for example Q or another symbol and above and belove that symbol will be some values, and in evaluated form there will be expression or number; another example is Diff or BesselJ funcions which have both two forms (symbolic/algebraic) my question is how to make this? Q(4,2);

## Picking the Eqn from PDE system to plot in plot3D...

Greetings! Newbie to the forum... I have created and solved a set of 2 PDE's, and I am trying to plot the results. I am capable of seeing the results of the second PDE by using the default command below. Is there a way to specifically pick which PDE to plot (I'm sure there is, but I can't seem to figure it out). pds := pdsolve(PDEset, PDEIC, numeric, time = t, range = 0 .. 30); pds:-plot3d(t = 0 .. 5, x = 0 .. 30, axes = boxed); Any help appreciated! Fred

## Converting strings from readline() into procedures...

My goal is to have users question banks in text files, and then read the data (both text and Maple procedures) in, through the readline function. The problem is, when I use that function, they come out as strings. For instance, if the first line of my file default.txt is diff(x^2,x) then the command readline("default.txt"); will display "diff(x^2,x)" I've tried using the convert function, but I can't find a type that will change it to a procedure. convert(aString,symbol) puts it as a symbol, but when I assign a variable to that symbol all it does it spit the symbol back out, it doesn't execute it. And if I use type(aString,procedure), it makes a procedure which displays the string. I need to remove the double quotes somehow and turn what's inside into a full-fledged Maple procedure. Any ideas?

## External numerical Integration with 100 digits...

by: Maple
Occasionally Maple does not make me happy, if I want numerical integrals with more than the 14 digits which are supplied through the NAG libraries - that may be rather slow. So I wrote my own solution using LCC-WIN32 (a (free) compiler system allowing 104 decimal points of precision), where I coded the double exponential integration method. That gives me what I want to have in reasonable time. Details are sketched in the uploaded zip-file (it contains all what is needed to run the stuff). Some draw-back: this is for Windows only and because of OpenMaple at least Maple 9 is need.

## Should this compile...

When I saw a statement on a post I thought "I didn't know you could do that". I downloaded it and it wouldn't compile. Here is the statement. G := (i,j) -> if is(i,even) and is(j,even) then 1; else 0; end if; When I tried to compile this in MAPLE 10 I got an "invalid arrow proceedure" error. Should this compile? Thanks

## Eigenvalue solution by Dsolve numeric...

Hello everybody! Could anybody help me How can I obtain a numerical solution for an ordinary differential eigenvalue problem? I suppose that it can be something with "dsolve,numeric". Thank a lot

## Definite integral with maple?...

Dear all: Anybody could tell me how can I obtain this integral with maple? Int(u^(d)*coth(u/2), u=0..infinity); where "d" is positive thank a lot D. Reyes CBPF