# [closed] Unit 5 video 5 Path Smoothing - are smoothing equations right?

 0 In the video the smoothing equations are: However in the code Andy gives for the solution (and code people have posted in the forum) the code is adding the altered values: Notice those newpath += expressions Is the video wrong then should those equations be: yi = yi + alpha(xi - yi) yi = yi + beta(yi+1 + yi-1 - 2yi)  Notice the + and not minus signs! asked 19 Mar '12, 08:50 bhrgunatha 373 471●1●4●15 accept rate: 33%

### The question has been closed for the following reason "Problem is outdated" by bhrgunatha 373 19 Mar '12, 10:12

 0 Yes, if you watch the video to the end, there is an addition where Andy corrects those and gives some hint on the solution. That is to say: the correct version is with the + sign answered 19 Mar '12, 08:53 Anna-Chiara ... 5.2k●10●31●75
 0 Yes, and in the end of that video Andy said exactly that - that there are errors and what the correct formulas are. How did you manage to miss that ? :-) answered 19 Mar '12, 08:54 Gundega ♦♦ 44.1k●70●170●315 1 I download the video from youtube, so I can watch them offline. The version I downloaded this morning didn't have Andy's comments, they must have re-uploaded that video. (19 Mar '12, 09:47) bhrgunatha 373 @bhrgunatha aah, that explains it!. They must have fixed it in the last moment (or actually after that). Can you close the question, as it's not relevant anymore, please? (19 Mar '12, 09:49) Gundega ♦♦

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "Title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported

×5,188
×2,217
×577
×81