Determinan

mail@pastecode.io avatar
unknown
php
2 years ago
260 B
8
Indexable
Never
<?php
    $matris1 = [
        [1,  2],
        [3,  4]
    ];
    
    $Determinan = ( $matris1 [0][0] * $matris1 [1][1] ) - ( $matris1 [0][1] * $matris1 [1][0] ) ;
    echo " Determinan is : " ;
    echo $Determinan ;
    echo PHP_EOL ;
    ?>