## Matlab commands from Maple...

I've been exploring the link between Maple and Matlab, and there seems to be no documentation on how to use Maple to call commands (or .m files) in Matlab. On the other hand, it doesn't state that this is not possible. Has anyone else looked into this?

## How do I use Digits within a procedure?...

I am trying to create a procedure like this: myproc := proc(x) Digits := x; sqrt(x) end proc; and then I want to plot the results like this: plot(myproc(x), x=2..20); However, I get an error: "Invalid assignment to Digits". The following works fine, however: seq(myproc(x), x=2..20); How can I solve this? Thanks.

## Polynomial Longdivision...

How do I get maple to do polynomial long division?

## Using Maple 10 documents for presentations?...

It's obvious how to use Maple 10 for creating a document, but has anyone used Maple 10 for presentations? I'm going to present in a seminar in a couple of weeks and have some Maple demonstrations and graphics to show the group. I'd be interested in hearing tips, suggestions, experiences and ideas for presenting mathematical content to a group from within Maple. (I'm familair of course, with Powerpoint and LaTeX slides, and the LaTeX Prosper package. I'd use LaTeX/Prosper except that then I have to embed the Maple in the presentation. It would be more convenient if I can use Maple solely.)

## Solve an ODE with mixed boundary condition...

Dear All, First of all thank alec and Prof Doug. Please refer to post http://beta.mapleprimes.com/node/362#comment-729 My problem is to solve the following ODE with constrain given by the Eq: > DEq := diff(f(x),x) = c1*sqrt( g(f(x)) - g(f(x=x1)) ); > Eq := ug - f(x=0) = c2*sqrt( g(f(x=0)) - g(f(x=x1)) ); > g(f(x)) := exp(f(x)-xn) +exp(-f(x)) +(1-exp(-xn))*f(x); where ug is the independent variable and others are parameters > c1 :=-257753830.552993398770016153893; > c2 :=1.40376701562707174099362643812; > xn := 35.4196679725860384893589519100; > x0 := 0; > ug := 40; I have tried to followed alec's suggestion but the solution sometime still cannot be obtained. The independent variable ug has to be varied from -50 or less to + 100 or more. The intial guess in solving f0 (f0 := fsolve(g('fx0'(f0))-gfx0(f0),f0=30);) has to be input manually, this is a big drawback.

## exporting 3D files to Povray...

> Hello all, > How do I export a Maple 3D plot to Povray 3.6 Win ? > I use Maple 8. > Some animations on my site http://www.artdigits.org > Answer please to: avandergoten@skynet.be > Thanks for the help !! > Andre

## Question about a do loop...

In the third line of this do loop is the assignment assigning both the null set and the new value of the index into the original null set ? Also does this mean that the final set S contain the original null set with multiple null sets nested in it ? >

## How do I get my procedure to work?...

What does "Warning, `delta_Ia_con_p` is implicitly declared local to procedure `inductor_current_RMS_AVG_p`" exactly mean?

I get this, when I execute the following procedure:

# art=0 returns RMS current and art=1 returns AVG current
> inductor_current_RMS_AVG_p:=proc(Ue,Ua,Ia,L,T,art)
>
> delta_Ia_con_p:=(Ue-Ua)/L*Ua/Ue*T;
> inititial_inductor_current_con_p:=Ia-delta_Ia_con_p/2;
> initial_inductor_current_p:=piecewise(Ia<eval(IaLG_boundary_condition), 0, inititial_inductor_current_con_p);
> # initial_inductor_current_input:=initial_inductor_current;
> inductor_current_increase_p:=initial_inductor_current_p+(Ue-Ua)/L*t;

## problem with dsolve...

i put system of eqn to dsolve (3) sol := dsolve([sysode, icsode]); and i am getting sol:= is it means that maple can't solve it?

## diff df/dq(t)...

i have a function f(q(t),...)= q(t)*sin(q(t)). i need to do df/dq(t). how? thank's

## counting elements...

how do i count the numbers of elements inside of a list like [[x,y,z]]? ie. [[3,2,5],[2,34,6]]. i would want it to return 2.

## Plot3d and color....

Why do I get the same output with the two following statements plot3d(0, 0..20, 0..70, color=proc(x,y) 200000*x end proc); plot3d(0, 0..20, 0..70, color=proc(x,y) x end proc); How does the option "color=proc() ..end;" works? How can I choose the colors? (The reason behind my question is that I am trying understand how to plot the Mandelbrot set)