some methods in course Numberical Analysis in cpp