Design studies of microtron electron accelerator with application to the Cerenkov radiation in millimeter wave range