Post Reply 
Help with Piecewise function
02-01-2015, 10:46 AM
Post: #1
Help with Piecewise function
hi,
I would like to evaluate "square wave" functions (also with Fourier series...), so I create a "piecewise" function:
f(t):=PIECEWISE(-π<t<0,-1,t=0,0,t=-π,0,t=π,0,0<t<π,1)
The interval of values is -pi < t < pi and the function is constant (1 or -1) except in 0, π, -π

If I try f(-4) I get 1 but I should get "No case applies", I think...
f(-3) also 1, but it should be -1
and so on...
I input integrate(f(t),x,-pi,pi) and I get "No case applies"...

Please, help me to find where is the error... Sure I didn't understand how to use "pisewise()"; I read the help...

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 


Messages In This Thread
Help with Piecewise function - salvomic - 02-01-2015 10:46 AM
RE: Help with Piecewise function - Snorre - 02-01-2015, 12:34 PM
RE: Help with Piecewise function - Snorre - 02-01-2015, 02:00 PM
RE: Help with Piecewise function - Snorre - 02-01-2015, 02:47 PM
RE: Help with Piecewise function - parisse - 02-01-2015, 02:55 PM
RE: Help with Piecewise function - parisse - 02-01-2015, 04:10 PM
RE: Help with Piecewise function - Han - 02-01-2015, 06:09 PM
RE: Help with Piecewise function - parisse - 02-01-2015, 05:44 PM



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