In the first week of the course, Professor Heap went over the basics of set theory which are the basic fundamentals of Mathematical reasoning in Computer Science. We were introduced to the method of solving Mathematical problems which is common in both Computer Science and Mathematics. Firstly we must understand the problem at hand and analyse the situation thoroughly. We must be able to familiarise ourselves with any relevant given values and understand which variable we are required to find. In order to make the problem simpler, one must restrict the language and therefore strive for clarity. This therefore, allows us to reach precision in our answer. Next, one must be able to generate an effective plan to tackle the problem at hand. The plan must include ways in which we can use given values in the question to carry out a series of steps to generate an answer. Next, we must carry out the plan in order to find our solution. The final step, allows us to review our answer to match with the accepted answer. If such solution matches, we can conclude that our answer is correct, otherwise we must check our plan to verify there we had gone wrong. We therefore practiced this procedure on numerous problems, many involving Python code. I found this part of the lesson particularly useful as it gave me a headstart into problem solving in Mathematics. It also allowed me to find the relationship of this to Mathematics. Further on this week, we learnt about representing sets in diagrams which allowed me to understand how sets are represented in graphical form. This also appeared in our tutorial exercise which I found fairly straightforward to understand.
In the second week, we learnt about implications, converses and contrapositives. An implication is relates to a cause and effect, or in mathematical terms P(x) -> Q(x). This is mainly found in conditional statements. The opposite of this is known as the converse, which is mainly known as Q(x) -> P(x). Furthermore, the contrapositive is known as not(P(x)) -> not(Q(x)). I have found this section of the course particularly challenging but hope to reach full understanding of the course material by the end of this week. However, due to the rigour of the material, this part of the course was by far the most enjoyable in CSC165
No comments:
Post a Comment