subplot(211), plot(time,gaya), grid on, xlabel('time [second]'), ylabel('goncangan [N]')
subplot(212), plot(time,posisi), grid on, xlabel('time [second]'), ylabel('posisi [cm]')
