Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLS USE MATLAB AND HAVE THE OUTPUT MATCH THE SECOND PICTURE BELOW. THANKS!! 5. The area of a triangle ABC can be calculated by where

PLS USE MATLAB AND HAVE THE OUTPUT MATCH THE SECOND PICTURE BELOW. THANKS!!

image text in transcribed

image text in transcribed

5. The area of a triangle ABC can be calculated by where AB is the vector from point A to point B and AC is the vector from point A to point C. Write a MATLAB function that determines the area of a triangle given its vertices' coordinates. For the function name and arguments use [Area] TriArea (A, B, C). The input arguments A, B, and C are vectors, each with the coordinates of the corresponding vertex Calculate the area of the triangle described by the following input parameters A= [-1.5, -4.2, -3] , B = [-5.1, 6.3, 2], C= [12 . 1 , 0, -0.5]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual Basic6 Database Programming

Authors: John W. Fronckowiak, David J. Helda

1st Edition

0764532545, 978-0764532542

More Books

Students also viewed these Databases questions