Sponsored links: Algebra eBooks
 

Related

at-solve

z: V1*p1/T1 = V2*p2/T2;

isop: z, p1=1, p2=1;

isoV: z, V1=1, V2=1;

Calculate

at-diff-tan

f: diff(tan(x), x, 7);

at(f, [x=%pi/4]);

Calculate

at-rat

rat(a^2+8*a+23+(55*a-...

rat(2*b^2-4*b+2+(-6*b...

Calculate

at-diff-linsolve-pi

f: s^2*(a0 + a1*s);

c0: at(f,s=1)=%pi;

c1: at(diff(f,s),s=1)=0;

Calculate

at-rat

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

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

rat(((x^3+2*x^2+4*x+8...

Calculate

at-matrix

mat:matrix([1,2,3],[2...

inv(mat);

Calculate

at-block-denom-float-mod-numer-rat-ratprint

rat(0.1234);

rat(0.12345);

rat(0.12345);

Calculate

at

z: V1*p1/T1 = V2*p2/T2;

isop: z, p1=1, p2=1;

isoV: z, V1=1, V2=1;

Calculate

at-rat

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

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

rat(((x^3+2*x^2+4*x+8...

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