Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

First, here is my code (the last 3 lines are actually a single expression, despite being split over multiple lines below):

with(Statistics):
with(Student):
with(Student[NumericalAnalysis]):
Student[Calculus1][Roots]:
k := 8;
size:=5000;
h:=3.1;
Llimit := evalf((size-1)-10*sqrt(2*(size-1)));
Uplimit := evalf((size-1)+10*sqrt(2*(size-1)));
evalf(Int((Int(CDF(Normal(0, 1), h/sqrt((size-1)*(1/x+1/y)))*PDF(RandomVariable
(ChiSquare(size-1...

How do I update  Maple 5 version  files ( or programs)  to the Maple 14  version ? . I mean I've done a lot of programs in the  Maple 5 version many years ago and now ( using   Maple 14 version) I can't visualize my  complete equations and worst my graphics .Could you help me ?

Hi,

 

I am trying to export an array of complex numbers to MathML.

I would like the numbers to be formatted a.aa x 10aa + a.aa x 10aa i

Anybody know how to do this?

 

Regards.

Hi all,

I have this piecewise function:

Mr := theta->piecewise(theta>=0 and theta<=(Pi/(2*p))-(beta/2),0,theta>(Pi/(2*p))-(beta/2) and theta<=(Pi/(2*p))+(beta/2),Br/mu0,theta>(Pi/(2*p))+(beta/2) and theta<=((3*Pi)/(2*p))-(beta/2),0,theta>((3*Pi)/(2*p))-(beta/2) and theta<=((3*Pi)/(2*p))+(beta/2),-Br/mu0,theta>((3*Pi)/(2*p))+(beta/2) and theta<=2*Pi/p,0);

I want to calculate the Fourier serie of this function without giving...

 

The coefficient of determination also known as R^2 tells how good a fit is. If R^2=1 the fit is perfect an if R^2=0 it's useless. But Maple don't have a native function to calculate R^2. I seached and found this: 
http://www.mapleprimes.com/questions/40171-Determining-An-Equations-Accuracy

But it only describe how to calculate R^2 on a 

with(gfun):
gfun['maxdegcoeff'] := 50:
gfun['maxdegeqn'] := 2:

i use number of balls in each basket to get a list, but all functions return fail? where is wrong? and how to use correctly?
l := [0,0,0,2,0,0,0,0,1,1,0,1,0,1,1,0,0,0,0,0,0,1,0,0,1,0,1,1,0,1,1,0,1,0,2,0,0,0,1,0,0,0,0,0,1,1,0,1,1]:
listtoratpoly([1,1,2,3,5,8,13],z);
listtoalgeq(l,y(x));

l := [12,14,27,35,46,49,31];
listtohypergeom(l,z);
guessgf(l,z);

Hi, 
I'm modeling a magnetic field and I don't know how to plot the corresponding vector field:

For each point  M I have the vector B(M) as a list.
Could you explain me how to transform it as a "real vector" first and how to plot these vectors then??

 

Thanks in advance! 

Hello!

I've got a question about model integration process.

I've tried to solve quite complex mechanical model and this messages have appeared.

 

Computing initial conditions...
Iterate re-initialization...
done.
Simulating...
CreateDataRecord: using dsolve method=rosenbrock_dae
Generating configuration 1
Integrating configuration...
Re-initializing after event at t=4.94271387307997e-009...

Hi,

 

I'm trying to model a magnetic field with maple.

In order to do that, I compute a (huge) sum and integrals of real and posive numbers.

The problem is that for some points, when I compute the norm of this field I get an imaginary number with a very small imaginary part (egs -2, 27293.1844462+1.42305652280*10^(-84)*I ).

 

How can I get rid of it?

thx in advance 

Can anyone explain this?
 
> A := Matrix(7, 7, {(1, 1) = 0, (1, 2) = 0, (1, 3) = 0, (1, 4) = 0, (1, 5) = 0, (1, 6) = 0, (1, 7) = 0, (2, 1) = 0, (2, 2) = 0, (2, 3) = 0, (2, 4) = 0, (2, 5) = 0, (2, 6) = 0, (2, 7) = 0, (3, 1) = 0, (3, 2) = 0, (3, 3) = 0, (3, 4) = 0, (3, 5) = 0, (3, 6) = 0, (3, 7) = 0, (4, 1) = 0, (4, 2) = 0, (4, 3) = 0, (4, 4) = 0, (4, 5) = 0, (4, 6) = 0, (4, 7) = 0, (5, 1) = 0, (5, 2) = 0, (5, 3) = 0, (5, 4) = 0, (5, 5) = 0, (5, 6...

Good afternoon.

I have a problem.

i want ot add the procedure friccion(x1q1(t), x2q1(t), 1) into the dynamic system equation, because the fricction change with the velocity.

I don´t know how can solve that

Please help me o give some ideas.

thank you

30-03-2011-robot-man.mw

My question is very easy I have a^2+b^2*a+b+1 and I want b^2*((a^2)/(b^2)+1/b^2+a)  how could I ask this to maple?

In particular my expression is 

Hello.

I can't find a very "basic" tutorial about data file plotting and I have very simple questions.

Assume that we have a file that contains :

0.5 0.2

0.3 0.9

0.4 0.1

0.7 0.6

 

The first thing to do is to read data. I have no problems for that :

mydata:=readdata("test.txt",2)

Then

mydata=[[0.5,0.2],[0.3,0.9],[0.4,0.1],[0.7,0.6]]

 

Question n°1

I draw tiles, i want to utilise un plot of an array 2 dimension. But i have had a good solution ?

I input data by hand :

> with(plottools);
> with(plots);

 > a := proc (i, j) options operator, arrow; polygon([[i, j], [i, j+1], [i+1, j+1], [i+1, j]], color = red) end proc; b := proc (i, j) options operator, arrow; polygon([[i, j], [i, j+1], [i+1, j+1], [i+1, j]], color = green) end proc;

Hi everybody,
i'm an italian student, i'd like to create a Maple Library Archive for Maple 11 (a .mla file) with the procedures i want but i don't know how to. Can anyone explain me?

(I want to create a .mla file with some procedures and then recall the library at the initialization of a new worksheet, so that i can use the procedures i defined)


For example, i would like to create a .mla archive with the 2 following procedures:

First 1698 1699 1700 1701 1702 1703 1704 Last Page 1700 of 2224