Sponsored links: Algebra eBooks
 

Related

outermap

outermap("*",[a,b,c],...

Calculate

outermap

outermap("*",[a,b,c],...

Calculate

outermap-transpose

a:[.02778,.05556,.083...

b:[.02778,.08333,.166...

c: outermap("+",a,b);

Calculate

outermap

a:[2.8,5.6,8.3];

b:[2.8,8.3,16.7];

c: outermap("+",a,b);

Calculate

outermap

outermap("*",[a,b,c],...

Calculate

outermap

a:[.02778,.05556,.083...

b:[.02778,.08333,.166...

c: outermap("+",b,a);

Calculate

outermap-transpose

a:[.02778,.05556,.083...

b:[.02778,.08333,.166...

c: outermap("+",a,b);

Calculate

outermap

outermap("*",[a,b,c],...

Calculate

outermap

a:[.02778,.05556,.083...

b:[.02778,.08333,.166...

c: outermap("*",b,b);

Calculate

outermap

Run Example
(%i1)load (newton1);
(%o1)         /usr/share/maxima/5.21.1/share/numeric/newton1.mac
(%i2) eq1:sin(x)*cos(3*x);
(%o2)                           sin(x) cos(3 x)
(%i3) eq2:eq1*eq1;
                                  2       2
(%o3)                          sin (x) cos (3 x)
(%i4) plot2d(eq1,[x,-3.2,3.2]);
plotplot2d(eq1,[x,-3.2,3.2]);li:makelist (i/4, i, -12, 12);
              11    5    9         7    3    5         3    1    1     1  1
(%o5) [- 3, - --, - -, - -, - 2, - -, - -, - -, - 1, - -, - -, - -, 0, -, -, 
              4     2    4         4    2    4         4    2    4     4  2
                                                 3     5  3  7     9  5  11
                                                 -, 1, -, -, -, 2, -, -, --, 3]
                                                 4     4  2  4     4  2  4
(%i6) map(round,[[1.2],[3.5]]);
(%o6)                    [round([1.2]), round([3.5])]
(%i7) string(2.344555);
(%o7)                              2.344555
(%i8) sols:map(round,flatten(sort(outermap(newton, [eq1], [x], li, [1E-6]))*1000))/1000;
         1571    1309    1309    1309  131    1571    1571    1571       131
(%o8) [- ----, - ----, - ----, - ----, ---, - ----, - ----, - ----, 0, - ---, 
         500     500     500     500   250    1000    1000    1000       250
  131  131       131  131  131     1571  1571  1571    131  1309  1309  1309
- ---, ---, 0, - ---, ---, ---, 0, ----, ----, ----, - ---, ----, ----, ----, 
  250  250       250  250  250     1000  1000  1000    250  500   500   500
1571
----]
500
(%i9) round([4.5,5.6]);
(%o9)                          round([4.5, 5.6])
(%i10) 
Run Example
load (newton1);
(%o1)         /usr/share/maxima/5.21.1/share/numeric/newton1.mac
(%i2) eq1:sin(x)+cos(3*x)+1;
(%o2)                        cos(3 x) + sin(x) + 1
(%i3) plot2d(eq1,[x,-3.2,3.2]);
plotplot2d(eq1,[x,-3.2,3.2]);li:makelist (i/4, i, -3, 3);
                             3    1    1     1  1  3
(%o4)                     [- -, - -, - -, 0, -, -, -]
                             4    2    4     4  2  4
(%i5) sols:unique(map(round,flatten(sort(outermap(newton, [eq1], [x], li, [1E-6]))*1000))/1000),numer;
(%o5)             [- 3.142, - 2.912, - 0.657, 3.142, 11.909]
(%i6) 
Run Example
a:[2.8,5.6,8.3];
(%o1)                    [2.8, 5.6, 8.300000000000001]
(%i2) b:[2.8,8.3,16.7];
(%o2)                   [2.8, 8.300000000000001, 16.7]
(%i3) c: outermap("+",a,b);
(%o3) [[5.6, 11.1, 19.5], [8.399999999999999, 13.9, 22.3], [11.1, 16.6, 25.0]]
(%i4) d:matrix(c);
(%o4) 
     [ [5.6, 11.1, 19.5]  [8.399999999999999, 13.9, 22.3]  [11.1, 16.6, 25.0] ]
(%i5) 

Related Help

Help for Outermap