Question: Piecewise function defining

Dear maple user,for defining the piecewise function please rectify this

h:z-> piecewise(do+Lo<z<do+4*Lo+0.3,    1-cos(2*pi*(z-L), other wise 1)

Please Wait...