summaryrefslogtreecommitdiff
path: root/55/CH6/EX6.15
diff options
context:
space:
mode:
Diffstat (limited to '55/CH6/EX6.15')
-rwxr-xr-x55/CH6/EX6.15/6ex15.sci6
1 files changed, 6 insertions, 0 deletions
diff --git a/55/CH6/EX6.15/6ex15.sci b/55/CH6/EX6.15/6ex15.sci
new file mode 100755
index 000000000..d88badf97
--- /dev/null
+++ b/55/CH6/EX6.15/6ex15.sci
@@ -0,0 +1,6 @@
+p=12; //total number of students
+t=3; //number of teams or partition
+disp('each partition of the students can be arranged in 3! ways as an ordered partition')
+r=factorial(12)/(factorial(4)*factorial(4)*factorial(4)) //number of ordered partitions
+m=r/factorial(t); //number of unordered partitions
+disp(m,'number of ways that 12 students can be partitioned into three teams so that each team consists of 4 students') \ No newline at end of file