MaplePrimes Questions

I want to find the edges b and c of the triangle ABC knowing that the mesure of angles are 15 degrees, 30 degrees and 135 degrees and the length of one side is 3. I tried

restart:

a:=3:

eq1:=(a^2+b^2-c^2)/(2*a*b):

eq2:=(b^2+c^2-a^2)/(2*b*c):

eq3:=(c^2+a^2-b^2)/(2*a*c):

solve([eq1=cos(15*Pi/180),eq2=cos(30*Pi/180),eq3=cos(135*Pi/180)],[c,b]);

I'm using matrixplot to plot a matrix 10X10. 
But I want it to be shown only the interval between column 2..6 and row 1..10.

I tried to:

matrixplot(M, row = 1..10, column = 2..6, heights = histogram, axes = boxed) 
But gave error!
 
***I can not reset the Matrix for 10x5.

Tanks 

To plot the density function of the continuous uniform distribution on [-1,1], my initial attempt was: 

plot(Statistics:-PDF(Statistics:-RandomVariable(Uniform(-1,1)),x), x = -1.1 .. 1.1);

See plot below.


But I wanted something more like the wikipedia image (without the labels, naturally):

See plot below.

In words, I expected a horizontal line on the left of x=-1 and on the right of x=1 (at y=0), and I expected no vertical line at the x=-1 and x=1 points ...

I am generating a number of plots in Maple but would like to be able to collect the data points from the Maple plots and export them into an excel spreadsheet or similar spreadhseet program so that they can be loaded into other plotting software programs such as OriginLab.  

 

Is there a way to export the data points from plots produced in Maple into an .xls or .dat format?

Here are my codes:

restart;
Delta := proc (beta) options operator, arrow; sqrt(1-1/beta^2) end proc;
T := proc (`&epsilon;`, Z) options operator, arrow; piecewise(`&epsilon;` < Delta(beta) and Delta(beta) < `&epsilon;`, 2*Delta(beta)^2/(`&epsilon;`^2+(Delta(beta)^2-`&epsilon;`^2)*(2*Z^2+1)^2), `&epsilon;` < -Delta(beta) or Delta(beta) < `&epsilon;`, 2*abs(`&epsilon;`)/(abs(`&epsilon;`)+sqrt(`&epsilon;`^2-Delta(beta)^2)*(2*Z^2+1))) end proc;

Hello,

I have an interesting type of IC (alpha*(D@D)(f)(0)+beta*(D@D)(f)(0)^3=f2), but maple

is unable to recognize it. Need assistance in this regard.

ic.mw

Thanks

Hi,

I was just curious if MapleSim has integration capability with Zemax.

I'm interested in creating a dynamic electro-mechanical model (i.e. optical imaging on a moving system):

Zemax <--> MapleSim

If there isn't a toolbox yet, is there a workaround?

 

Thank you again!

I need to write a procedure to check whether a group of input vectors is an orthonormal basis. If anyone can help me with this I would really appreciate it. Thanks.

How do I plot a line and adjust line thickness, color, and linestyle all in one command?

How do I plot a line and adjust line thickness, color, and linestyle all in one command?

Hi all,

This is really a quite general question.

I am not asking to change "interface(rtablesize=30)" or any other similar command.

 

I just wonder, sometimes, we want to see a symbolic matrix. And when the matrix gets really large in dimension, it does not display nicely on the whole screen.

Occasionally, with reasonably "small" matrix, we can still see it by "zoom out" to 50% view or even smaller view, to see the FULL matrix.

The Warning:

1st Vector dimension size (1..9) is too small to fit source size (1..14)

 

This come from a really long procedure that I have written. With lots of commands from LinearAlgebra package.

Is there a way to find out what exactly went wrong?

 

It's not informative in a way, i can't exactly identify where this is coming from...

 

I also wonder if it could have come from "pdesolve"...

restart:

with(LinearAlgebra):
with(ArrayTools):


k:=4;
pA:=<seq(p[a,i],i=2..(k+1))>;
pB:=<seq(p[b,i],i=2..(k+1))>;
pA+pB;

with(VectorCalculus):

pA:=<seq(p[a,i],i=2..(k+1))>;
pB:=<seq(p[b,i],i=2..(k+1))>;
pA+pB;

 

Hi all,

 

After I loaded the package with(VectorCalculus), the output of vectors changed to a different one.

Is there any real "difference" when...

I have the function f(x) = 

  sqrt(x + 5 sin x)

and x <= 20

How would I specify it in maple and then I have to take the derivative and find the critical points. I am so confused.

 

 

restart:
with(ArrayTools):
m:=<1,2,3,4|3,2,1,0|x,y,z,z0|a,a,a,a|b,b,b,b>;
lscol:=<seq(1-AddAlongDimension(m,2)[i],i=1..4)>;
m:=<m|lscol>;
UpperTriangle(m);

Hi all,

I wonder if there is a way to extract the upper/lower triangle entries from a matrix?

Basically, I want to creat a column vector of the none zero entries in "UpperTriangle(m);"

 

Also, aside, is there a way to quickly assign those entries...

First 1666 1667 1668 1669 1670 1671 1672 Last Page 1668 of 2434