I need a prgoram written in c++ that will do basic operations on intervals like: sum, substraction, division and multiplication. Later on I will expand it with root finding algorithms like secant method, bisection and regula falsi. I would like to use boost interval libary since our professors header file is like 25 years old (it even has a floppy disk modules). Hovewever I can’t really find any example for so basic stuff (only some newton-raphson methods etc.) and I can’t really undestand the boost manual for this libary. I have to declare interval class template? There are some policies, how should I set them up? There are also some typedefs, what should I use them for. I already have those root finding algorithim written in standard math arithmetic. I have to make this project untill the end of may. I know I have some knowledge gaps but I really have no time to learn this. Professor excepted that we all know Delphi (we heard about this language for first time) or C++. I did some simple project in C++ so I choose it over Delphi.
I would like someone to explain to me how to write those simple operations.