summaryrefslogtreecommitdiff
path: root/1652/CH12/EX12.1/12_1.sce
blob: 5e9b0dde8826b1b52dcfee62974f693968a536f9 (plain)
1
2
3
4
5
6
7
8
clc
//Initialization of variables
p=3
c=2
//calculations
f=2-p+c
//results
printf("no. of degrees of freedom = %d ",f)