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.4: Definition Of Function
Problem 58E
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 (MindTap Course List)
College Algebra (MindTap Course List)
Algebra
ISBN:
9781305652231
Author:
R. David Gustafson, Jeff Hughes
Publisher:
Cengage Learning
Trigonometry (MindTap Course List)
Trigonometry (MindTap Course List)
Trigonometry
ISBN:
9781337278461
Author:
Ron Larson
Publisher:
Cengage Learning
College Algebra
College Algebra
Algebra
ISBN:
9781337282291
Author:
Ron Larson
Publisher:
Cengage Learning
College Algebra
College Algebra
Algebra
ISBN:
9781938168383
Author:
Jay Abramson
Publisher:
OpenStax
Elementary Geometry For College Students, 7e
Elementary Geometry For College Students, 7e
Geometry
ISBN:
9781337614085
Author:
Alexander, Daniel C.; Koeberlein, Geralyn M.
Publisher:
Cengage,