Cambridge Chat (previously New Cambridge Students Entry 2004)

Watch
This discussion is closed.
Willa
Badges: 9
Rep:
?
#11041
Report 15 years ago
#11041
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!
0
Camford
Badges: 12
Rep:
?
#11042
Report 15 years ago
#11042
You are much better than me when it comes to cook curry...
0
Immortal Wombat
Badges: 0
Rep:
?
#11043
Report 15 years ago
#11043
(Original post by 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.
0
Willa
Badges: 9
Rep:
?
#11044
Report 15 years ago
#11044
i'm hopeless at this discrete maths stuff...how do i go about formulating an equation for the sum of first n cubes?
0
Camford
Badges: 12
Rep:
?
#11045
Report 15 years ago
#11045
look it up some where?
0
Camford
Badges: 12
Rep:
?
#11046
Report 15 years ago
#11046
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.
0
Willa
Badges: 9
Rep:
?
#11047
Report 15 years ago
#11047
no i dont want to cheat...i cant look it up in an exam!
0
MadNatSci
Badges: 12
Rep:
?
#11048
Report 15 years ago
#11048
Aaaaaaaaaaaaaaaaaaaaaagh have to give presentation on colour processing in the visual system and I don't understand it at all I can say all the words but I've no idea what they mean - bah, stupid stupid neuro 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...
0
crana9
Badges: 2
Rep:
?
#11049
Report 15 years ago
#11049
(Original post by Willa)
no i dont want to cheat...i cant look it up in an exam!
Haha, we can.
0
Camford
Badges: 12
Rep:
?
#11050
Report 15 years ago
#11050
(Original post by 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!
0
Willa
Badges: 9
Rep:
?
#11051
Report 15 years ago
#11051
n=5 isnt a square is it?
0
Camford
Badges: 12
Rep:
?
#11052
Report 15 years ago
#11052
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.
0
Willa
Badges: 9
Rep:
?
#11053
Report 15 years ago
#11053
oh yeah you're right...i'm an idiot with my calculator
0
Camford
Badges: 12
Rep:
?
#11054
Report 15 years ago
#11054
(Original post by 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.
0
KHL
Badges: 0
Rep:
?
#11055
Report 15 years ago
#11055
(Original post by MadNatSci)
Aaaaaaaaaaaaaaaaaaaaaagh have to give presentation on colour processing in the visual system and I don't understand it at all I can say all the words but I've no idea what they mean - bah, stupid stupid neuro 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:
0
MadNatSci
Badges: 12
Rep:
?
#11056
Report 15 years ago
#11056
Go priya go!!!

hehehehehehehehehehehe
0
MadNatSci
Badges: 12
Rep:
?
#11057
Report 15 years ago
#11057
(Original post by 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
0
khil
Badges: 13
Rep:
?
#11058
Report 15 years ago
#11058
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 Hmm I wonder what happens in the brain when someone's colour blind?? :confused:

MadNatSci hope your presentation goes well!
0
MadNatSci
Badges: 12
Rep:
?
#11059
Report 15 years ago
#11059
Thanks I survived, anyway. Although the rest of my supervision group are now aware that I'm thick Ah well, had to happen at some point!
0
khil
Badges: 13
Rep:
?
#11060
Report 15 years ago
#11060
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!!! - ahh I hope I survive my interviews, my first one is next week at Bristol eeeeek :eek:
0
X
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

If you're planning on going to uni this year, would any of these financial reasons stop you?

Not being able to work now to save up for uni (92)
13.96%
Reduced household income due to coronavirus means I can't afford to go (54)
8.19%
Lack of part-time jobs to support me while I'm at uni (84)
12.75%
Lack of graduate job prospects when I finish uni (79)
11.99%
Other reasons are stopping me going (84)
12.75%
Nothing is stopping me going (266)
40.36%

Watched Threads

View All