Php Code for Cartesian Equation of a Plane

This php programming code is used to find the cartesian equation of a plane. You can select the whole php code by clicking the select option and can use it. When you click text, the code will be changed to text format. This php program code will be opened in a new pop up window once you click pop-up from the right corner. You can just copy, paste this php code and use it to find the cartesian equation of a plane.

<?php 
     $a=0;$b=0;$c=0;$d=0;
     $a1=2;$a2=-2;$a3=-2;$b1=3;$b2=4;$b3=-1;$c1=4;$c2=8;$c3=4;
     $a =($b2-$a2)*($c3-$a3)-($c2-$a2)*($b3-$a3);
     $b =($b3-$a3)*($c1-$a1)-($c3-$a3)*($b1-$a1);
     $c =($b1-$a1)*($c2-$a2)-($c1-$a1)*($b2-$a2); 
     $d =-($a*$a1+$b*$a2+$c*$a3); 
     echo sprintf("Equation of the plane(given three points) %f x+ %f y+ %f z+ %f = 0",$a,$b,$c,$d);
?>
Other Programming Codes
Online Calculator : Cartesian Equation of a Plane
Click on the select code link to copy and paste this free php program code for cartesian equation of a plane.

english Calculators and Converters


Sitemap