A hybrid system is a combination of: