Monday, 27 October 2014
csc165 week 7
The assignment two is going to due soon, this week will be the last week of my mid term, but after next week we just have another csc 165 test, this time I wont make the same mistake as last time, since more and more assignment is due after this week I better to catching up the stuff I left behind, and prepare questions that confuse in the lecture and attend to the office hours as much as I could. this term from what I can guess should be focus on the proofing process, and the form of different technique of proving. Better working hard!!!
CSC165 Week 6
Just revived the midterm test in the early week, kind of excited but turns out a lot of disappointment. I am not really happy about the marks, since I realize I made a lot of silly mistake that cause by being careless on reading the questions. But that didn't stop the motivation of learning csc 165 materials, in stead of regretting , I decide to work harder, and more enthusiastic. In this week we learning new notation its called floor, it is rare to see this notation in mathematical textbook but in computer science is seems pretty commonly use.
Monday, 13 October 2014
CSC165 week 5
This week we just finishing the midterm test, since I went to the office hours from last week, the test seems not that difficult and I actually feel kind of understanding more about what we learning so far and during the office hours I think it was real helpful, I finally can figures out some of the problem that I stuck on. For the proofing question we doing this week, I'm starting to concern about the difficulty is increasing dramatically, that means I better to work harder and attend more often to the office hours and ask questions.
Sunday, 5 October 2014
CSC165 week 4
In this week lecture we learn about the implication and dis junction, mixed quantifiers, and also learn how to reach a proof for each case. It is pretty tough for me compare to other mathematical subject but I really enjoy the process of logical thinking. There is a problem that we have to solve for this week, it is about folds a paper strip across ,and counts the order of the lines before fold it again.
Here is the data that i records during the class:
Fold times: Order:∨ means fold it down;∧ means upwards
1:∨
2:∨∨∧
3:∨∨∧∨∨∧∧
4:∨∨∧∨∨∧∧∨∨∨∧∧∨∧∧
What i find the pattern is that the under line parts :
1: ∨
2: ∨∨∧
3: ∨∨∧∨∨∧∧
4: ∨∨∧∨∨∧∧∨∨∨∧∧∨∧∧
They have relationship shows ∨∧ repeat in a specific rule, number of ∨∧ repeat = 2^(n-1), where the n is means the number of folding time. And the following pattern that is not been underlined are pattern from the previous line , for example the part is not been underlined are exactly same as the line 2 form. Therefore we can write in the Python and testing the concept:
In the Python we assuming the line_1 = ['∨', ' ','∧',' ' ], L= n * line_1 to and set the range to (1,len(line_1 * n ),2) . Now we can using L[i]=L=[i-1] in order to merger the lists, and also getting pattern as we predicted.
Here is the data that i records during the class:
Fold times: Order:∨ means fold it down;∧ means upwards
1:∨
2:∨∨∧
3:∨∨∧∨∨∧∧
4:∨∨∧∨∨∧∧∨∨∨∧∧∨∧∧
What i find the pattern is that the under line parts :
1: ∨
2: ∨∨∧
3: ∨∨∧∨∨∧∧
4: ∨∨∧∨∨∧∧∨∨∨∧∧∨∧∧
They have relationship shows ∨∧ repeat in a specific rule, number of ∨∧ repeat = 2^(n-1), where the n is means the number of folding time. And the following pattern that is not been underlined are pattern from the previous line , for example the part is not been underlined are exactly same as the line 2 form. Therefore we can write in the Python and testing the concept:
In the Python we assuming the line_1 = ['∨', ' ','∧',' ' ], L= n * line_1 to and set the range to (1,len(line_1 * n ),2) . Now we can using L[i]=L=[i-1] in order to merger the lists, and also getting pattern as we predicted.
Subscribe to:
Posts (Atom)