Lali_miani

70 Reputation

5 Badges

8 years, 33 days

MaplePrimes Activity


These are questions asked by Lali_miani

create the sequence of exp (((aπ) / b)) for a varying from 1 to 15 and b varying from 1 to 10.

Display integers between -10 and 20. Put integers between -10 and 20 in a list.

Display the odd integers between 115 and 231, then put them in a list

Construct a procedure that takes as argument a sorted list, an element n and returns the place of n if it belongs to the list, the sequence NULL otherwise.

i want to calculate the eigenvalues and eigenvectors of two matrices ,i get these results, can anyone explain to me the meaning ?

A:=linalg[matrix](3,3,[-1,2,0,4,-2,3,0,1,-3]);
> B:=linalg[matrix](3,3,[2,0,1,4,-1,1,2,0,-5]);

> eigenvalues(A);

                  8                                    4
1/2 %2 + -------------------- - 2, - 1/4 %2 - --------------------
                      1/2 1/3                              1/2 1/3
         (20 + 4 I 231   )                    (20 + 4 I 231   )

                  1/2 /                  8          \
     - 2 + 1/2 I 3    |1/2 %2 - --------------------|, - 1/4 %2
                      |                      1/2 1/3|
                      \         (20 + 4 I 231   )   /

                4
     - -------------------- - 2
                    1/2 1/3
       (20 + 4 I 231   )

              1/2 /                  8          \
     - 1/2 I 3    |1/2 %2 - --------------------|
                  |                      1/2 1/3|
                  \         (20 + 4 I 231   )   /

               1
%1 := --------------------
                   1/2 1/3
      (20 + 4 I 231   )

                   1/2 1/3
%2 := (20 + 4 I 231   )

eigenvectors(B);
               1/2      [            1/2  65          1/2   ]
[- 3/2 + 1/2 57   , 1, {[7/4 + 1/4 57   , -- + 9/28 57   , 1]}],
                        [                 28                ]

                   1/2      [            1/2  65          1/2   ]
    [- 3/2 - 1/2 57   , 1, {[7/4 - 1/4 57   , -- - 9/28 57   , 1]}],
                            [                 28                ]

    [-1, 1, {[0, 1, 0]}]

such a list H:=
                     [0, 4, 8, 1, 2, 1, 4, 2, 8]

what is the diffrence between these 2 commands ? has(H,integer), type(H,integer);

4 5 6 7 8 9 10 Page 6 of 10