Re: Defining piece-wise functions and drawing, integrating, ...
"Raymond E. Rogers" <[email protected]>
| Newsgroups | gmane.comp.mathematics.axiom.user |
|---|---|
| Organization | A constant variable |
| Message-ID | <[email protected]> |
Ralf Hemmecke wrote: > > Agreed, but what about telling Axiom the following: > > (1) -> g(x)==if x>0 then x else -x > Type: Void > > ( I am sorry for being a nuisance but I would like to point out: This function can be expressed as g(x)= -x +2*DD^2 Where DD is the second order of the Dirac Delta function; and DD^2 = int(int(DD*1)) , a ramp starting at 0. The point is that piecewise polynomials can be handled as generalized functions. The integral int(g(x),a,b) would be [-(x^2/2)+DD^3]^b_a I am retiring soon and perhaps will implement the useful parts of using the Dirac Delta function in Axiom. Ray Rogers