Question: the boundaryvalue problem kux cux bux 0...
the Boundary-Value Problem:
K*u''(x) + C*u'(x) + B*u(x) = 0, 0<x<1
u(0)=0, and u(1)=100
with K, C and B given Constants chosen as follows:
a) K = -1, C= 0., B=k**2
b) K = +1, C= 0., B=K**2
For every one of a, b, c choices of the parameters:
Q1. Write an FDM program which sets up & solves the Compact 4th Order FDM equations for the above choices of parameters, for a given mesh-size DX.
Please show me step by step