Sponsored links: Algebra eBooks
 

Related

at-diff-divide-gcd

a^2=3;

P:4*X^4+2^(7/2)*a*X^3...

P1:diff(P,X);

Calculate

at-diff-factor-sqrt

f(x,y,A) := sqrt((1+x...

f20(x,y,A) := diff(f(...

f11(x,y,A) := diff(di...

Calculate

at-cos-integrate-pi-rat-sin

rat(integrate(( (cos(...

Calculate

at-eigenvalues-invert-jacobian

A: jacobian ([a*If*Sh...

B: jacobian ([gh*Ih, ...

C: invert (B);

Calculate

at-diff

diff((1+e^at)/(1-e^at...

Calculate

at-cos

at (3*cos (x) + 4*cos...

Calculate

at-mod-rat

rat(0.1234);

rat(0.12345);

rat(0.12345);

Calculate

at-cos-factor-log-plot2d-rat
plot2d([(log(x-1))^2,3*cos(2*x)+1],[x,-10,10]);

rat(((x^4-x^3-11*x^2+...

rat((2-x)/(x+1))*((3*...

rat((x^3+2*x^2+4*x)/(...

Calculate

at

Run Example
(%i1)rat(0.1234);

rat: replaced 0.1234 by 617/5000 = 0.1234
                                     617
(%o1)/R/                             ----
                                     5000
(%i2) rat(0.12345);

rat: replaced 0.12345 by 2469/20000 = 0.12345
                                     2469
(%o2)/R/                             -----
                                     20000
(%i3) rat(0.12345);

rat: replaced 0.12345 by 2469/20000 = 0.12345
                                     2469
(%o3)/R/                             -----
                                     20000
(%i4) mod(12345, 1000)/100000, numer;
(%o4)                               0.00345
(%i5) lastdigits(fnum, lastn):=block([m:10*fnum, ans, n:lastn], /* it doesn't help when lastn is bigger than the total digits in fnum it returns the whole digits in fnum anyway without erroring! and fnum=%pi stuff works only upto 8 digits cause num(rat(fnum)) has somuch only! */ratprint:false, k:rat(fnum), ans:mod(m, (10^-n))/(mod(m, 10)*denom(k)), return(float(ans)));
(%o5) lastdigits(fnum, lastn) := block([m : 10 fnum, ans, n : lastn], 
                                                   - n
                                          mod(m, 10   )
ratprint : false, k : rat(fnum), ans : -------------------, return(float(ans)))
                                       mod(m, 10) denom(k)
(%i6) lastdigits(0.12345, 3);
(%o6)                        2.0251113811259619E-8
(%i7) 
Run Example
f:5*4.57+3;
(%o1)                                25.85
(%i2) at(f,x=4,57);
(%o2)                                25.85
(%i3) df:diff(f,x);
(%o3)                                  0
(%i4) at(df,x=4.57);
(%o4)                                  0
(%i5) plot2d(df,[x,0,1]);
plotplot2d(df,[x,0,1]);
Run Example
rat(+ 0.76895553987651);

rat: replaced 0.76895553987651 by 4513/5869 = 0.76895552905095
                                     4513
(%o1)/R/                             ----
                                     5869
(%i2) 

Related Help

Help for At