Hmm, MarginVal does not seem to work:
Error in 'line 135:
'MarginVal' undeclared identifier
< plot("MiU2",MarginVal,1,BLACK);
>.

By the way, where is that search function jcl mentioned?