Is this the best way to produce a random 2-d array?

L:= Array(1..10,1..10,(rand(1..50));

What's unusual about the operation is that I seem to get an unusually high number of doubles in the rows. All of the time I'm getting 50% of the rows with a matching pair of numbers (ie. every time I run the line, I get 5 rows with a matching pair of numbers)

Does the probability of that seem a little high? Also are there other ways to produce a 2-d random array?

Thanks.

Hey, I have this complex ecuation on maple: (x+Iy)^3-x-Iy-A=0,

And I have to do an animation for -2<=A<=2, I tried using implicit plot and giving A that range, but it only returns a blank plot, any help would be appreciated!

Oh! I also have to search for what A values the ecuation has 1, 2, and 3 real solutions, any help in this would be appreciated to!

Thanks,

SolracQ

These functions give different indices for the x variables:

> test := j->sum(x[j-i mod 24], i = 0 .. 8); test2 := j->seq(x[j-i mod 24)], i = 0 .. 8);

> test(3); test2(3);

x[3]+x[26]+x[49]+x[72]+x[95]+x[118]+x[141]+x[164]+x[187]

x[3], x[2], x[1], x[0], x[23], x[22], x[21], x[20], x[19]

The second line uses the indices I would like. What am I doing wrong?

Hello!

Is there a function that allows finding address of array/matrix's element equal or closest to given number. Or I have to write a loop.

en example

array

[1 2 5 6 9 10]

given value

5.1

the closest is 5 and it is in 3th column.

Regards,

Smagliczka

I'm trying to get Maple to shade the approximating rectangles in a Riemann Sum but am having no luck -- any help would be appreciated. Curretnly I've typed the following:

RiemannSum( x^2+1,x=0..2, boxoptions = [filled = true] );

Doesn't seem to want to shade the area. Changing other boxoptions (e.g. color, etc.) does have an effect -- it's just the shading that is not working.

Thanks in advance,

-Greg

Hello, i am trying to make a maplet that animates the trajectory of a thrown object. unfortunately i am having a problem with the animation, the plot looks fine but it is just a simple plot and not an animation. Need help!

Dear Sir I am getting the solution lambda=−1.518022637,beta=0.5666679932,p=4.035629244

Does this solution maximizes my objective function Zv. Also I am not getting the solution for non negative values of p, lambda and beta.Can you please help me to solve following non linear equations with maple 10.

How can i take derivative of a vector fuction

r := proc (t) options operator, arrow; `<,>`(x0*e^(-t/t0)*cos(t/t0), y0*e^(-t/t0)*sin(t/t0), z0*e^(-t/t0)) end proc

how can i use "plot" command in a "for" loop as in each cycle, plotting an equation without printing other assignments?

I have implemented an economic model into Maple with the objection to plot a 3d graph from the final equation in order to visualize the effects these three parameters have on each other. But I don't no how to do it. Here is the equation I want to plot;

The_equation := [-(u+delta)*[(1-`c`)*(`c`-`c2h`-`t`)]+[(1-u)*(1-`q`^2)*[1/((4-`q`^2)*(1-`q`^2))]^2*[(2-`q`^2)*(`theta`-c2l-`t`)+[-`q`*(1-`c`)]]^2-(1-u)*(1-`q`^2)*([1/((4-`q`^2)*(1-`q`^2))]*[(2-`q`^2)*(`theta`-`c2h`-`t`)]+[-`q`*(1-`c`)])^2]]

How can I solve a system of two non-linear equations by using Maple10

Please explain how we can solve this question into maple13 Example: The Accompanying data on oxygen concentration for a sample of silicon wafers was reported in a paper “Determination of conversation Factor for Infrared measurement Oxygen in silicon” n =22 e.g. (2.68,3.06,4.31,4.71,5.71,5.99,6.06,7.04,7.17,7.46,7.50,8.27,8.42,8.73,8.84,9.14,9.19,9.21,9.39,11.28,15.19,21.06) Draw Box plot and find the upper & lower spread a

I am trying to understand how to customize tickmarks. There are mainly two things I'm interested in : setting the number of tickmarks and/or the spacing between them and controlling the thickness of the tickmarks.

My reference is plot,tickmarks.

Consider the following, based on one of the Maple examples.

1) how do you customize the spacing between tickmarks?

plot(cos(x), x=-2*Pi..2*Pi, tickmarks=[spacing(Pi/2), default]);

plot(cos(x), x=-2*Pi..2*Pi, tickmarks=[spacing(2*Pi), default]);

You must be logged into your Facebook account in order to share via Facebook.

Click the button below to share this on Google+. A new window will open.

You must be logged in to your Twitter account in order to share. Click the button below to login (a new window will open.)

Please log-in to your MaplePrimes account.

Wrong Email/Password. Please try again.