#ATTENDANCE QUIZ FOR LECTURE 2 of Dr. Z.'s Math454(02) Rutgers University # Please Edit this .txt page with Answers #Email ShaloshBEkhad@gmail.com #Subject: p2 #with an attachment called #p2FirstLast.txt #(e.g. p2DoronZeilberger.txt) #Right after finishing watching the Second lecture but no later than Friday, Sept. 11, 2020, 8:00pm Q1. THE FIRST ATTENDANCE QUESTION WAS: #Let a:=FIRST DIGIT of your RUID #Let b:=SECOND DIGIT of your RUID #Let c:=FIFTH DIGIT of your RUID #Let d:=SIXTH DIGIT of your RUID #HOW MANY WALKS IN MANHATTAN ARE THERE (NOT USING BDWAY) #From CORNER of min(a,b) St. and min(c,d) AVE #to CORNER of max(a,b) St. and max(c,d) Ave. #Walking in positive direaction A1. MY ANSWER TO THE FIRST ATTENDANCE QUESTION IS: #Given my RUID as 197005262, a:=1; b:=9; c:=0; d:=5 #Using the parameters, questions is now: from corner of 1 st. and 0 ave to corner of 9 st. and 5 ave. #This statement is equivalent to number of walks from [0,0] to [9-1,5-0] So, F(8,5) = 1287 Q2. THE SECOND ATTENDANCE QUESTION WAS: #Consider your RUID as a word of Length 9 in the 10-letter "alphabet" {0,1,2,3, ...,9} #How many ways to reaarange your RUID? A2. MY ANSWER TO THE SECOND ATTENDANCE QUESTION IS: #Given my RUID as 197005262; #number of 1=1; number of 2=2;number of 5=1;number of 6=1;number of 7=1;number of 9=1; number of 0=2; F:=[1,2,1,1,1,1,2] NuW(F):= 90720