Discovering governing equations in discrete systems using PINNs