write a program in c++ to compute problems finite difference method

write a program in c++ to compute problems finite difference method