MATLAB: How to calculate rate of change of accelerator pedal position

accelerator pedalrate of change

Hi i am trying to calculate the rate of change of accelerator pedal position. Could you suggest me which simulink block should i use?