6. Write a user-defined MATLAB function that determines the area of a triangle when the lengths of the sides are given. For the function name and arguments use [Area] =triangle (a, b,c). Use the function to determine the areas of triangles with the following sides: (a) a= 3, b = 8, c = 10. (b) a=7, b = 7, c = 5.

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter3: Functions And Graphs
Section3.5: Graphs Of Functions
Problem 34E
icon
Related questions
Question
6. Write a user-defined MATLAB function that determines the area of a triangle
when the lengths of the sides are given. For the function name and arguments
use [Area] =triangle (a,b,c). Use the function to determine the areas
of triangles with the following sides:
(a) a= 3, b = 8, c = 10.
(b) a=7, b=7, c = 5.
Transcribed Image Text:6. Write a user-defined MATLAB function that determines the area of a triangle when the lengths of the sides are given. For the function name and arguments use [Area] =triangle (a,b,c). Use the function to determine the areas of triangles with the following sides: (a) a= 3, b = 8, c = 10. (b) a=7, b=7, c = 5.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
College Algebra
College Algebra
Algebra
ISBN:
9781337282291
Author:
Ron Larson
Publisher:
Cengage Learning
Holt Mcdougal Larson Pre-algebra: Student Edition…
Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL