Now that issue is solved you were right! But I do not understand y does it print nan at Screenshot (1230)965×603 14.5 KB iteration