MATLAB code for Bisection method

How to run the code: 1. Download the m file and open it in MATLAB. 2. Now there are 6 input arguments and minimum 3 argument is required to run the program. 3. First one is function. You can write the function as below func=inline(‘-0.5*x^2+2.5*x+4.5’); or func=@(x) -0.5*x^2+2.5*x+4.5; 4. Third and fourth xl and xu which […]

Bisection method feature image

Bisection method with example.

The bisection method in mathematics is a root-finding method that repeatedly bisects an interval and then selects a sub-interval in which a root must lie for further processing. It is a very simple and robust method, but it is also relatively slow. Because of this, it is often used to obtain a rough approximation to […]

spectrum

What is Spectrum ?

Definition: A visual display dispersion of components of white light when it is passed through a prism is called spectrum. The study of spectrum is called spectroscopy. The instrument used to analyze spectrum is called spectrometer. Explanation: Ordinary white light consists of radiations of all wavelengths. After passing through the prism, white light is splitted […]

Photocopier

Inkjet printers

An inkjet printer is a type of printer which uses electric charge in its operation. While shuttling back and forth across the paper, the inkjet printer “ejects” a thin stream of ink. The ink is forced out of a small nozzle and breaks up into extremely small droplets. During their flight, the droplets pass through […]

Plastic raw materials

What is plastic ?

Definition: Plastics are macromolecules, which are formed by the polymerization of simple molecules. Explanation: In other words we can say that plastic are the polymers formed from monomers. The phenomenon in which simple and smaller molecules are combined together to form complex and large molecules, is called polymerization. The simple and smaller molecules are called […]

Quadratic formula

How to derive quadratic formula ?

Quadratic Equation: [latex s=3]x = \frac{{ – b \pm \sqrt {b^2 – 4ac} }}{{2a}}[/latex] Now we will see how to make that formula. Basically quadratic equation is a second order polynomial with 3 coefficients. The quadratic equation is given by: [latex s=2]ax^2+bx+c=0[/latex] Divide the equation with ‘a’ [latex s=3]\frac{ax^2}{a}+\frac{bx}{a}+\frac{c}{a}=0[/latex] [latex s=3]x^2+\frac{bx}{a}+\frac{c}{a}=0[/latex] [latex s=3]x^2+\frac{bx}{a}=-\frac{c}{a}[/latex] Now add     […]