Combine Jquery UI Accordion and Tab Widgets

Combine Jquery UI Accordion and Tab Widgets

I am just starting with JQuery and am trying to combine the accordion and tab widgets. I have tried figuring it out myself but can't seem to quite put my finger on it. Any help would be very much appreciated.