Heaviside, Dirac, Ramp - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: Heaviside, Dirac, Ramp (/thread-9380.html) |
Heaviside, Dirac, Ramp - salvomic - 10-27-2017 01:42 PM hi everybody, in CAS they are well supported both Heaviside() and Dirac() functions. Maybe it would be useful (for students) to include also Ramp(), for completeness, isn't it? ( In this link) their theory, as we know...) Almost poll: Do you agree? Now, actually we have only Heaviside() and Dirac() in Catalog (but not Ramp()) and they are also in the Help, so: diff(Heaviside(x)) -> Dirac(x) • ∫Dirac(x)dx returns ∫Dirac(x)dx • ∫Heaviside(x)dx returns {x if x>0, 0 \[ \text{Ramp } \left\{\begin{matrix} x \text{, if } x>0 \\ 0 \end{matrix}\right. \] If there would be a "Ramp" function, we could have: • ∫Dirac(x)dx should return a (new defined in CAS) Ramp(x) function... • diff(Ramp(x)) should also return Heaviside(x) Where Ramp(x) could be ({x if z>0, 0) or other definition [theoretically something like peacewise(x>0,0,x) ] Obviously with warning for the definition in 0 and so on... Only me two ..."Ramp cents" ¢ :-) Salvo |