Mathematical Modelling Optimization Analytic and Numerical Solutions