Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

In this post I'll take a closer look at the ways in which Maple code can be thread unsafe. If you have not already seen my post on Thread Safety, consider reading that post first. As a brief review, a procedure is thread safe if it works correctly when run in parallel.

The most obvious way in which procedures can be thread unsafe is if they share data without synchronizing access (using a Mutex, for example). So how can two threads share data?

I uploaded to my file section a file called "Kill and Imprison Order""

Thanks to your help, this program works. I can specify an arbitrary order, such as [4,6,1,15] of players who kill or imprison other players. The program will then eliminate other players given player 4 gets to kill and imprison first, then player 6, and so on. However, I now need to test this in a for-loop over ALL permutations, or over a selected subset of the set of all permutations, of all the players.  Is that possible in Maple?

How do I delete files I have uploaded in my file section?

Is it possible to convert Pa*m^2 to Newton? (5) 13200. m Pa > convert(13200.*m^2*Pa, 'Units', 'N'); %; Error, (in Units:-Standard:-convert) unrecognized conversion > I don't know how to convert this to Newton (In maple), and I know that it is possible in the real world. Any help available? I know how to do it if I don't use maple or input my own units

help! How to make Maple cancel the common expressions in both
denominator and numerator?

As you could see, there is a g^(2/3) which is a common factor...

http://yfrog.com/0rexpression2j

I really want it to be removed.

Thanks a lot!

 

we have the following:

  CM := MultiSeries:-series((c[1]*e+c[2]*e^2+c[3]*e^3+c[4]*e^4+O(e^5))^m, e)

we have the following:

CM := MultiSeries:-series((c[1]*e+c[2]*e^2+c[3]*e^3+c[4]*e^4+O(e^5))^m, e)

CM := c[1]^m*e^m+c[2]*m*c[1]^m*e^(1+m)/c[1]+(1/2)*m*(2*c[3]*c[1]+c[2]^2*m-c[2]^2)*c[1]^m*e^(2+m)/c[1]^2+(1/6)*m*(6*c[4]*c[1]^2+6*c[3]*c[2]*c[1]*m-6*c[3]*c[2]*c[1]+c[2]^3*m^2-3*c[2]^3*m+2*c[2]^3)*c[1]^m*e^(3+m)/c[1]^3+O(e^(4+m))

Hi all,

 

I am helping a friend.

Please see the two expressions that we would like to convert from Maple into Matlab:

http://yfrog.com/jdexpression3j

 

In the first one, why doesn't Maple first calculate g1^(2/3) and g2^(2/3) as common expressions, then use them to calculate the whole expression?

The (0.1e1/0.3e1) stuff looks very bad.

 

In the second one, we just couldn't get Maple to cancel the common factor g1^(2/3) in both numerator and denominator before doing the conversion to Matlab.

Initial conditions,     x(0)=2, D(x(0))= -2

D= differential

D2x +5Dx +4x = delta( t - 2 )
 

 

I want to check my answer in maple but i cant get it to work.

 

This is the answer i gt by hand

 

x = H( t - 2 ) ( ( e ^ - 4 ( t - 2 ) + e ^ - ( t - 2) ) / 3 ) - 4 / 3 e ^ - 4 ( t - 2 ) + 10 / 3 e ^ - ( t - 2 )

 

I have this code and to test if it works in TextField1 next to the label "MATRIZ A" I enter

I'd like Maple to see that the derivative of p1 with respect to X includes p1 and p2

> p1 := exp(a*x)/(exp(a*x)+exp(b*x)+1);

> p2 := exp(b*x)/(exp(a*x)+exp(b*x)+1);
> m := eval(diff(p1, x));
> n := expand(m);
I see that algsubs won't work along the lines of

   algsubs(exp(a*x)/(exp(a*x)+exp(b*x)+1)=p1,n)

because the substitution is not a polynomial.

any other way to do this?

 

 

Hi

I have the curve: f(x) = 1/x^3.

I want to find the coordinates of a point on this curve that is the nearest to the point P = (0,1)

How can I find this with Maple?

thanks, Anders

 

how to plot the second picture,for the area is that with abs

 

Does Maple have a command for return true or false when querying set membership of an element?

I have sets of random integers, Stuff[k], indexed by k, for example

Stuff[9]:={2,5,6}:

I need to be able to test if

7 is a member of Stuff[9]: // I should get false

5 is a member of Stuff[9]: // I should get true

There is no such set membership function listed in the Help menu.

I finally figured out a for loop for sequentially removing one set from another (set-theoretic subtraction).

First 1868 1869 1870 1871 1872 1873 1874 Last Page 1870 of 2214