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

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