Programming practice

2x2 linear solve — Chapter 4

Fix the determinant formula and singularity check.

Language: PHP

Student code

Feedback

Corrected code