Can someone write a script for this problem?
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
Write a script that requests for the coordinates of a triangles vertices and returns the following properties: a. Perimeter b. Area c. The length of the sides(a,b,c) and its opposite angle(A,B,C) in degrees
댓글 수: 0
답변 (2개)
Image Analyst
2022년 2월 4일
0 개 추천
You say "I am having a hard time writing a script."
These links may help you advance your skills:
댓글 수: 0
KSSV
2022년 2월 4일
0 개 추천
- To request the input, use function input. Read about it.
- To calculate the distance you need to use Euclidean distance formula.
- After fidning distance/ lenght of each side, you can get perimeter easily.
- Area you have Heron's formula.
- To find the angles read about atan.
It is your Home Work you have to do,
댓글 수: 0
이 질문은 마감되었습니다.
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!