MaplePrimes Questions

 

for example If I have a list for A:= [ A, B, C ]:  what command should I use to get the list

displayed with font times roman and size 18 when A is called   ?

 

hi friends!
I have a 2*2 matrix(namely Mcell), whose elements vary as a complex function of "nu".
for each cycle of a "for" loop, h[j] := abs(Re(Mcell[2, 2])), whose diagram is periodic and has many crosses with y=1.
i just wanted the first two points(their difference) and used


L := Roots(h[j]-1, nu = 1 .. something, numeric); and
w[j] := L[2]-L[1];


in a "for" loop.

i check the answer, they are all true(w gets 20 values in 20 iterations).

Hello,

After applying "solve" to an equation system with lots of sin, cos etc., the result looked very unreadible for my non-math-eyes...basically, a lot of RootOf() and _Z4 expressions...The equation system has 6 variables rot_x1, rot_y1, rot_z1, rot_x2, rot_y2, rot_z2 and I have solved for rot_x1, rot_y1, rot_z1

...I then applied convert(answer, radical) and it looks like this, which is something I can understand  - a few fractions and root-signs etc...(see pic attached)

Question 1: Is it ok to do this conversion or do I lose some solutions without knowing it??

Question 2:

I then tried to eval the converted answer by assigning rot_x2, rot_y2 and rot_z2 with values....Actually, I expected that the result would be easy-to-read values for rot_x1, rot_y1 and rot_z1, but instead I get  something with roots and "signum" which I dont really understand (esp. the signum)....Therefore, I applied convert(piecewise) to it....Does that make sense what I just did???....Can solutions go lost or change when i apply the "conversion" function?????....

THANKS for any help....and sorry, I know I should better improve my Maths, but I guess there is no time for this atm...;)...

         
 

 


Hello,

I need to solve a system of ode in matrix. I've been trying with the proc instruction for three days, but it doesn't work! (I'm quite new into Maple).

My system as the form:

M*y'' + C*y' + K*y = F.

M,C,K are matrix of (n*n) (n is between 2 and 200 depending of the problem). y is the unknown, a vector of n degrees of freedom depending of time. F is a Vector of n components.

I've try with:

Hi, would anyone mind explaining the use of k:=op(J)[1] in this code below. 'Int((3*polylog(5/2, -exp(b*(u-i)))/b^(5/2)+i*polylog(3/2, -exp(b*(u-i)))/b^(3/2))*r^2, r = 0. .. 10.)'; J:= convert(%, rational); K:='op(J)[1]'; with(codegen); makeproc(K,r): KK:=optimize(%, 'tryhard'); 'Int( KK(r) , r=0.6 .. 10, method = _d01akc, digits=8)'; evalf(%); Thanks MS

Hi, I need to put a 2-dimensional quadric (given as an equation including x's & y's) into normal form. How can I do this? I skimmed through the Geometry/2D-Euclidean directory of the Maple help but didn't find a solution.

Thanks in advance.

Hi,

I am an absolute beginner with Maple and am appreciating any help.

Basically, I want to use maple because it can deal with algebraic expressions. For example with Matrixmultiplication I don't just want to see the final result, but also I want to see the algebra behind each matrix element. 

So I have defined the following 2 matrices :

rot_x := matrix([[1,0,0], [0, cos(alpha), -sin(alpha)], [sin(alpha), cos(alpha), 0]]); 

rot_y := matrix([[cos(alpha), 0, sin(alpha)],[0,1,0],[-sin(alpha), 0, cos(alpha)]]);

Hi everybody, I have a series and I want maple to truncate small variations of a variable of the order greater than n. For example, series1:=1+x+x^2+O(x^3) = 1+x+x^2. Thank you,

hi, i want to solve these 4 equations and i have two problems

1-when i use the function SOLVE , the output is empty brackets, why?

2-how can i add constrains or inequalities to make maple consider them in the solution

the solve line is

lim  (x+2cos/4x+sinx)
 x-∞

I'd like to generate several random matrices within the same question. If I put this code under "Algorithm", both matrices are the same (although they both change to a new matrix if you refresh the question):

$A=maple("randomize():LinearAlgebra[RandomMatrix](2,2,generator=rand(-9..9))");
$B=maple("randomize():LinearAlgebra[RandomMatrix](2,2,generator=rand(-9..9))");
$displayA=maple("printf(MathML:-ExportPresentation($A))");
$displayB=maple("printf(MathML:-ExportPresentation($B))");

Is there a faster way to do the following code? This takes 6.5 hours to run for n:=10...

> with(Statistics):
n := 1:
A := Array(1..10000000):

> for k to 10000000 do
t := RandomTools:-Generate(list(float(range=0..1,digits=20,method=uniform), n)):  # chooses 6 random variables from the interval [0,1]


t := sort(t):   # sort them in ascending order

Hi!

I want to find symbolic roots of

                                                      expr := (A^2 * B^2 * Pi^4) + (2*A*B*C^2*Pi^2) Z^4 + (D*L^4) Z^6  + L^4 Z^8

  i tried in maple

Rootof(expr) ;

allvalues(%);

Hi all,

I am using the Physics package. I have an expression with many terms and need to contract indices with the Simplify command. It returns the following

> KLMN := Simplify(subs(substtot, G4Z2s));
Error, (in Check) unable to handle tensor expressions as 4*I
 

Has anybody come across this problem?

Thanks in advance.

I'm trying to write a Maple T.A. question bank in LaTeX, since the online question bank editor was too slow to be usable. Running LaTeX even on the "Sample Question Bank" from the documentation gives 25 errors, mostly of the form:

First 2107 2108 2109 2110 2111 2112 2113 Last Page 2109 of 2428