Question: Define function on different intervals

How do I define a function on different intervals? For example, how to define y(x): y(x) = f(x) for x=a..b g(x) for x=b..c Hope anyone can help
Please Wait...