The Student Room Logo
This thread is closed

Cambridge Chat (previously New Cambridge Students Entry 2004)

Reply 11040
if you want to be really lame then declare the returned function in a "let" statement within the nfold function, then just return that function:

let fun p (f, n) x = p(f(f, n-1) x)
in
p (f,n)
end;

something along those lines....you figure it out!
You are much better than me when it comes to cook curry...
Willa

you want:

fun nfold(f, 0) x = x
| nfold(f, n) = f(nfold(f, n-1) x)

curry it damn it!

Hmm. Thanks Will. It's odd, 'cos I kept re-reading it, and it said a function that returns functions. It didn't occur to me that a function that returned the values would return the function if you left the last argument off. Balls.
Reply 11043
i'm hopeless at this discrete maths stuff...how do i go about formulating an equation for the sum of first n cubes?
look it up some where?
honest, discrete maths is too hard for me... I can cope with the first kind of induction, but after that... I'm all over the place with arguments.
Reply 11046
no i dont want to cheat...i cant look it up in an exam!
Aaaaaaaaaaaaaaaaaaaaaagh have to give presentation on colour processing in the visual system and I don't understand it at all :frown: I can say all the words but I've no idea what they mean - bah, stupid stupid neuro :frown: And supervision will be taken up by five (yes five!) presentations so how am I supposed to find out what it's all about?!

Medics - you didn't cover this at all by any chance, did you? Even Carpenter's book isn't helping me...
Reply 11048
Willa
no i dont want to cheat...i cant look it up in an exam!


Haha, we can.
Willa
no i dont want to cheat...i cant look it up in an exam!

See? We are doing the wrong subject.

tell you what to do. Write down the sums for n = 1 to 5. Notice that these sums are squares. Write the sums as squares. Now, notice further that these squares are in fact squares of triangle numbers. Now you have the formula. Now go and prove it right!
Reply 11050
n=5 isnt a square is it?
I'm going to cook pasta. Then I shall bugger off to god knows which planets in the unverse to do maths. As for which maths I'll be doing? It'll be whichever one I am buggered off to.
Reply 11052
oh yeah you're right...i'm an idiot with my calculator
Willa
n=5 isnt a square is it?

FGS! n = 5 means five terms. i.e. 1 + 8 + 27 + 64 + 125 = 225 = 15^2 = (5(1+5)/2)^2.

EDIT: A ted bit late on the fingers there... obviously that's what you get after 20 minutes of mindless gaming in which millions of pixels made up pictures have been shattered. Disclaimer, no individual pixel has been violently murdered during process. It may have been harmed, but that's the TFT manufacturer's fault.
Reply 11054
MadNatSci
Aaaaaaaaaaaaaaaaaaaaaagh have to give presentation on colour processing in the visual system and I don't understand it at all :frown: I can say all the words but I've no idea what they mean - bah, stupid stupid neuro :frown: And supervision will be taken up by five (yes five!) presentations so how am I supposed to find out what it's all about?!

Medics - you didn't cover this at all by any chance, did you? Even Carpenter's book isn't helping me...


nope, i know for a fact that core neuro course for medics does not cover much on colour processing, aside from cones being of 3 separate types... i'm not so sure about neuro option (SNB) though, they might cover more...

try kandel, schwartz, et al. Principles of Neural Science. really thick, generally considered overly detailed, but if you're desperate, and there isn't any info in Carpenter... all our neuro lecturers seem to think that Kandel & Schwartz is the final word in neuro texts. :rolleyes:
Go priya go!!! :biggrin:

hehehehehehehehehehehe
KHL
nope, i know for a fact that core neuro course for medics does not cover much on colour processing, aside from cones being of 3 separate types... i'm not so sure about neuro option (SNB) though, they might cover more...

try kandel, schwartz, et al. Principles of Neural Science. really thick, generally considered overly detailed, but if you're desperate, and there isn't any info in Carpenter... all our neuro lecturers seem to think that Kandel & Schwartz is the final word in neuro texts. :rolleyes:

Awww, thanks.. I think I must be really odd, cos I don't get on very well with Carpenter's style but everyone else seems to rave about him! Kandel here I come :smile:
Reply 11057
la la la la la la la colour processing sounds... fun... :rolleyes: although more fun than all the discrete maths that's flying about in this thread :biggrin: Hmm I wonder what happens in the brain when someone's colour blind?? :confused:

MadNatSci hope your presentation goes well!
Thanks :smile: I survived, anyway. Although the rest of my supervision group are now aware that I'm thick :frown: Ah well, had to happen at some point!
Reply 11059
Aww you're not thick! Glad you survived anyway! You could be that tiger in disguise who SEEMS to do badly then come out with a first honours!!! :biggrin: - ahh I hope I survive my interviews, my first one is next week at Bristol eeeeek :eek:

Latest