summaryrefslogtreecommitdiff
path: root/1670/CH9/EX9.2/9_2.sce
blob: 21e61ce894c570ac9cbfd552b983ede2e0ba6372 (plain)
1
2
3
4
5
6
7
8
9
10
//Example 9.3
//Recurrence formula
//Page no. 291
clc;clear;close;

x=poly(0,'x')
f=16*x^2-8*x+1;
z=roots(f)
disp(z,f)
printf('\t\tn\n(c1+n*c2) (%g)',z(1))