Operation error in problem definition

Thanks @prj
I was looking for such examples with coding.

  • It has quality contents and helpful for me.

I’ll inform you after getting my code fixed with my model equation.