I have been looking for a way to map a complex function, I think that the simplest way is to define many simple functions over small ranges to 'draw' the function. I cannot find a way to get it into Mathematica, as I'd like to be able to plot and integrate the function (amongst other things).
For example, how would I add the following general example into Mathematica, all as one function:
Between x=0 & x=10, y=10x
Between x=10 & x=15, y=100
Between x=15 & x=20, y=6.66x
Thankyou in advance,