MaplePrimes Questions

Hi- I'm having trouble figuring out how to combine two separate DEplot graphs into one graph that represents the SUM of the two.  Not two separate DEPlot graphs in one figure, but the sum of two DEplot graphs in one figure.  I'm using Maple 14- anyone know how to do this?  It's probably simple, and I'm just missing it.  Thanks in advance.

Having overcome a Java VM problem, I have a further problem which is now
limiting my use of MAPLE 14 on Vista:  plotting is limited to plots with
relatively few points or graphical content.

Here is an example in MAPLE 14 (in classic and the normal modes):

> with(RandomTools):with(Statistics):
> N:=400;
> rlist:=(Generate(list(float(range=-1..1),N))):
> plot(rlist,color=black,thickness=1);

This works fine up to N=170,...

m1:= [[1, 2, 3], [ 4, 5, 6], [7, 8, 9]]:

m2:= [[2, 2, 3], [ 4, 5, 6], [7, 8, 9]]:
latex(Matrix(m1));
latex(Matrix(m2));



Hello,

Given my commands (above), I would like to save the output of

latext(Matrix(m1))

as

m1.tex

in the directory "c:\users\desktop\work"

 

and the ouput of

latex(Matrix(m2));

as m2.tex

in the directory "c:\users\desktop\work",

How could I do that?

Hello:

I would like to be able to extract data from a plot strucutre. So say I've done:

p:=plot([sin(x), cos(x)],x=0..1, legend=["sin","cos"]):

display(p);

now I can see the raw strucuture with

lprint(p):

but not quite sure how to extract two lists of tuples that contain the data. I would also like to extract the two items in the legend.

Does anyone know how to do that??

thanks.

eqn1:=(1-x)*exp(c*d*M*z + a*(1-d)*M*y+(M/2))-x*exp(-c*d*M*z - a*(1-d)*M*y - (M/2))=0;

eqn2:=(1-y)*exp(a*d*M*x + b*(1-d)*M*z+(M/2))- y*exp(-a*d*M*x - b*(1-d)*M*z - (M/2))=0;

eqn3:=(1-z)*exp(b*d*M*y + c*(1-d)*M*x+(M/2))- z*exp(-b*d*M*y - c*(1-d)*M*x - (M/2))=0;

 

When I try to solve this system of equations as:

solve( {eqn1,eqn2,eqn3},{x,y,z} );

or 

solve( {eqn1,eqn2,eqn3,0<x,x<1,0<y,y<1,0<z,z<...

Hello:

I am trying to be able to solve my plots into a file programatically (not via right click/export).


when I do this:

p:=plot(sin(x));display(p);

plotsetup(default):  #optional - just to be sure start off at default.
plotsetup(ps, plotoutput="test.eps", plotoptions=`portrait,noborder`);
display(p);

things work ok

BUT.. doint this:

Hello all,

I'm sorry that I'm just not very good at working with Maple's optimization tools, but I appreciate your willingness to work with me. So, this is all related to the same problem I had been working with a few months ago. I used the "operator form" of NLPSolve to minimize the squared residuals of a temperature distribution with an external dataset by changing a few...

Hello,

I do want to export as  LATEX input (displaying only 3 digits) my matrix "tableau".

After using

latex(  evalf(tableau),   3 )

I get too many decimals. What should I do to send as latex input only 3 decimals. My commands are below and my worksheet attached.

Thanks in advance for any help,

 

Jean-Jacques

 

 

restart:
f1 :=  (w1, w2,n) -> add(add(

Hello,

It is obvious why my command

interface(precision=3) 

is not working?. I get 10 decimals(commands below and output in attached file).

I hope it is easy to fix.

 

Kindest regardsSSSzzzz

 

Jean-Jacques



restart:
f1 :=  (w1, w2,n) -> add(add(
 `if` (1/2 <= w1+j*w2+((1/n)*(1-w1-w2))*k and
j*w2 +((1/n)*(1-w1-w2))*k < 1/2 ,
(1/((n+1)*(n+2)))*factorial(k+j...

Hello,

I'm making a simple for loop with a few lines.  I just figured out how to Shift + Enter to go to a new line without yet executing.  How do I indent my code on the next line, like in every other programming language ever made?  The Tab key does nothing.

Thank you.

Suppose N numbered cars start a race with starting positions N < ... < 4 < 3 < 2 < 1, car number 1 starting in front. (the car's index is the position on the starting grid) The race covers a total of L laps.

If two successive cars are in the position i < j, the probability that i overtakes j within 1 lap is P(i,j). This probability is independent of the position on the track and is constant throughout the race. For instance, if the starting positions...



Hi:

I have justdiscovered that the following "simplify" command gives the wrong answer on Maple 11. Could someone please check to determine if Maple 14 does any better?

> S1:=Sum(1/GAMMA(j+1)/GAMMA(2-j)*GAMMA(1+a-c+j)*GAMMA(1+a-b+j)/GAMMA(a-
> 1+j)*GAMMA(-2+b+c-j+n-a),j = 0 .. 1);
> Ans1:=simplify(S1);

          1
        -----
         \

Hello,

 

My array contains numbers like

[ 0.333333 0.211111]

I used the command

interface(displayprecision=3)

 

and it is displayed  [ 0.333  0.211]   (which is ok).

 

However, when I send the output to latex

latext(%)

 

I get again [ 0.333333  0.211111].

 

How  could I display  only 0.333   after using LATEX(%)?

I have to prove a trig identity with Maple for class. It's rather simple, but I can't figure out how to get the right-hand side into the form I want. What I have is:

 

tan(x)^2*sin(x)^2 = sin(x)^4/cos(x)^2

 

I simply want to convert sin(x)^4/cos(x)^2 into tan(x)^2*sin(x)^2.

The conversion is apparent to anyone looking at it but I simply cannot figure out how to put it in the right form, and I can't change the left-hand...

First 1908 1909 1910 1911 1912 1913 1914 Last Page 1910 of 2434