# Trial and Error method - Matlab programing code

Trial and error method is very useful concept in science when your are solving difficult equations. Think we have an equation of x and equation should be equal to zero. In this method we assume a value for x and substitute it in the equation and check the final value. If it is not equal or close to zero (like 0.001, 0.01, 0.04) get another value for x and substitute and check whether it is close to the zero. Continue this process until you get a value close to the zero. .

Download Trial and error method - Matlab CodeWas this tutorial helpful to you?

**Comments**