Text this: Mathematical modeling of earthquake induced vibrations and its effects on multistory buildings