summaryrefslogtreecommitdiff
path: root/260/CH14/EX14.8/14_8.sce
blob: db54e53227333171b2d6beb2de4c800bff6427d6 (plain)
1
2
3
4
5
6
7
8
//Eg-14.8
//pg-596

clear
clc
close()

printf('The general solution is of the form \n    y(x) = A*sin(ax)+B*cos(ax)\n\nUsing the BC : at x = 0, y = 0 ; we get B = 0.\nUsing the other BC : at x = 1 y = 0 \n => sin(ax) = 0 which is valid for a = n*pie for n = 1,2,3,..\nThe eigen values are n*pie for n = 1,2,3,...\n')