I am getting an error when I run this code for disc waves. The code is attached. The Error is in line 137 and 292. Please help in resolving issue.
function waves