Trying to use Finite difference method, to write the equation in AT = b matrices. But I don't know how to write FDM on that type of equation, please see image.

# MATLAB: Finite difference method problem with solving an equation

finite difference method

###### Related Question

- Error in Finite Difference Method for ODE Code
- How to add the solutions of xd as a matrix , I tried with xd1 , but it still give an error. and how can I make the new value as a initial value for the next st. x0 known and kmax =10. While the solution should be a matrix of 10 rows .. Thank you !
- Finite difference method – solving boundary conditions

## Best Answer