summaryrefslogtreecommitdiff
path: root/2510/CH12/EX12.2/Ex12_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2510/CH12/EX12.2/Ex12_2.sce')
-rwxr-xr-x2510/CH12/EX12.2/Ex12_2.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/2510/CH12/EX12.2/Ex12_2.sce b/2510/CH12/EX12.2/Ex12_2.sce
new file mode 100755
index 000000000..ba8669f3b
--- /dev/null
+++ b/2510/CH12/EX12.2/Ex12_2.sce
@@ -0,0 +1,9 @@
+//Variable declaration:
+C = 1 //Number of constituents
+P = 1 //Number of phases
+
+//Calculation:
+F = C-P+2 //Number of degrees of freedom
+
+//Result:
+printf("The number of degrees of freedom is : %.2f .",F)