Sponsored links: Algebra eBooks
 

Related

let-letsimp

expr : ((2*%pi*n)/(%p...

let (b*c, E);

letsimp (expr);

Calculate

let

:lisp (defun node (tr...

:lisp (defun left-bra...

:lisp (defun right-br...

Calculate

let-or-read-string-values

:lisp (defun ucs-inse...

:lisp (loop for x fro...

Calculate

let-or-read-string

:lisp (defun ucs-inse...

:lisp (loop for x fro...

Calculate

let

:lisp (let ((result))...

:lisp (let ((result))...

Calculate

let-solve

eq1: (10+x)^2 = 100 +...

eq2: y^2 = z^2 + w^2;

eq3: (10+w)^2 = (10+x...

Calculate

let-or-read-string

:lisp (defun ucs-inse...

:lisp (loop for x fro...

Calculate

let-or-read-string

:lisp (defun ucs-inse...

:lisp (loop for x fro...

Calculate

let

:lisp (defun swap (a ...

:lisp (swap 1 2);

:lisp (defun swaps (s...

Calculate

let-letsimp

expr : a + b*c + b*c*d;

let (b*c, k);

letsimp (expr);

Calculate

let

Run Example
(%i1):lisp (defun r (n) (labels ((f (k l z) (let ((ln (+ (* 1.003 l) (* 0.006 z))) (zn (+ (* 0.0069 l) (* 1.026 z)))) (if (<
 k n) (f (1+ k) ln zn) (cons (/ ln l) (/ zn z)))) (f 0 10 1000))))) (print (r 100));

NIL 
NIL
(%i1) 
Run Example
:lisp (defvar *my-list* '(a b c nil (e) (d e f) g));

*MY-LIST*
(%i1) :lisp (defun levels (list &optional (depth 0))         (let ((result))         (if (atom list)              (push depth result)              (dolist (elem list (nreverse result)) (push (levels elem (+ depth 1)) result)))));

LEVELS
(%i1) :lisp (levels *my-list*);

((1) (1) (1) (1) ((2)) ((2) (2) (2)) (1))
(%i1) 
Run Example
matchdeclare(a, true);
(%o1)                                done
(%i2) let(cot(a), cos(a)/sin(a));
                                          cos(a)
(%o2)                          cot(a) --> ------
                                          sin(a)
(%i3) letsimp(cot(z));
                                    cos(z)
(%o3)                               ------
                                    sin(z)
(%i4) letsimp(tan(z));
(%o4)                               tan(z)
(%i5) 
[and,cos,do,if,lambda,let,makelist,numer,print,sin] [and,cos,do,if,lambda,let,print,sin] [and,if,labels,lambda,let,not,or] [append,cons,if,let] [append,cons,lambda,let] [apply,cons,lambda,last,let,sum] [apply,cons,lambda,last,let] [apply,cons,lambda,let,values] [apply,cons,lambda,let] [assume,constant,cos,declare,diff,expandwrt,let,letsimp,sin,solve,trigsimp] [assume,constant,cos,declare,diff,factor,let,letsimp,sin,solve,trigsimp] [assume,constant,cos,declare,diff,let,letsimp,mainvar,sin,solve] [assume,constant,cos,declare,diff,let,letsimp,optimize,sin,solve,trigsimp] [assume,constant,cos,declare,diff,let,letsimp,pi,sin,solve,trigsimp] [assume,constant,cos,declare,diff,let,letsimp,rhs,sin,solve,trigsimp] [assume,constant,cos,declare,diff,let,letsimp,sin,solve,subst,trigsimp] [assume,constant,cos,declare,diff,let,letsimp,sin,solve,trigsimp] [assume,constant,cos,declare,diff,let,letsimp,sin,solve] [assume,constant,cos,declare,diff,let,letsimp,sin,subst,trigsimp] [block,compile,emptyp,first,if,kill,last,let,listp,rest,second] [cons,if,labels,let] [cons,if,lambda,let,or,unless] [cons,if,lambda,let,unless] [cons,lambda,let,subst] [cons,lambda,let] [cons,let] [constant,cos,declare,diff,let,letsimp,sin,solve] [cos,cot,declare,defrule,evfun,false,let,letsimp,matchdeclare,sin,tan,tellsimp,trigexpand,trigsimp,true] [cos,cot,declare,evfun,false,let,letsimp,matchdeclare,sin,tan,tellsimp,trigexpand,trigsimp,true] [cos,cot,declare,evfun,let,letsimp,matchdeclare,sin,tan,tellsimp,trigexpand,trigsimp,true] [determinant,let,matrix,ratsimp,scanmap,simp,solve,subst] [determinant,let,matrix,scanmap,simp,solve] [do,if,lambda,let,not,or,reverse] [do,if,lambda,let,or,string,values] [do,if,lambda,let,or,values] [first,lambda,let] [if,lambda,let,or,values] [if,lambda,let,print,var] [if,lambda,let,unless] [if,lambda,let,var] [if,lambda,let] [if,let] [labels,lambda,let] [lambda,length,let] [lambda,let] [let,letsimp,solve] [let,letsimp] [let,or,read,string,values] [let,or,read,string] [let]

Related Help

Help for Let