Sponsored links: Algebra eBooks
 

Related

at-eigenvalues-invert-jacobian

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

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

C: invert (B);

Calculate

at-expand-first-solve

a : 0;

b : 1;

x_1 : 0;

Calculate

at-sqrt

gauss1(x, sigma) := 1...

g1 = at(gauss1, [sigm...

Calculate

at-cos-integrate

at(.16*(integrate((3 ...

Calculate

at-plot2d
plot2d(f(x), [x, -5, 5], [y, -5, 5], [gnuplot_preamble, "set xtics (

f(x) := (-2)*((x-4)^2...

at(%, [x=4]);

plot2d(f(x), [x, -5, ...

Calculate

at-block-diff-linsolve-plot2d-subst
plot2d(sys1(0.2),[s,0,1]);

sys1(sl1):= block(f: ...

plot2d(sys1(0.2),[s,0...

Calculate

at-matrix

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

inv(mat);

Calculate

at-solve

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

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

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

Calculate

at-rat

rat((x-0.5)*(2/L)*G*J...

Calculate

at-block-diff-linsolve-plot2d-subst
plot2d(sys1(0.9),[s,0,1]);

sys1(sd1):= block(f: ...

plot2d(sys1(0.9),[s,0...

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