Hi, I’m trying to accomplish week 3 lab.
exercise 5 is pretty straightforward copy-paste task, what could be wrong…
(Solution code removed, as posting it publicly is against the honour code of this community, regardless if it is correct or not. You can share the errors you get)
but test shows that I missed something
final cost value is very close (0.001 diff), so all looking good, but inspection of test function shows 2 hardcoded values
and they’re completely off…
I understand that error must be from my side, since this exercise was finished thousands times by other students. But I spent nearly 3 hours without success
same problem in ex 6, just slight difference in values, but probably huge in test case