- Write a MATLAB script that computes thesurface area of a function ( , ) over a rectangular boundary onthe – plane. Do this by segmenting the square grid intotriangles, then sum the area of the triangular surface. Also,calculate and plot the normal vectors on the surface. The vectorshould be computed for each triangular surface.
Solution
Note : There is no MATLAB function whichcalculates surface area of the surface directly over anyplane.However,it can be
calculated by splitting the rectangular or square grids intotriangular pieces and adding them together.
Solution : If the coordinates of the verticesof triangle in three-dimensional space
OR
OR