Implement the second function that appears in Franke's[^Franke1979] report. In the report, six two-dimensional functions were used (four were adapted from another paper). This function is adapted from McLain's paper[^McLain1974], specifically the function "S5".
[^Franke1979]: Richard Franke, A critical comparison of some methods for interpolation of scattered data, Technical Report No. NPS53-79-003, Naval Postgraduate School, Monterey, Canada, 1979. URL.
[^McLain1974]: D. H. McLain, Drawing contours from arbitrary data points, The Computer Journal, vol. 17, no. 4, pp. 318-324, 1974. DOI: 10.1093/comjnl/17.4.318
Implement the second function that appears in Franke's[^Franke1979] report. In the report, six two-dimensional functions were used (four were adapted from another paper). This function is adapted from McLain's paper[^McLain1974], specifically the function "S5".
[^Franke1979]: Richard Franke, A critical comparison of some methods for interpolation of scattered data, Technical Report No. NPS53-79-003, Naval Postgraduate School, Monterey, Canada, 1979. URL. [^McLain1974]: D. H. McLain, Drawing contours from arbitrary data points, The Computer Journal, vol. 17, no. 4, pp. 318-324, 1974. DOI: 10.1093/comjnl/17.4.318