Discretization of a Third Order ODE for Finite Difference method
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
The equation I have to solve looks something like this:
f'''=1+f’+(f'f'''-f''-100f'f''-10f'')/f W ith Boundary Conditions: f(0)=0, f(1)=1, f'(0)=0, where the equation has been scaled so that 1 is the maximum possible number for f(1)=1.
I'm trying to solve this with a Finite Difference Method, probably the central method, but I'm having trouble discretizing the function into a codable form. I am trying to solve the discretized form with a Gauss-Seidel solution method and for that I need to properly break down this equation into nodes that I can code into the Coefficient matrix for Ax=b.
Any help with coding a finite difference method for this specific ODE would be greatly appreciated!
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!