summaryrefslogtreecommitdiff
path: root/1322/CH5/EX5.5.c/47ex4_c.sce
blob: 70ccfa8ec51e05b38fbb324c7a69617568f11285 (plain)
1
2
3
4
5
6
7
8
9

// 2(n^2+5)
clear;
clc;
close;
mprintf("the first five terms of the sequence are: \n");
for n=1:5
  disp(2*(n^2+5))
 end