View Single Post
radou
#6
Sep24-10, 02:34 PM
HW Helper
radou's Avatar
P: 3,220
Hepth, thanks.

When evaluating, I get error messages of type:

"Plot::plnr: totalfunction[x] is not a machine-size real number at x = \
1.6666666666666665`*^-7."

Btw, how can I get the value of this function at a point? For example, the line

"N[totalfunction[2], 2]"

returns

"6.0 HeavisideTheta[0] HeavisideTheta[
1.0] + 6.0 HeavisideTheta[-1.0] HeavisideTheta[4.0]"