To solve the symbolic function y(x) = f(x)(c1x+c2) + g(x), where c1 and c2 are constants, and to satisfy the conditions y(0) = 0 and y(l) = 0 in MATLAB, you can follow these steps:
main.m72 chars3 lines
main.m32 chars2 lines
main.m36 chars3 lines
main.m37 chars2 lines
main.m34 chars3 lines
Now you have the values of c1 and c2 that satisfy the conditions y(0) = 0 and y(l) = 0 in the symbolic function y(x).
gistlibby LogSnag