Saturday, 13 October 2012

Term Test Complete!

Hello,

So the term test is done and it was very straight forward. I think I have this induction thing down.

The next topic looks to be a bit more challenging. Seeing as I haven't seen big-oh in 4 years. I think I'll pick it up as I go and it is slowly coming back to me.

Looking at the floor and ceiling stuff will be need a bit of a refresher. I seem to remember that floor(x) > x - 1 and ceil(x) < x+1. I seem to remember learning that in CSC165 many moons ago. Also floor(x) <= x and ceil(x) >= x.

The definitions of ceil and floor are:

ceil(x) = :
x  if x is an integer
x + (1 - (x mod 1)   otherwise

and floor(x) = :
x if x is an integer
x - (x mod 1)  otherwise.

It seems that last class suggests I should figure out some properties of these operators beyond that.

So long,

Wendy

No comments:

Post a Comment