Chaos prediction in MEMS-NEMS resonators