MaplePrimes Questions

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...

I use a simple for loop below to illustrate. For each loop through the index value I want to add the result of that loop to a list h. This is how I tried to do it but I can't quite get it because the value in h1 gets updated for each step through the for loop.

 

for i from 1 to 10 do

u[i]:=2*i;

h:=[]; h1:=[u[i],op(h)]

end do;

So after the for loop is terminated I want to be left with a list h:= ...

 

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 

Why does collect only work sometimes?

I will show with a simple example.  I can do this

a := 5*x^2-4*x+3;
       
                             a := 5 x2  - 4 x + 3
h := exp(x)*a+exp(x);
            ...

How to get the polynomial successfully why return error expect a series valuation 1, what do it mean?

l := [12,14,27,35,46,49];
sl := listtoseries(l,x,revogf);
convert(sl,ratpoly);

 

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...

How could we get module which contain this export, for example

I have

m1 := module export a; end module;

 temp := m:-a;

evalb(temp = a);
 # false
evalb(temp = m:-a);
 # true 

 but how could I get back the module like this

temp2 := getModule(temp); 

temp2;

 # m

evalb(temp2 = m) ;

# true 

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...

Mapleprimes has really painfully slowed down in the last day.  What's happened?

After I post this message mapleprimes will refresh and refresh a few times (not that it hasn't done that before) but now that it's slower again, it's quite frustrating, I can't post even check primes for at least 15 minutes after a post.  Back to the old days of primes 2 I guess.  I can't tell if mapleprimes making progress but it seems like were going backwards just as much as we go forwards.

First 1869 1870 1871 1872 1873 1874 1875 Last Page 1871 of 2434