Question: Programming 2 ( C++ ) Please solve it in simple and begginers way . Interval Arithmetie Arithmetic operations may be defined on intervals. The operations
Programming 2 ( C++ ) Interval Arithmetie Arithmetic operations may be defined on intervals. The operations are expected to return an interval that contains the image of the input intervals under the operation. Below are some operations and functions that can be applied to interval arithmetic: Addition: Subtraction:a.bl-le-lad, be) Multiplication: a, b c,d minlac, ad, bc, b). max(ac, ad, be. badl Reciprocal: 1/ [a, b)-[1/b, lla] only if 0 not in lab]. Exponent: If n is odd natural number, then [a,-a", b If n is even natural number, then Power: a",b a 20 b
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
