Sponsored links: Algebra eBooks
 

Related

for-hessian

? for;

hessian((a*x^2 + b*x*...

hesM-hessian((a*x^2 +...

Calculate

for-hessian

? for;

hessian((a*x^2 + b*x*...

hesM-hessian((a*x^2 +...

Calculate

for

Run Example
(%i1)? for;

 -- Special operator: for
     Used in iterations. See `do' for a description of Maxima's
     iteration facilities.


  There are also some inexact matches for `for'.
  Try `?? for' to see them.

(%o1)                                true
(%i2) hessian((a*x^2 + b*x*y),[x,y]);
                                  [ 2 a  b ]
(%o2)                             [        ]
                                  [  b   0 ]
(%i3) hesM-hessian((a*x^2 + b*x*y),[x,y]);
                           [ hesM - 2 a  hesM - b ]
(%o3)                      [                      ]
                           [  hesM - b     hesM   ]
(%i4) 
Run Example
t1: (not s) and (g) and c and (f or (not f));
(%o1)               (not s) and g and c and (f or (not f))
(%i2) t2: (s) and (not g) and (not c) and (f or (not f));
(%o2)            s and (not g) and (not c) and (f or (not f))
(%i3) t3: (s) and (not f) and (not g) and (c or (not c));
(%o3)            s and (not f) and (not g) and (c or (not c))
(%i4) t4: (not s) and (f) and (g) and (c or (not c));
(%o4)               (not s) and f and g and (c or (not c))
(%i5) e: t1 or t2 or t3 or t4;
(%o5) ((not s) and g and c and (f or (not f)))
 or (s and (not g) and (not c) and (f or (not f)))
 or (s and (not f) and (not g) and (c or (not c)))
 or ((not s) and f and g and (c or (not c)))
(%i6) error, s=false,f=false,g=false,c=false;
(%o6)                             [No error.]
(%i7) error, s=false,f=false,g=false,c=true;
(%o7)                             [No error.]
(%i8) error, s=false,f=false,g=true,c=false;
(%o8)                             [No error.]
(%i9) error, s=false,f=false,g=true,c=true;
(%o9)                             [No error.]
(%i10) error, s=false,f=true,g=false,c=false;
(%o10)                            [No error.]
(%i11) error, s=false,f=true,g=false,c=true;
(%o11)                            [No error.]
(%i12) error, s=false,f=true,g=true,c=false;
(%o12)                            [No error.]
(%i13) error, s=false,f=true,g=true,c=true;
(%o13)                            [No error.]
(%i14) error, s=true,f=false,g=false,c=false;
(%o14)                            [No error.]
(%i15) error, s=true,f=false,g=false,c=true;
(%o15)                            [No error.]
(%i16) error, s=true,f=false,g=true,c=false;
(%o16)                            [No error.]
(%i17) error, s=true,f=false,g=true,c=true;
(%o17)                            [No error.]
(%i18) error, s=true,f=true,g=false,c=false;
(%o18)                            [No error.]
(%i19) error, s=true,f=true,g=false,c=true;
(%o19)                            [No error.]
(%i20) error, s=true,f=true,g=true,c=false;
(%o20)                            [No error.]
(%i21) error, s=true,f=true,g=true,c=true;
(%o21)                            [No error.]
(%i22) 

Related Help

Help for For