MaplePrimes Questions

Search Questions:

Latest Questions Latest Questions Feed

Non commutative product...

March 02 2009 g_h 8
0 1
Hello,   I'm trying to find or simply define an associative and non-commutative product in Maple, with all the possibilities of the product *. The '.' product is only left assiciative, as '&*'.   How would it be possible ?   Thanks !
Hello together, I want to generate 1000 random numbers. I know the function for normally distributed numbers: X1 := random[normald[mu[1], sigma[1]]] The problem is: 1. I want only positive numbers (but exactly 1000)... 2. I want to set a lower(mu minus 3*sigma and upper limit (mu plus 3*sigma) Thanks for your help!
Hi, I possess values for X and Y in an intervall 1 .. 100 . For each combination (X,Y) you get a Z value of 1,2,3 or 4. Depending on the value Z each coordinate (X/Y) in the 2D CS should be displayed in form of a square (if Z=1 ->blue, Z=2->red,Z=3->yellow, Z=4->black). As a result I have to receive a kind of landscape with colored squares. Thanks a lot!

I am currently trying to plot some geodesics with maple, in order to do this I'm trying to get Maple to give me an expression for dr/dy (y here is actually a radial variable) from my equation system which is given by

sys := [diff(y(x), x) = sqrt((1-(diff(r(x), x))^2)/(r(x)^4+r(x)^2)), diff(r(x), x) = sqrt((2+1/r(x)^4-1/r(x)^2)/(1/r(x)^4-1)^2)]

Can anyone help me with this?

Nelder Mead...

March 02 2009 tbasket 476
Hello everybody, I am using Nelder Mead for an optimization problem. The algorithmus I found in the Maple library is for minimization. Does anybody know how to change the algorithmus that I can also use it for a maximation problem? Thank a lot in advance!

Hi there,

I am got the two two ( identical ? ) summation .



S:= N-> sum(b[n]*sin(n*x),n=1..N) ;

T:= N-> 4/Pi*sum(sin((2*n-1)*x)/(2*n-1),n=1..N);

I think S and T should be the same since it's just a substition of 2n-1 difference

however when I plot


i'm totally new with Maple so i really need help with this problem

graph the fucntion using various domains and viewpoints. plot some contour lines of the same function and compare with the graph.

f(x,y) = x*y^2 - x^3


Histogram 3D...

March 01 2009 tbasket 476
0 9
Hi everybody, I datas for 2 variables X and Y. Each of them contains round about 1000 values. I want to sort the values of x and y and put them in a 3d histogram. Has anybody an idea how to do it?

  I been trying to run a maple loop recently where maple computes the values of r,theta,phi for spherical coordinates from some fsolve statements. However I have found this to take an extremely long time (days). What I want is for it to make rows of these and then output them to a file so that I have rows of r,theta and phi for several hundred thousand of them atleast. Currently I simply create a n by 3 array with however many entries my loop has and then fill each position in the array using for loops then I use writedata to write the entire array into a file.

Hi there,


I have computed the odd extension for f(x)=1 on 0 < x < Pi which is

> 4/Pi*Sum((sin(2*n-1)*x)/(2*n-1),n=1..infity);


how do I get a sketch of it?



Dear Maple users,

How may I enter in MAPLE the function

f(x,y) = x*y /(x^2+y^2)  IF  (x,y) different from (0,0), and

f(x,y) = 0  IF  (x,y) =(0,0) ?

Thanks in advance for any help.


Can someone explain how to do this?

Prove that if we describe the circle of center (a; b) and radius r using
the parameters (a; b; k), with k = a2+b2-r2, rather than the more natural parameters
(a; b; r), then the error function H(a; b; k) = E(a, b,rad(a^2 + b^2 -k) is quadratic in a; b
and k. What does this imply about the number of critical points?

Hi there, I calculated an Integral today, and earned a term with B(2/3,5/3) in the result: > f(x):=(1-x^(3/(2)))^(2/(3)); > 2*Pi*(int(f(x), x = 0 .. 1)); what does it mean??

Hi there,

I typed exactly the same thing from my lecture notes to reproduce some graphs in Maple Classical Worksheet

however result in 'empty plots'

Is it that I have to load some packages using 'with( XXX )'?

Can someone help me with that?




Download 7845_Coursework Maple.mws
View file details


DEQ Fit...

February 28 2009 Oliver K 1116

Hi, assume  i have some data and want to fit a model function to it (Maple12). The help pages show a way:

X := Vector([1, 2, 3, 4, 5, 6], datatype=float):
Y := Vector([2, 3, 4.8, 10.2, 15.6, 30.9], datatype=float):


Fit(f, X, Y, t);

It works as expected. Now assume that the model function is not explicitly given,  it may be just the solution of a  differential equation:

f:=diff(y(t),t)+u*y(t)=v; y(0)=0

First 787 788 789 790 791 792 793 Last Page 789 of 1065