Text this: On the Expected Discounted Penalty Function Using Physics-Informed Neural Network