Page 274 - Introduction to Microcontrollers Architecture, Programming, and Interfacing of The Motorola 68HC12
P. 274

PROBLEMS                                                            251

        invert an interval containing 0 or get the square root of an interval containing a negtive
        value. Finally, write a main() procedure that will initialize intervals a to <1,2>, b to
        <3,4>, and c to <5,6>, and then evaluate the result of the expression ( -b + sqrt ( b
        * b - 4 * a * c ) ) / (a + a).
   269   270   271   272   273   274   275   276   277   278   279