Post Reply 
Heaviside, Dirac, Ramp
10-27-2017, 01:42 PM (This post was last modified: 10-28-2017 07:41 AM by salvomic.)
Post: #1
Heaviside, Dirac, Ramp
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? Smile

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

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)