lxyuzs

26 Reputation

4 Badges

15 years, 18 days

MaplePrimes Activity


These are questions asked by lxyuzs

ans:=CompleteSquare(x^2+2*x)

                                             ans := (x+1)^2-1

ans1:=CompleteSquare(x^4+2*x^2, x^2)

Error, (in Student:-Precalculus:-CompleteSquare) arguments after the 1st should be a name, function, or a list or set of names or functions...

hi ,friends

  now ,i get a matrix of symbolic expression,it's difficulty to find the simplest forms using the common command  as like simplify or combine

p := Matrix(4, 4, {(1, 1) = (1/2)*exp((1/2)*J[1]-(1/2)*J[2]+(1/2)*J[3])+(1/2)*exp(-(1/2)*J[1]+(1/2)*J[2]+(1/2)*J[3]), (1, 2) = 0, (1, 3) = 0, (1, 4) = (1/2)*exp((1/2)*J[1]-(1/2)*J[2]+(1/2)*J[3])-(1/2)*exp(-(1/2)*J[1]+(1/2)*J[2]+(1/2)*J[3]), (2, 1) = 0, (2, 2) = (1/2)*exp(-(1/2)*J[1...

I meet a problem in the use physcis package.

    for example,

                                   restart;  with(Physics); Setup(mathematicalnotation = true):

                  ...

eq := {-2*b[2]*B+b[3]*J+b[5]*J-lambda[2]*b[2] = 0, 
-2*b[5]*B+b[2]*J+b[4]*J-lambda[2]*b[5] = 0,
-lambda[2]*b[3]-2*b[3]*B+b[4]*J+b[2]*J = 0,
-lambda[2]*b[4]+b[3]*J-2*b[4]*B+b[5]*J = 0,
abs(b[2])^2+abs(b[3])^2+abs(b[4])^2+abs(b[5])^2-1 = 0}

 v := {lambda[2], seq(b[i], i = 2 .. 5)}

 ans:=solve(eq,v)

the result show:

          ans:=

Dear friends,

    The Physics package in Maple is a good tool for quantum physics. However, I came across some problems with the package when I performed a computation. Please see the figure.

The left-hand code (last two lines) shows Amx.Amy.Ket(x,1,1)=”-Ket(x,0,0)”. However, I believe that the answer is wrong; it seems that the negative sign should not be here.

The “am.Ket(B,4)=2ket(B,3)”

1 2 3 4 Page 3 of 4