Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 86c3d80c4d6e905f610c100030811165 > files > 30

mathomatic-14.5.5-1mdv2010.0.i586.rpm

; A small Mathomatic demonstration.

clear all
y=x_new^n
0 ; solve for zero
taylor x_new 1 x_old ; build the nth root of y iterative approximation formula
solve verify x_new ; solve for the wanted variable, verifying the result
simplify ; convergent nth root approximation formula:
replace x_old x_new with x ; make old and new the same
x ; make sure the formula was correct by solving for x

y=x^(1/3)+x^(2/3) ; a quadratic, cubed root equation
solve verify x ; solve for x, verifying the result
expand
simplify

e^x ; exponential function
taylor x 10 0 ; generate a 10th order taylor series of the exponential function
laplace x ; do a Laplace transform on it
laplace inverse x ; undo the transform