Introduction to Numerical Methods and Optimization Techniques