MaplePrimes Questions

I am trying to create a certain visual effect in a Maple document / worksheet.

Basically, I have a small table with colored cells that I want to embed in a worksheet with an altogether different fill color. This sounds simple enough, but it appears that Maple's tables don't allow this.

I am trying to establish communication with a mySQL database from a maplet provided over the Internet.

It's my understanding that the classpath for the JDBC must reside on the same filesystem as the maplet.

When I test my maplet on any of my computers (all Windows) I have not problem. Because I know exactly where the JAR file is located the following LoadDriver command works:

  JDBC_MySQLdriver:=LoadDriver('driver'="com.mysql.jdbc.Driver",
    'classpath' = "C:\\Documents and Settings/Doug/Desktop/mysql-connector-java-5.1.13-bin.jar");

But, if I put this maplet on one of my websites for others to download, then this path will be meaningless for other users - and even if the path were somehow valid, there is no guarantee they have the right JAR file in this location.

If I serve the maplet with my MapleNet server, then I am (in principle) back in the first case. I can put the JAR file almost anywhere on the MapleNet server. A natural place seems to be in /root/maplenet/jar/. This would mean the following should work:

  JDBC_MySQLdriver:=LoadDriver('driver'="com.mysql.jdbc.Driver",
    'classpath' = "/root/maplenet/jar/mysql-connector-java-5.1.13-bin.jar");

Alas, this is not successful, complaining that the driver com.mysql.jdbc.Driver cannot be found. In case it matters, the MapleNet server is running under Linux and the other setups are different varieties of Windows.

Can anyone give me some pointers on how to make this work? In particular,

  1. is it possible to allow users to use a remotely served JAR file?
    Maybe with a reference to the file given along the lines of
    'classpath'="http://maple.math.sc.edu:80/maplenet/jar/mysql-connector-java-5.1.13-bin.jar"
  2. What is the correct syntax to specify the classpath on a Linux system that includes a MapleNet server?
  3. Can I put the JAR file in the CLASSPATH environment variable on the MapleNet server (in /etc/profile)?

How do I change this equation with 28 variables

W:= 0.003000000000 x(1) + 0.004000000000 x(2) + 0.006000000000 x(3) - 0.006000000000 x(4) + 0.004000000000 x(5)   + 0.001000000000 x(6) + 0.001000000000 x(7)   + 0.004000000000 x(9) + 0.008000000000 x(10)   + 0.006000000000 x(11) + 0.01700000000 x(12)  + 0.002000000000 x(13) + 0.01300000000 x(14)   + 0.01200000000 x(15) + 0.006000000000 x(16)   + 0.001000000000 x(17...

I would like to compute the Lie algebra cohomology of a complex lie algebra g in a representation h/g where h is a Lie algebra containing g. is it possible?if yes, how. thank you.

Hi,

I used the dsolve command mentioned by Maple experts in the earlier blog to solve the following ode with bcs.

ode:= diff(y(x),x$2) + 1/x *diff(y(x),x) + 0.6*y(x) + y(x)^3 - y(x)^5  = 0

bcs:= D(y)(0) = 0,   y(d/2) = 0.8 * y(0)

The ode is a spherical coordinate system. The radius is defined by ‘x’ and the diameter by 'd'. 

The...

Hello!

I have a question about array/Array, as the picture illustrated, if applying a function to the entries of an array or Array, for example, map, then the results which maple yields lack of commas, as we can see, each entry in array/Array is so close and if the entries are very complex, then a confusion will be easily caused.

Is there any way to conquer it?

Hey peeps

 

I'm quite new to maple, and to this site, so I hope I do this properly.

I'm trying to make a procedure, that througout the procedure divides 2 numbers. But I need it to round down to the nearest integers, at all time, as I need an integer as output. I have searched quite a lot, and haven't found anything that helps me to do this.

The procedure is the following:

walla := proc (x) local y, z, w;

y := x;

Ques.mw In the WS attached,I want to specify that x1,x2,y1,y2 are real.I don't want the complex conjugate sign over the products in the hermitian conjugate matrix.

 

Also there are 2 examples of "Upper Shift" matrix- 3by3 & 4by4.I need a general index notation for this kind of matrix.(e.g. kronicker delta_i,j represents identity matrices).I tried with kronicker delta_i+1,j;but it doesn't give...

Hej!

I've some problems in factorising terms in an equation.

As one can see in the maple file below, the terms "cosh((1/2)*a+(1/2)*y)", "cosh((1/2)*a-(1/2)*y)", "sinh((1/2)*a+(1/2)*y)" and "sinh((1/2)*a-(1/2)*y)" recur in the equation. So want to factorise those terms, but it doesn't work with factor().

Does anybody have a solution, how I can simplify that equation?

test.mw

For a eqation such as y(t)=2*sin(3*t)

I want to solve its fourier series under the different step,

and plot corresponding figure like the picture below

How should i do?

help me please.

tu

con

Hello,

I have spent all morning trying to create a surface plot from a set of survey data that I have. The data I have is in the format xi, yi, zi. It is in Excel in columns. I read some previous questions on this topic, but my plot just comes out all jumbled.  Here is what I coded.

As soon as I figure out how to post images, i will post the plot...

Hello!!

 

I have a polynomial where each element is of the form  L * x1^a * x2^b * X3^c *x4^d. I want to replace X3^c by a sum of other elements , the number of this elements depends on c.

 

Is this possible? if so how can I do it on maple?

 

Hope you can help, thanks!

I built the shock model in MapleSim

model

then I got the response accleration

result

For this curve, I want to solve its fourier series in Maple.

Do it work?

thinks in advance.

this is the msim file

test.msim

Have anyone toldl me how to find the family of curve at Maple 14

ax^2 + B*x*y+cy^2= D

with A=1, B=1, C =1 and D =2010

First 1942 1943 1944 1945 1946 1947 1948 Last Page 1944 of 2434