%Example of a script file. %This program calculates the roots of a quadratic equation. % a x^2 + bx +c =0 a=1;b=2;c=1; DIS=sqrt(b^2 -4*a*c); x1= (-b + DIS)/(2*a) x2= (-b - DIS)/(2*a)