Solution provided in book is wrong


The solution of one numerical is wrong as the author has used diameter instead of radius.
Should I correct it in my code or should I code for what is written knowing that provided solution is wrong.

Parvesh Taneja
B-Tech (M.E 2013-16), SoE
GD Goenka University, Gurgaon.

Scilab 06-01-16, 4:40 a.m. taneja
Use radius in solution and mention the reason as comment in the Scilab code.
06-01-16, 9:50 a.m. Lavita

Log-in to answer to this question.