Using MATLAB or Octave First step is to prompt me for inputting the three sides of the triangle, one side at a time Second step is to answer these questions using the data I typed in: Do the 3 sides...


Using MATLAB or Octave


First step is to prompt me for inputting the three sides of the triangle, one side at a time


Second step is to answer these questions using the data I typed in:



  1. Do the 3 sides form a triangle?

    • If so, state that it does form a triangle and answer the other three questions

    • If not, state that it does not form a triangle and either end the program OR tell me that the perimeter, area, and side lengths do not apply



  2. The perimeter of the triangle.  You must create afunction
    called Perimeter and call it from your program.

  3. The area of the triangle. You may answer this in the main program.  You do not need to use a function here.



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here