MaplePrimes Questions

Hi EveryOne!

In the answer of the question "How to find roót of polynomial in finite field and extension finite field ", @Carl Love helped me to find roots of polynimial in finite field and extension finite field (At URL http://www.mapleprimes.com/view.aspx?sf=215097_Answer/Primfield.mw OR http://www.mapleprimes.com/view.aspx?sf=215285_Answer/Matrix_powers_finite_field.mw)

However, with matrix M: =< x^4+x^3+x^6+x^7+x, 1+x^2+x^4+x^5+x^6, 1+x+x^2+x^3, x^7+x^6+x^5+x^4;

                                   x^7+x^5+x^4+x^3, x^6+x^4+x^2+1, x^4+x^3+x^6+x^7+x^2+x+1, 1+x^2+x^3+x^4+x^5; 

                                   x^7+x^5+x^2, x^7+x^5+x^3+x^2+1, x^2+x+x^6, x^2+x^3+x^5;
                                   x^4+x^3+x^6+1, 1+x^2+x^3+x^4, x^6+x^5+x^4+x^3, x^7+x^3 >;

and GF(2^8)/f(x)=x^8 + x^7 +x^6 + x +1 (i.e ext1:= Z^8+Z^7+Z^6+Z+1), then program Primfield.mw don't run!

Please help me! Thanks so much.

 

Dear All

Using Lie algebra package in Maple we can easily find nilradical for given abstract algebra, but how we can find all the ideal in lower central series by taking new basis as nilradical itself?

Please see following;

 

with(DifferentialGeometry); with(LieAlgebras)

DGsetup([x, y, t, u, v])

`frame name: Euc`

(1)
Euc > 

VectorFields := evalDG([D_v, D_v*x+D_y*t, 2*D_t*t-2*D_u*u-D_v*v+D_y*y, t*D_v, D_v*y+D_u, D_t, D_x, D_x*t+D_u, 2*D_v*x+D_x*y, -D_t*t+2*D_u*u+2*D_v*v+D_x*x, D_y])

[_DG([["vector", "Euc", []], [[[5], 1]]]), _DG([["vector", "Euc", []], [[[2], t], [[5], x]]]), _DG([["vector", "Euc", []], [[[2], y], [[3], 2*t], [[4], -2*u], [[5], -v]]]), _DG([["vector", "Euc", []], [[[5], t]]]), _DG([["vector", "Euc", []], [[[4], 1], [[5], y]]]), _DG([["vector", "Euc", []], [[[3], 1]]]), _DG([["vector", "Euc", []], [[[1], 1]]]), _DG([["vector", "Euc", []], [[[1], t], [[4], 1]]]), _DG([["vector", "Euc", []], [[[1], y], [[5], 2*x]]]), _DG([["vector", "Euc", []], [[[1], x], [[3], -t], [[4], 2*u], [[5], 2*v]]]), _DG([["vector", "Euc", []], [[[2], 1]]])]

(2)
Euc > 

L1 := LieAlgebraData(VectorFields)

_DG([["LieAlgebra", "L1", [11]], [[[1, 3, 1], -1], [[1, 10, 1], 2], [[2, 3, 2], -1], [[2, 5, 4], 1], [[2, 6, 11], -1], [[2, 7, 1], -1], [[2, 8, 4], -1], [[2, 9, 5], -1], [[2, 9, 8], 1], [[2, 10, 2], 1], [[3, 4, 4], 3], [[3, 5, 5], 2], [[3, 6, 6], -2], [[3, 8, 8], 2], [[3, 9, 9], 1], [[3, 11, 11], -1], [[4, 6, 1], -1], [[4, 10, 4], 3], [[5, 10, 5], 2], [[5, 11, 1], -1], [[6, 8, 7], 1], [[6, 10, 6], -1], [[7, 9, 1], 2], [[7, 10, 7], 1], [[8, 9, 4], 2], [[8, 10, 8], 2], [[9, 10, 9], 1], [[9, 11, 7], -1]]])

(3)
Euc > 

DGsetup(L1)

`Lie algebra: L1`

(4)
L1 > 

MultiplicationTable("LieTable"):

L1 > 

N := Nilradical(L1)

[_DG([["vector", "L1", []], [[[1], 1]]]), _DG([["vector", "L1", []], [[[2], 1]]]), _DG([["vector", "L1", []], [[[4], 1]]]), _DG([["vector", "L1", []], [[[5], 1]]]), _DG([["vector", "L1", []], [[[6], 1]]]), _DG([["vector", "L1", []], [[[7], 1]]]), _DG([["vector", "L1", []], [[[8], 1]]]), _DG([["vector", "L1", []], [[[9], 1]]]), _DG([["vector", "L1", []], [[[11], 1]]])]

(5)
L1 > 

Query(N, "Nilpotent")

true

(6)
L1 > 

Query(N, "Solvable")

true

(7)

Taking N as new basis , how we can find all ideals in lower central series of this solvable ideal N?

 

Download [944]_Structure_of_Lie_algebra.mw

Regards

a := 18; b := 2; c := 1; d := 1; f := 1; DEtools[phaseportrait]({diff(x(t), t) = a*x-b*exp(x)*y/(1+exp(x))-f*x*x, diff(y(t), t) = -c*y+b*exp(x)*d*y/(1+exp(x))}, [x(t), y(t)], t = 0 .. 100, {[x(0) = .1, y(0) = 18], [x(0) = .1, y(0) = 27], [x(0) = .2, y(0) = 28], [x(0) = .5, y(0) = 16], [x(0) = .6, y(0) = 14], [x(0) = .7, y(0) = 8], [x(0) = .7, y(0) = 29], [x(0) = 1.0, y(0) = 18], [x(0) = 1.0, y(0) = 22], [x(0) = 1.2, y(0) = 20], [x(0) = 1.5, y(0) = 20], [x(0) = 1.5, y(0) = 24.0], [x(0) = 1.6, y(0) = 26.0], [x(0) = 1.7, y(0) = 28], [x(0) = 1.8, y(0) = 21], [x(0) = 2.0, y(0) = 9], [x(0) = 2.0, y(0) = 28]}, x = 0 .. 2, y = 0 .. 30, dirgrid = [13, 13], stepsize = 0.5e-1, arrows = SLIM, axes = BOXED, thickness = 2)

Is there an elegant way to plot in 3d only the portion of the function f(x,y)=sqrt(25-x^2-y^2) for which 9 <= x^2+y^2 <= 16 ? I'm looking for a nice plot that shows it against the whole sphere with radius 5, so that it's clear which part of the sphere is cut out.

Hi,

It might be very silly question, but i dont know why it is not working out. So here is the question. In the attached maple shhet when i am trying to substitute eta(t)=epsilon*z(t) then it is not making that susbtitution for differential operator. Apart from that when i m collecting epsilon terms then also it not collecting it.quesiton.mw

 

Regards

Sunit

Dear Community,

I get this message

'EQU' is implicitly declared local to procedure 'Z_DAK_FSOLVE'Problem with procedurefor a procedure, and  cannot go further. How can I avoid it?

Tx for the help in advance,

best regards

Andras

Z_DAK_PROC.mw

Below I try to use units for a simple expression, where "m" and "mm" is added on Windows using Ctrl-Shift-U.

Why does the value with unit "1 [[m]]" not show as "1 m" in (1), but simply as "m" ?

Why does the addition not result in "2 m" ?

At least I had expected the addition to be made when using "evalf()".

 

I have Maple 2016 on Ubuntu 16.04.  I get an error message when attempting to plot with an x11 device, that means I have missing fonts.

I do not get this error message on Ubuntu14.04, so, I think the difference is in fonts installed.

plotsetup(x11)

> plot([sin(x),cos(x)],x=-Pi..Pi);
> Maple X driver failure:BadName (named color or font does not exist)Warning: Cannot convert string "-adobe-helvetica-bold-r-normal--14-*" to type FontStruct
Warning: Cannot convert string "-adobe-helvetica-medium-r-normal--14-*" to type FontStruct

I have xfonts-100dpi and xfonts-75dpi installed.

Any idea what fonts I need to fix this?

 

Tom Dean

Hi Maple People,

I have this Maple command -

printf("%g",p)

where p is a variable I assign.  My problem is that I want to put a new line in the display.

What is the appropriate command?

Regards,

Matt

 

 

Hi all,

I have three points in 3d space say A1=[a11, a12, a13]; A2=[a21, a22, a23] and A3=[a31, a32, a33]. I want to fill the triangle formed by these points. How can I do that?

Thanks is advance.

Hi all,

I have a 3D graph and when I right click on the surface, under style, I can see the option of contour. When I click on that I can see some contour associated with the surface. I want maple to show the values for each contour when I observe it from the top . I want to copy and paste some surfaces in a same figure and campare the contours.

 

Thank you

 

 

 

rather than last time saved file result?

When I open maple script file, it display the result which file created.

however, not the latest result 

it need to move cursor to the end of script and press enter again.


I wish to delete the rows that have imaginery components from my results Matrix. Have tried many variants of for loops etc.

restart

``

``

interface(displayprecision = 3)

3

(1)

(2)

``

interface(rtablesize = 81)

10

(3)

``

``

Ans := Matrix(17, 15, {(1, 1) = `-`, (1, 2) = u0, (1, 3) = u1, (1, 4) = u2, (1, 5) = u3, (1, 6) = P*x, (1, 7) = Py, (1, 8) = Pz, (1, 9) = g0, (1, 10) = g1, (1, 11) = g2, (1, 12) = g3, (1, 13) = u^2, (1, 14) = g^2, (1, 15) = P, (2, 1) = 1, (2, 2) = -.516501806300516366332207827845271720295699875, (2, 3) = .157087667438024041386330713987768482051008262*I, (2, 4) = .113781789011852812312696505223578179747798329*I, (2, 5) = -.877979905726868500805204485093148911811362591, (2, 6) = -45.5583959992909648360043286735679679113587631, (2, 7) = -49.2104104577498887775211368820566392860712299, (2, 8) = -893.5067837*I, (2, 9) = -.866146675707479268632063873487527071333386044, (2, 10) = 0.392015486681650570173437868256055772345022977e-1*I, (2, 11) = -.1411657646*I, (2, 12) = .520820958366521078324036803446408915170112964, (2, 13) = .999999999999999999999999999999999999997268842, (2, 14) = .999999999999999999999999999999999999974976375, (2, 15) = 890.986610791943203054869284606448158021303178*I, (3, 1) = 0, (3, 2) = -.516501806300516366332207827845271720295699875, (3, 3) = -.1570876674*I, (3, 4) = -.1137817890*I, (3, 5) = -.877979905726868500805204485093148911811362591, (3, 6) = 0, (3, 7) = 0, (3, 8) = 0, (3, 9) = 0, (3, 10) = 0, (3, 11) = 0, (3, 12) = 0, (3, 13) = 0, (3, 14) = 0, (3, 15) = 0, (4, 1) = 2, (4, 2) = 1.37465842397864539997343521056744950913464373, (4, 3) = -.4720070715*I, (4, 4) = 1.04887251334709968989772260444378754238846281*I, (4, 5) = -.658208509656740520048240372814155977066034431, (4, 6) = -139.935858043713569770172241394940432701557933, (4, 7) = 1009.16689416507143999697715965318783801532828, (4, 8) = 35.050637050173061427545252165933711014164793*I, (4, 9) = -1.081758215*I, (4, 10) = -.805172606177376737844957657938233921696306905, (4, 11) = 1.28822588438750284892199202326992770781607054, (4, 12) = .370982506039653923963789326359229665746676298*I, (4, 13) = 1.00000000000000000000000000000000000000004448, (4, 14) = 1.00000000000000000000000000000000000002308483, (4, 15) = 1018.21968036744599747318369866423941656487034, (5, 1) = 0, (5, 2) = 1.37465842397864539997343521056744950913464373, (5, 3) = .472007071498869469711464480852290076392886818*I, (5, 4) = -1.048872513*I, (5, 5) = -.658208509656740520048240372814155977066034431, (5, 6) = 0, (5, 7) = 0, (5, 8) = 0, (5, 9) = 0, (5, 10) = 0, (5, 11) = 0, (5, 12) = 0, (5, 13) = 0, (5, 14) = 0, (5, 15) = 0, (6, 1) = 3, (6, 2) = .888607277416217966051928947403779522572804242, (6, 3) = -.106822611437208274601612056689973427508887756, (6, 4) = .227628951666705815052303897780904267397418654, (6, 5) = -.383602784885339918445575993340862111408067307, (6, 6) = -33.2619224164850716022540679651061384838837392, (6, 7) = -70.5221377558306752001316338827006032187340768, (6, 8) = 520.235208378859672763343647578296600919428272, (6, 9) = .403127155352863813666160452061241985268802920, (6, 10) = -.229875128453580499649930605383626391667210087, (6, 11) = -.249025243344440313757976839460134436215711022, (6, 12) = .850077849442508503270095108095866473994329709, (6, 13) = .999999999999999999999999999999999999999999990, (6, 14) = 1.00000000000000000000000000000000000000001494, (6, 15) = 526.046005054204528169704406776278260629227147, (7, 1) = 0, (7, 2) = .888607277416217966051928947403779522572804242, (7, 3) = .106822611437208274601612056689973427508887756, (7, 4) = -.227628951666705815052303897780904267397418654, (7, 5) = -.383602784885339918445575993340862111408067307, (7, 6) = 0, (7, 7) = 0, (7, 8) = 0, (7, 9) = 0, (7, 10) = 0, (7, 11) = 0, (7, 12) = 0, (7, 13) = 0, (7, 14) = 0, (7, 15) = 0, (8, 1) = 4, (8, 2) = .771395089635626888037058585282289072153672569, (8, 3) = -.251315638632409886572894533969222074089643996, (8, 4) = .494467079738422222368894560870844350373447897, (8, 5) = -.311917252680552965184041884461266972741091408, (8, 6) = -35.3773974809076144493333628813387306219066392, (8, 7) = -261.955262605587133808935304231369552994540307, (8, 8) = 267.817639506339708440220037786669249266668237, (8, 9) = .542590138401669145144489319765760630956089296, (8, 10) = -.207306657051038538831939399741694104211987188, (8, 11) = -.745192226522038608473536679495983480516139685, (8, 12) = .327579665398674149197429570862493923635921752, (8, 13) = 1.00000000000000000000000000000000000000000004, (8, 14) = 1.00000000000000000000000000000000000000000070, (8, 15) = 376.295638946336949362327994692547262453058894, (9, 1) = 0, (9, 2) = .771395089635626888037058585282289072153672569, (9, 3) = .251315638632409886572894533969222074089643996, (9, 4) = -.494467079738422222368894560870844350373447897, (9, 5) = -.311917252680552965184041884461266972741091408, (9, 6) = 0, (9, 7) = 0, (9, 8) = 0, (9, 9) = 0, (9, 10) = 0, (9, 11) = 0, (9, 12) = 0, (9, 13) = 0, (9, 14) = 0, (9, 15) = 0, (10, 1) = 5, (10, 2) = -.771395089635626888037058585282289072153672569, (10, 3) = -.251315638632409886572894533969222074089643996, (10, 4) = .494467079738422222368894560870844350373447897, (10, 5) = .311917252680552965184041884461266972741091408, (10, 6) = -35.3773974809076144493333628813387306219066392, (10, 7) = -261.955262605587133808935304231369552994540307, (10, 8) = -267.817639506339708440220037786669249266668237, (10, 9) = .542590138401669145144489319765760630956089296, (10, 10) = .207306657051038538831939399741694104211987188, (10, 11) = .745192226522038608473536679495983480516139685, (10, 12) = .327579665398674149197429570862493923635921752, (10, 13) = 1.00000000000000000000000000000000000000000004, (10, 14) = 1.00000000000000000000000000000000000000000070, (10, 15) = 376.295638946336949362327994692547262453058894, (11, 1) = 0, (11, 2) = -.771395089635626888037058585282289072153672569, (11, 3) = .251315638632409886572894533969222074089643996, (11, 4) = -.494467079738422222368894560870844350373447897, (11, 5) = .311917252680552965184041884461266972741091408, (11, 6) = 0, (11, 7) = 0, (11, 8) = 0, (11, 9) = 0, (11, 10) = 0, (11, 11) = 0, (11, 12) = 0, (11, 13) = 0, (11, 14) = 0, (11, 15) = 0, (12, 1) = 6, (12, 2) = -.888607277416217966051928947403779522572804242, (12, 3) = -.106822611437208274601612056689973427508887756, (12, 4) = .227628951666705815052303897780904267397418654, (12, 5) = .383602784885339918445575993340862111408067307, (12, 6) = -33.2619224164850716022540679651061384838837392, (12, 7) = -70.5221377558306752001316338827006032187340768, (12, 8) = -520.235208378859672763343647578296600919428272, (12, 9) = .403127155352863813666160452061241985268802920, (12, 10) = .229875128453580499649930605383626391667210087, (12, 11) = .249025243344440313757976839460134436215711022, (12, 12) = .850077849442508503270095108095866473994329709, (12, 13) = .999999999999999999999999999999999999999999990, (12, 14) = 1.00000000000000000000000000000000000000001494, (12, 15) = 526.046005054204528169704406776278260629227147, (13, 1) = 0, (13, 2) = -.888607277416217966051928947403779522572804242, (13, 3) = .106822611437208274601612056689973427508887756, (13, 4) = -.227628951666705815052303897780904267397418654, (13, 5) = .383602784885339918445575993340862111408067307, (13, 6) = 0, (13, 7) = 0, (13, 8) = 0, (13, 9) = 0, (13, 10) = 0, (13, 11) = 0, (13, 12) = 0, (13, 13) = 0, (13, 14) = 0, (13, 15) = 0, (14, 1) = 7, (14, 2) = -1.37465842397864539997343521056744950913464373, (14, 3) = -.4720070715*I, (14, 4) = 1.04887251334709968989772260444378754238846281*I, (14, 5) = .658208509656740520048240372814155977066034431, (14, 6) = -139.935858043713569770172241394940432701557933, (14, 7) = 1009.16689416507143999697715965318783801532828, (14, 8) = -35.05063705*I, (14, 9) = -1.081758215*I, (14, 10) = .805172606177376737844957657938233921696306905, (14, 11) = -1.28822588438750284892199202326992770781607054, (14, 12) = .370982506039653923963789326359229665746676298*I, (14, 13) = 1.00000000000000000000000000000000000000004448, (14, 14) = 1.00000000000000000000000000000000000002308483, (14, 15) = 1018.21968036744599747318369866423941656487034, (15, 1) = 0, (15, 2) = -1.37465842397864539997343521056744950913464373, (15, 3) = .472007071498869469711464480852290076392886818*I, (15, 4) = -1.048872513*I, (15, 5) = .658208509656740520048240372814155977066034431, (15, 6) = 0, (15, 7) = 0, (15, 8) = 0, (15, 9) = 0, (15, 10) = 0, (15, 11) = 0, (15, 12) = 0, (15, 13) = 0, (15, 14) = 0, (15, 15) = 0, (16, 1) = 8, (16, 2) = .516501806300516366332207827845271720295699875, (16, 3) = .157087667438024041386330713987768482051008262*I, (16, 4) = .113781789011852812312696505223578179747798329*I, (16, 5) = .877979905726868500805204485093148911811362591, (16, 6) = -45.5583959992909648360043286735679679113587631, (16, 7) = -49.2104104577498887775211368820566392860712299, (16, 8) = 893.506783720169698656724304667952267191687315*I, (16, 9) = -.866146675707479268632063873487527071333386044, (16, 10) = -0.3920154867e-1*I, (16, 11) = .141165764599481508540163197537118257205129796*I, (16, 12) = .520820958366521078324036803446408915170112964, (16, 13) = .999999999999999999999999999999999999997268842, (16, 14) = .999999999999999999999999999999999999974976375, (16, 15) = 890.986610791943203054869284606448158021303178*I, (17, 1) = 0, (17, 2) = .516501806300516366332207827845271720295699875, (17, 3) = -.1570876674*I, (17, 4) = -.1137817890*I, (17, 5) = .877979905726868500805204485093148911811362591, (17, 6) = 0, (17, 7) = 0, (17, 8) = 0, (17, 9) = 0, (17, 10) = 0, (17, 11) = 0, (17, 12) = 0, (17, 13) = 0, (17, 14) = 0, (17, 15) = 0})

Ans := Matrix(17, 15, {(1, 1) = `-`, (1, 2) = u0, (1, 3) = u1, (1, 4) = u2, (1, 5) = u3, (1, 6) = P*x, (1, 7) = Py, (1, 8) = Pz, (1, 9) = g0, (1, 10) = g1, (1, 11) = g2, (1, 12) = g3, (1, 13) = u^2, (1, 14) = g^2, (1, 15) = P, (2, 1) = 1, (2, 2) = -.516501806300516366332207827845271720295699875, (2, 3) = .157087667438024041386330713987768482051008262*I, (2, 4) = .113781789011852812312696505223578179747798329*I, (2, 5) = -.877979905726868500805204485093148911811362591, (2, 6) = -45.5583959992909648360043286735679679113587631, (2, 7) = -49.2104104577498887775211368820566392860712299, (2, 8) = -893.5067837*I, (2, 9) = -.866146675707479268632063873487527071333386044, (2, 10) = 0.392015486681650570173437868256055772345022977e-1*I, (2, 11) = -.1411657646*I, (2, 12) = .520820958366521078324036803446408915170112964, (2, 13) = .999999999999999999999999999999999999997268842, (2, 14) = .999999999999999999999999999999999999974976375, (2, 15) = 890.986610791943203054869284606448158021303178*I, (3, 1) = 0, (3, 2) = -.516501806300516366332207827845271720295699875, (3, 3) = -.1570876674*I, (3, 4) = -.1137817890*I, (3, 5) = -.877979905726868500805204485093148911811362591, (3, 6) = 0, (3, 7) = 0, (3, 8) = 0, (3, 9) = 0, (3, 10) = 0, (3, 11) = 0, (3, 12) = 0, (3, 13) = 0, (3, 14) = 0, (3, 15) = 0, (4, 1) = 2, (4, 2) = 1.37465842397864539997343521056744950913464373, (4, 3) = -.4720070715*I, (4, 4) = 1.04887251334709968989772260444378754238846281*I, (4, 5) = -.658208509656740520048240372814155977066034431, (4, 6) = -139.935858043713569770172241394940432701557933, (4, 7) = 1009.16689416507143999697715965318783801532828, (4, 8) = 35.050637050173061427545252165933711014164793*I, (4, 9) = -1.081758215*I, (4, 10) = -.805172606177376737844957657938233921696306905, (4, 11) = 1.28822588438750284892199202326992770781607054, (4, 12) = .370982506039653923963789326359229665746676298*I, (4, 13) = 1.00000000000000000000000000000000000000004448, (4, 14) = 1.00000000000000000000000000000000000002308483, (4, 15) = 1018.21968036744599747318369866423941656487034, (5, 1) = 0, (5, 2) = 1.37465842397864539997343521056744950913464373, (5, 3) = .472007071498869469711464480852290076392886818*I, (5, 4) = -1.048872513*I, (5, 5) = -.658208509656740520048240372814155977066034431, (5, 6) = 0, (5, 7) = 0, (5, 8) = 0, (5, 9) = 0, (5, 10) = 0, (5, 11) = 0, (5, 12) = 0, (5, 13) = 0, (5, 14) = 0, (5, 15) = 0, (6, 1) = 3, (6, 2) = .888607277416217966051928947403779522572804242, (6, 3) = -.106822611437208274601612056689973427508887756, (6, 4) = .227628951666705815052303897780904267397418654, (6, 5) = -.383602784885339918445575993340862111408067307, (6, 6) = -33.2619224164850716022540679651061384838837392, (6, 7) = -70.5221377558306752001316338827006032187340768, (6, 8) = 520.235208378859672763343647578296600919428272, (6, 9) = .403127155352863813666160452061241985268802920, (6, 10) = -.229875128453580499649930605383626391667210087, (6, 11) = -.249025243344440313757976839460134436215711022, (6, 12) = .850077849442508503270095108095866473994329709, (6, 13) = .999999999999999999999999999999999999999999990, (6, 14) = 1.00000000000000000000000000000000000000001494, (6, 15) = 526.046005054204528169704406776278260629227147, (7, 1) = 0, (7, 2) = .888607277416217966051928947403779522572804242, (7, 3) = .106822611437208274601612056689973427508887756, (7, 4) = -.227628951666705815052303897780904267397418654, (7, 5) = -.383602784885339918445575993340862111408067307, (7, 6) = 0, (7, 7) = 0, (7, 8) = 0, (7, 9) = 0, (7, 10) = 0, (7, 11) = 0, (7, 12) = 0, (7, 13) = 0, (7, 14) = 0, (7, 15) = 0, (8, 1) = 4, (8, 2) = .771395089635626888037058585282289072153672569, (8, 3) = -.251315638632409886572894533969222074089643996, (8, 4) = .494467079738422222368894560870844350373447897, (8, 5) = -.311917252680552965184041884461266972741091408, (8, 6) = -35.3773974809076144493333628813387306219066392, (8, 7) = -261.955262605587133808935304231369552994540307, (8, 8) = 267.817639506339708440220037786669249266668237, (8, 9) = .542590138401669145144489319765760630956089296, (8, 10) = -.207306657051038538831939399741694104211987188, (8, 11) = -.745192226522038608473536679495983480516139685, (8, 12) = .327579665398674149197429570862493923635921752, (8, 13) = 1.00000000000000000000000000000000000000000004, (8, 14) = 1.00000000000000000000000000000000000000000070, (8, 15) = 376.295638946336949362327994692547262453058894, (9, 1) = 0, (9, 2) = .771395089635626888037058585282289072153672569, (9, 3) = .251315638632409886572894533969222074089643996, (9, 4) = -.494467079738422222368894560870844350373447897, (9, 5) = -.311917252680552965184041884461266972741091408, (9, 6) = 0, (9, 7) = 0, (9, 8) = 0, (9, 9) = 0, (9, 10) = 0, (9, 11) = 0, (9, 12) = 0, (9, 13) = 0, (9, 14) = 0, (9, 15) = 0, (10, 1) = 5, (10, 2) = -.771395089635626888037058585282289072153672569, (10, 3) = -.251315638632409886572894533969222074089643996, (10, 4) = .494467079738422222368894560870844350373447897, (10, 5) = .311917252680552965184041884461266972741091408, (10, 6) = -35.3773974809076144493333628813387306219066392, (10, 7) = -261.955262605587133808935304231369552994540307, (10, 8) = -267.817639506339708440220037786669249266668237, (10, 9) = .542590138401669145144489319765760630956089296, (10, 10) = .207306657051038538831939399741694104211987188, (10, 11) = .745192226522038608473536679495983480516139685, (10, 12) = .327579665398674149197429570862493923635921752, (10, 13) = 1.00000000000000000000000000000000000000000004, (10, 14) = 1.00000000000000000000000000000000000000000070, (10, 15) = 376.295638946336949362327994692547262453058894, (11, 1) = 0, (11, 2) = -.771395089635626888037058585282289072153672569, (11, 3) = .251315638632409886572894533969222074089643996, (11, 4) = -.494467079738422222368894560870844350373447897, (11, 5) = .311917252680552965184041884461266972741091408, (11, 6) = 0, (11, 7) = 0, (11, 8) = 0, (11, 9) = 0, (11, 10) = 0, (11, 11) = 0, (11, 12) = 0, (11, 13) = 0, (11, 14) = 0, (11, 15) = 0, (12, 1) = 6, (12, 2) = -.888607277416217966051928947403779522572804242, (12, 3) = -.106822611437208274601612056689973427508887756, (12, 4) = .227628951666705815052303897780904267397418654, (12, 5) = .383602784885339918445575993340862111408067307, (12, 6) = -33.2619224164850716022540679651061384838837392, (12, 7) = -70.5221377558306752001316338827006032187340768, (12, 8) = -520.235208378859672763343647578296600919428272, (12, 9) = .403127155352863813666160452061241985268802920, (12, 10) = .229875128453580499649930605383626391667210087, (12, 11) = .249025243344440313757976839460134436215711022, (12, 12) = .850077849442508503270095108095866473994329709, (12, 13) = .999999999999999999999999999999999999999999990, (12, 14) = 1.00000000000000000000000000000000000000001494, (12, 15) = 526.046005054204528169704406776278260629227147, (13, 1) = 0, (13, 2) = -.888607277416217966051928947403779522572804242, (13, 3) = .106822611437208274601612056689973427508887756, (13, 4) = -.227628951666705815052303897780904267397418654, (13, 5) = .383602784885339918445575993340862111408067307, (13, 6) = 0, (13, 7) = 0, (13, 8) = 0, (13, 9) = 0, (13, 10) = 0, (13, 11) = 0, (13, 12) = 0, (13, 13) = 0, (13, 14) = 0, (13, 15) = 0, (14, 1) = 7, (14, 2) = -1.37465842397864539997343521056744950913464373, (14, 3) = -.4720070715*I, (14, 4) = 1.04887251334709968989772260444378754238846281*I, (14, 5) = .658208509656740520048240372814155977066034431, (14, 6) = -139.935858043713569770172241394940432701557933, (14, 7) = 1009.16689416507143999697715965318783801532828, (14, 8) = -35.05063705*I, (14, 9) = -1.081758215*I, (14, 10) = .805172606177376737844957657938233921696306905, (14, 11) = -1.28822588438750284892199202326992770781607054, (14, 12) = .370982506039653923963789326359229665746676298*I, (14, 13) = 1.00000000000000000000000000000000000000004448, (14, 14) = 1.00000000000000000000000000000000000002308483, (14, 15) = 1018.21968036744599747318369866423941656487034, (15, 1) = 0, (15, 2) = -1.37465842397864539997343521056744950913464373, (15, 3) = .472007071498869469711464480852290076392886818*I, (15, 4) = -1.048872513*I, (15, 5) = .658208509656740520048240372814155977066034431, (15, 6) = 0, (15, 7) = 0, (15, 8) = 0, (15, 9) = 0, (15, 10) = 0, (15, 11) = 0, (15, 12) = 0, (15, 13) = 0, (15, 14) = 0, (15, 15) = 0, (16, 1) = 8, (16, 2) = .516501806300516366332207827845271720295699875, (16, 3) = .157087667438024041386330713987768482051008262*I, (16, 4) = .113781789011852812312696505223578179747798329*I, (16, 5) = .877979905726868500805204485093148911811362591, (16, 6) = -45.5583959992909648360043286735679679113587631, (16, 7) = -49.2104104577498887775211368820566392860712299, (16, 8) = 893.506783720169698656724304667952267191687315*I, (16, 9) = -.866146675707479268632063873487527071333386044, (16, 10) = -0.3920154867e-1*I, (16, 11) = .141165764599481508540163197537118257205129796*I, (16, 12) = .520820958366521078324036803446408915170112964, (16, 13) = .999999999999999999999999999999999999997268842, (16, 14) = .999999999999999999999999999999999999974976375, (16, 15) = 890.986610791943203054869284606448158021303178*I, (17, 1) = 0, (17, 2) = .516501806300516366332207827845271720295699875, (17, 3) = -.1570876674*I, (17, 4) = -.1137817890*I, (17, 5) = .877979905726868500805204485093148911811362591, (17, 6) = 0, (17, 7) = 0, (17, 8) = 0, (17, 9) = 0, (17, 10) = 0, (17, 11) = 0, (17, 12) = 0, (17, 13) = 0, (17, 14) = 0, (17, 15) = 0})

(4)

``

(5)

"seq( if 'has'(Ans(n,1..15) ,Im<>0) then DeleteRow (Ans(n) )end if,n=2..17)"

Error, invalid argument sequence

"seq( if 'has'(Ans(n,1..15) ,Im<>0) then DeleteRow (Ans(n) )end if,n=2..17)"

 

Ans

Matrix(17, 15, {(1, 1) = `-`, (1, 2) = u0, (1, 3) = u1, (1, 4) = u2, (1, 5) = u3, (1, 6) = P*x, (1, 7) = Py, (1, 8) = Pz, (1, 9) = g0, (1, 10) = g1, (1, 11) = g2, (1, 12) = g3, (1, 13) = u^2, (1, 14) = g^2, (1, 15) = P, (2, 1) = 1, (2, 2) = -.516501806300516366332207827845271720295699875, (2, 3) = .157087667438024041386330713987768482051008262*I, (2, 4) = .113781789011852812312696505223578179747798329*I, (2, 5) = -.877979905726868500805204485093148911811362591, (2, 6) = -45.5583959992909648360043286735679679113587631, (2, 7) = -49.2104104577498887775211368820566392860712299, (2, 8) = -893.5067837*I, (2, 9) = -.866146675707479268632063873487527071333386044, (2, 10) = 0.392015486681650570173437868256055772345022977e-1*I, (2, 11) = -.1411657646*I, (2, 12) = .520820958366521078324036803446408915170112964, (2, 13) = .999999999999999999999999999999999999997268842, (2, 14) = .999999999999999999999999999999999999974976375, (2, 15) = 890.986610791943203054869284606448158021303178*I, (3, 1) = 0, (3, 2) = -.516501806300516366332207827845271720295699875, (3, 3) = -.1570876674*I, (3, 4) = -.1137817890*I, (3, 5) = -.877979905726868500805204485093148911811362591, (3, 6) = 0, (3, 7) = 0, (3, 8) = 0, (3, 9) = 0, (3, 10) = 0, (3, 11) = 0, (3, 12) = 0, (3, 13) = 0, (3, 14) = 0, (3, 15) = 0, (4, 1) = 2, (4, 2) = 1.37465842397864539997343521056744950913464373, (4, 3) = -.4720070715*I, (4, 4) = 1.04887251334709968989772260444378754238846281*I, (4, 5) = -.658208509656740520048240372814155977066034431, (4, 6) = -139.935858043713569770172241394940432701557933, (4, 7) = 1009.16689416507143999697715965318783801532828, (4, 8) = 35.050637050173061427545252165933711014164793*I, (4, 9) = -1.081758215*I, (4, 10) = -.805172606177376737844957657938233921696306905, (4, 11) = 1.28822588438750284892199202326992770781607054, (4, 12) = .370982506039653923963789326359229665746676298*I, (4, 13) = 1.00000000000000000000000000000000000000004448, (4, 14) = 1.00000000000000000000000000000000000002308483, (4, 15) = 1018.21968036744599747318369866423941656487034, (5, 1) = 0, (5, 2) = 1.37465842397864539997343521056744950913464373, (5, 3) = .472007071498869469711464480852290076392886818*I, (5, 4) = -1.048872513*I, (5, 5) = -.658208509656740520048240372814155977066034431, (5, 6) = 0, (5, 7) = 0, (5, 8) = 0, (5, 9) = 0, (5, 10) = 0, (5, 11) = 0, (5, 12) = 0, (5, 13) = 0, (5, 14) = 0, (5, 15) = 0, (6, 1) = 3, (6, 2) = .888607277416217966051928947403779522572804242, (6, 3) = -.106822611437208274601612056689973427508887756, (6, 4) = .227628951666705815052303897780904267397418654, (6, 5) = -.383602784885339918445575993340862111408067307, (6, 6) = -33.2619224164850716022540679651061384838837392, (6, 7) = -70.5221377558306752001316338827006032187340768, (6, 8) = 520.235208378859672763343647578296600919428272, (6, 9) = .403127155352863813666160452061241985268802920, (6, 10) = -.229875128453580499649930605383626391667210087, (6, 11) = -.249025243344440313757976839460134436215711022, (6, 12) = .850077849442508503270095108095866473994329709, (6, 13) = .999999999999999999999999999999999999999999990, (6, 14) = 1.00000000000000000000000000000000000000001494, (6, 15) = 526.046005054204528169704406776278260629227147, (7, 1) = 0, (7, 2) = .888607277416217966051928947403779522572804242, (7, 3) = .106822611437208274601612056689973427508887756, (7, 4) = -.227628951666705815052303897780904267397418654, (7, 5) = -.383602784885339918445575993340862111408067307, (7, 6) = 0, (7, 7) = 0, (7, 8) = 0, (7, 9) = 0, (7, 10) = 0, (7, 11) = 0, (7, 12) = 0, (7, 13) = 0, (7, 14) = 0, (7, 15) = 0, (8, 1) = 4, (8, 2) = .771395089635626888037058585282289072153672569, (8, 3) = -.251315638632409886572894533969222074089643996, (8, 4) = .494467079738422222368894560870844350373447897, (8, 5) = -.311917252680552965184041884461266972741091408, (8, 6) = -35.3773974809076144493333628813387306219066392, (8, 7) = -261.955262605587133808935304231369552994540307, (8, 8) = 267.817639506339708440220037786669249266668237, (8, 9) = .542590138401669145144489319765760630956089296, (8, 10) = -.207306657051038538831939399741694104211987188, (8, 11) = -.745192226522038608473536679495983480516139685, (8, 12) = .327579665398674149197429570862493923635921752, (8, 13) = 1.00000000000000000000000000000000000000000004, (8, 14) = 1.00000000000000000000000000000000000000000070, (8, 15) = 376.295638946336949362327994692547262453058894, (9, 1) = 0, (9, 2) = .771395089635626888037058585282289072153672569, (9, 3) = .251315638632409886572894533969222074089643996, (9, 4) = -.494467079738422222368894560870844350373447897, (9, 5) = -.311917252680552965184041884461266972741091408, (9, 6) = 0, (9, 7) = 0, (9, 8) = 0, (9, 9) = 0, (9, 10) = 0, (9, 11) = 0, (9, 12) = 0, (9, 13) = 0, (9, 14) = 0, (9, 15) = 0, (10, 1) = 5, (10, 2) = -.771395089635626888037058585282289072153672569, (10, 3) = -.251315638632409886572894533969222074089643996, (10, 4) = .494467079738422222368894560870844350373447897, (10, 5) = .311917252680552965184041884461266972741091408, (10, 6) = -35.3773974809076144493333628813387306219066392, (10, 7) = -261.955262605587133808935304231369552994540307, (10, 8) = -267.817639506339708440220037786669249266668237, (10, 9) = .542590138401669145144489319765760630956089296, (10, 10) = .207306657051038538831939399741694104211987188, (10, 11) = .745192226522038608473536679495983480516139685, (10, 12) = .327579665398674149197429570862493923635921752, (10, 13) = 1.00000000000000000000000000000000000000000004, (10, 14) = 1.00000000000000000000000000000000000000000070, (10, 15) = 376.295638946336949362327994692547262453058894, (11, 1) = 0, (11, 2) = -.771395089635626888037058585282289072153672569, (11, 3) = .251315638632409886572894533969222074089643996, (11, 4) = -.494467079738422222368894560870844350373447897, (11, 5) = .311917252680552965184041884461266972741091408, (11, 6) = 0, (11, 7) = 0, (11, 8) = 0, (11, 9) = 0, (11, 10) = 0, (11, 11) = 0, (11, 12) = 0, (11, 13) = 0, (11, 14) = 0, (11, 15) = 0, (12, 1) = 6, (12, 2) = -.888607277416217966051928947403779522572804242, (12, 3) = -.106822611437208274601612056689973427508887756, (12, 4) = .227628951666705815052303897780904267397418654, (12, 5) = .383602784885339918445575993340862111408067307, (12, 6) = -33.2619224164850716022540679651061384838837392, (12, 7) = -70.5221377558306752001316338827006032187340768, (12, 8) = -520.235208378859672763343647578296600919428272, (12, 9) = .403127155352863813666160452061241985268802920, (12, 10) = .229875128453580499649930605383626391667210087, (12, 11) = .249025243344440313757976839460134436215711022, (12, 12) = .850077849442508503270095108095866473994329709, (12, 13) = .999999999999999999999999999999999999999999990, (12, 14) = 1.00000000000000000000000000000000000000001494, (12, 15) = 526.046005054204528169704406776278260629227147, (13, 1) = 0, (13, 2) = -.888607277416217966051928947403779522572804242, (13, 3) = .106822611437208274601612056689973427508887756, (13, 4) = -.227628951666705815052303897780904267397418654, (13, 5) = .383602784885339918445575993340862111408067307, (13, 6) = 0, (13, 7) = 0, (13, 8) = 0, (13, 9) = 0, (13, 10) = 0, (13, 11) = 0, (13, 12) = 0, (13, 13) = 0, (13, 14) = 0, (13, 15) = 0, (14, 1) = 7, (14, 2) = -1.37465842397864539997343521056744950913464373, (14, 3) = -.4720070715*I, (14, 4) = 1.04887251334709968989772260444378754238846281*I, (14, 5) = .658208509656740520048240372814155977066034431, (14, 6) = -139.935858043713569770172241394940432701557933, (14, 7) = 1009.16689416507143999697715965318783801532828, (14, 8) = -35.05063705*I, (14, 9) = -1.081758215*I, (14, 10) = .805172606177376737844957657938233921696306905, (14, 11) = -1.28822588438750284892199202326992770781607054, (14, 12) = .370982506039653923963789326359229665746676298*I, (14, 13) = 1.00000000000000000000000000000000000000004448, (14, 14) = 1.00000000000000000000000000000000000002308483, (14, 15) = 1018.21968036744599747318369866423941656487034, (15, 1) = 0, (15, 2) = -1.37465842397864539997343521056744950913464373, (15, 3) = .472007071498869469711464480852290076392886818*I, (15, 4) = -1.048872513*I, (15, 5) = .658208509656740520048240372814155977066034431, (15, 6) = 0, (15, 7) = 0, (15, 8) = 0, (15, 9) = 0, (15, 10) = 0, (15, 11) = 0, (15, 12) = 0, (15, 13) = 0, (15, 14) = 0, (15, 15) = 0, (16, 1) = 8, (16, 2) = .516501806300516366332207827845271720295699875, (16, 3) = .157087667438024041386330713987768482051008262*I, (16, 4) = .113781789011852812312696505223578179747798329*I, (16, 5) = .877979905726868500805204485093148911811362591, (16, 6) = -45.5583959992909648360043286735679679113587631, (16, 7) = -49.2104104577498887775211368820566392860712299, (16, 8) = 893.506783720169698656724304667952267191687315*I, (16, 9) = -.866146675707479268632063873487527071333386044, (16, 10) = -0.3920154867e-1*I, (16, 11) = .141165764599481508540163197537118257205129796*I, (16, 12) = .520820958366521078324036803446408915170112964, (16, 13) = .999999999999999999999999999999999999997268842, (16, 14) = .999999999999999999999999999999999999974976375, (16, 15) = 890.986610791943203054869284606448158021303178*I, (17, 1) = 0, (17, 2) = .516501806300516366332207827845271720295699875, (17, 3) = -.1570876674*I, (17, 4) = -.1137817890*I, (17, 5) = .877979905726868500805204485093148911811362591, (17, 6) = 0, (17, 7) = 0, (17, 8) = 0, (17, 9) = 0, (17, 10) = 0, (17, 11) = 0, (17, 12) = 0, (17, 13) = 0, (17, 14) = 0, (17, 15) = 0})

(6)

``

``

 

Download matrix_imaginery_elements.mw

I have the following command.

with(StringTools);
message := `Kajian ini mempunyai tiga objektif pertama seperti yang ditunjukkan dalam bahagian 1.11. Objektif tersebut harus`;

m := convert(message, bytes);

block := map(convert, m, binary);
block := map2(nprintf, "%08d", block);
block := map(proc (t) options operator, arrow; [seq(parse(convert(t, string)[i]), i = 1 .. length(convert(t, string)))] end proc, block);

block := [[0, 1, 0, 0, 1, 0, 1, 1], [0, 1, 1, 0, 0, 0, 0, 1], [0, 1, 1, 0, 1, 0, 1, 0], [0, 1, 1, 0, 1, 0, 0, 1], ........]

with(Bits);
for i to l do
for j from 3 to 7 do
block[i][j] := 1-block[i][j];  //used to flip bit in between 3rd to 7th bit in a block
end do;
c_block[i] := block[i];
end do;
c_block1 := [seq(c_block[i], i = 1 .. l)];

Error, assigning to a long list, please use Arrays

May i know how to solve this problem? I need to change some bit in a list but receive error when there is more than 100 elements in a list. Thank you.

I have a Document that I have been putting together.  When I insert a Subsection into a section below the title I get a 1D-math input command symbol.  Is there a way to prevent this from happening?  I have not had this problem before. 

It appears there is something confused in the startup of the document because when I start a new document and this doesn't happen.

It's almost like when I insert the subsection it converts that part to a worksheet?????

First 1120 1121 1122 1123 1124 1125 1126 Last Page 1122 of 2428