MaplePrimes Questions

i've read one RNG source code from an article and some of the code are not clear to me. The source code is

proc()

local t;

global seed;

      seed:=irem(a*seed,p);

      t:=seed;

      to concats do seed:=irem(a*seed,p) t:=s*t+seed; end do;

end proc();

 

Hi,

 

I am trying to size a postscript plot in Maple 12.

I don't seem to have any control over the plot size with the width, height, axiswidth, axisheight options.

Is there something I should be doing to get control?

 

Additionally, is there a way to tie these values into the plot export facility?

 

Regards

 

Hi there, I have some .txt files with a large ammount of measuring Data, which i would want to draw in a XY-Graph. It is structured as follows: 1 15.0000 1.120000E+02 2 15.0003 1.460000E+02 3 15.0006 1.140000E+02 4 15.0008 1.340000E+02 5 15.0011 6.600000E+01 6 15.0014 1.100000E+02 7 15.0017 1.370000E+02 8 15.0019 6.000000E+01 9 15.0022 9.200000E+01 10 15.0025 5.200000E+01 and so on, till:

end

 

 

 

 

 

 

 

'pv:=p2'); %The variable a is matlab variable 'm:=m');'m1:=m1');'f:=piecewise(x>=pv[i], 1/(m1), x<pv[i], 0)')maple('r:=sum(f,i=1..m1)');

 

 

What did I do wrong, or why does Maple 11's cumulative distribution function (cdf) for Statistics:-GammaDistribution differ from what theory suggests? http://www.mapleprimes.com/files/7371_GAMMA_CDF.mw Thanks heaps.

Good Day,

Please assist with helping me in figuring out how to input math problems into Maple12. I am enrolled in MA 141 and my deadline to finish the course is June 1st. This class is very confusing and I would really appreciate if someone can assist me. thanks in advance.

One of my problems are: Find the absolute value of the complex number: z=9-5i

I have no idea how to input that into the software to get the answer...

Hi there,

I need to differentiate a summation like

sum(sum(u[i,j]^2*d[i,j]^2,j = 1 .. N),i = 1 .. c)

in relation to an arbitrary element, say u[s,t].

I usually get 0, whereas the expected response is

2*u[s,t]*d[s,t]^2.

Does anyone know if this is possible in Maple?

Thanks,

Antônio.

 

Hi there! I am discovering the Physics:-Vectors Package a bit, and as an example i wanted to calculae the Tensor of moments of inertia I, for a continuous mass disribution. Maple Help contains an Example-Worksheet on the Physics:-Vectors Package, that also contains calculating some Inertia-Tensor I, but for a discrete mass distribution. The formular there is entered as follows: > restart; with(Physics, KroneckerDelta): with(Physics:-Vectors): Setup(mathematicalnotation = true);

program a procedure repeatedEls which takes a list and returns the sublist consisting of all elements that appeared more than once in the given list.

repeatedEls([a,b,c,d,c,d,e,f,a]);

[a,b,c]

i need to write a procedure for two sets whose final output is their intersection.

 

help!

I have a set of partial differential equations and one unknown function f(u,v) which must contain u*Heaviside(u) and v*Heaviside(v) multiplications. Heaviside(u) is the Heaviside step function for the parameter u and it is already defined in Maple.

The solution should come in terms of these multiplications, that is, u or v, or Heaviside(u) or Heaviside(v) cannot occur alone.

I tried a solution of the form,

I want to graph nonlinear inequalities in two variables, but  Inequal works only for linear inequalities.  How to proceed?

Alla

Help!  Is anyone using MapleTA authentication with the LDAP on SUN serves.  It requires a two step authentication that I do not understand.  It would be helpful if someone has an example of how this is done.

i've a problem to understanding the concept of generating random number by using modulo. The basic modulo , let say a:= e mod m and i want to extend it to

x 0 = given,     x n+1 = P 1 x n + P 2       (mod N)    n = 0,1,2,...     (*)

But then how to implement that modulo to generate the random generator? and my latpop just 32 bits only. anybody would help me??

okay i need to write a procedure (call it setDiff) that takes two sets and returns the set of elements in the first list that DO NOT appear in the second.

for example.

setDiff({1,2,3,4,5},{2,4,6,8});

would return

{1,3,5}

 

so stuck. please help!!

First 2231 2232 2233 2234 2235 2236 2237 Last Page 2233 of 2426