Solving Partial Differential Equations Using Artificial Neural Networks