Sponsored links: Algebra eBooks
 

Related

logcontract

log2(x):=log(x)/log(2);

f:log2(x+1)+log2(x-5);

g:logcontract(f);

Calculate

logcontract

f:log2(x+1)+log2(x-5);

g:logcontract(f);

v:slove(g=4,x);

Calculate

logcontract

f:log2(x+1)+log2(x-5)=4;

g:logcontract(f);

Calculate

logcontract-solve

f:log2(x+1)+log2(x-5)=4;

g:logcontract(f);

v:solve(g=4,x);

Calculate

logcontract

log2(x):=log(x)/log(2);

f:log2(x+1)+log2(x-5);

f:logcontract(f);

Calculate

logcontract-solve

log2(x):=log(x)/log(2);

f:log(x+1)+log2(x-5);

g:logcontract(f);

Calculate

logcontract-solve

log2(x):=log(x)/log(2);

f:log(x+1)+log2(x-5);

g:logcontract(f);

Calculate

logcontract-solve

log2(x):=log(x)/log(2);

f:log2(x+1)+log2(x-5);

g:logcontract(f);

Calculate

logcontract-solve

log2(x):=log(x)/log(2);

f:log2(x+1)+log2(x-5);

f1:logcontract(f);

Calculate

logcontract-solve

log2(x):=log(x)/log(2);

f:log2(x+1)+log2(x-5);

g:logcontract(f);

Calculate

logcontract

Run Example
(%i1)e1: 2*(2*a*log(y)+a*log(x));
(%o1)                      2 (2 a log(y) + a log(x))
(%i2) logcontract(e1);
                                        2  4
(%o2)                            a log(x  y )
(%i3) e2:-4*log(4)/3  + log(3)+ 2 *log(2) + 1;
                        4 log(4)
(%o3)                 - -------- + log(3) + 2 log(2) + 1
                           3
(%i4)  logcontract(e2);
                                      4 log(4)
(%o4)                       log(12) - -------- + 1
                                         3
(%i5) 
Run Example
eq1 : 'diff(P,t) = P*(a-b*P);
                               dP
(%o1)                          -- = P (a - b P)
                               dt
(%i2) gsoln : ode2(eq1, P,t), logcontract;
                                    P
                             log(-------)
                                 b P - a
(%o2)                        ------------ = t + %c
                                  a
(%i3) gsoln : gsoln * denom(lhs(gsoln));
                                  P
(%o3)                      log(-------) = a (t + %c)
                               b P - a
(%i4) gsoln : exp(lhs(gsoln)) = exp(rhs(gsoln));
                               P        a (t + %c)
(%o4)                       ------- = %e
                            b P - a
(%i5) psoln : ic1(gsoln, t=0, P=3929);
                                              a t
                                P      3929 %e
(%o5)                        ------- = ----------
                             b P - a   3929 b - a
(%i6) ps1 : ev(psoln, t=6, P=23192);
                                                6 a
                              23192      3929 %e
(%o6)                      ----------- = ----------
                           23192 b - a   3929 b - a
(%i7) ps2 : ev(psoln, t=12, P=91972);
                                                12 a
                              91972      3929 %e
(%o7)                      ----------- = -----------
                           91972 b - a   3929 b - a
(%i8) ps2 : solve(ps2, b);
                                      12 a
                             3929 a %e     - 91972 a
(%o8)                 [b = ----------------------------]
                                       12 a
                           361357988 %e     - 361357988
(%i9) 
Run Example
log2(x):=log(2)/log(x);
                                          log(2)
(%o1)                          log2(x) := ------
                                          log(x)
(%i2) f:log2(x+1)+log2(x-5);
                              log(2)       log(2)
(%o2)                       ---------- + ----------
                            log(x + 1)   log(x - 5)
(%i3) g:logcontract(f);
                                       2
                           log(2) log(x  - 4 x - 5)
(%o3)                      ------------------------
                            log(x - 5) log(x + 1)
(%i4) v:slove(g=4,x);
                                      2
                          log(2) log(x  - 4 x - 5)
(%o4)               slove(------------------------ = 4, x)
                           log(x - 5) log(x + 1)
(%i5) 

Related Help

Help for Logcontract