From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 55/CH6/EX6.3/6ex3.sci | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 55/CH6/EX6.3/6ex3.sci (limited to '55/CH6/EX6.3') diff --git a/55/CH6/EX6.3/6ex3.sci b/55/CH6/EX6.3/6ex3.sci new file mode 100755 index 000000000..11b9b7741 --- /dev/null +++ b/55/CH6/EX6.3/6ex3.sci @@ -0,0 +1,12 @@ +disp('To find: factorial of a 6') +facto2=2*1; +facto3=3*facto2 +facto4=3*facto3 +facto4=4*facto3 +facto5=5*facto4 +facto6=6*facto5 + +k=8*7*factorial(6)/factorial(6); +disp(k,'value of 8!/6! is:') +j=12*11*10*factorial(9)/factorial(9); +disp(j,'value of 12!/9! is:') \ No newline at end of file -- cgit