Write an algorithm to find area of a triangle when 3 sides are given
Answers
Answered by
45
heya dear!!
at=area of triangle
b=Bredth ,h=height.
Formula=0.5×b×h.
Algorithm:
-Step 1:-Start.
Step 2:-Declare at,b,has float.
Step 3:-Initialize value of b and h.
Step 4:-Calculate at 0.5×b×h.
Step 5:-print area of triangle .
Step 6:-End.
Make a flowchart with the help of algorithm.
☆
at=area of triangle
b=Bredth ,h=height.
Formula=0.5×b×h.
Algorithm:
-Step 1:-Start.
Step 2:-Declare at,b,has float.
Step 3:-Initialize value of b and h.
Step 4:-Calculate at 0.5×b×h.
Step 5:-print area of triangle .
Step 6:-End.
Make a flowchart with the help of algorithm.
☆
Answered by
30
Answer:
Given: E sides of triangle
To write Algorithm to find area of triangle
Step 1: Mark all given sides as a , b , c
Step 2: Find Semi perimeter of triangle , s
i.e.,
Step 3: Now, just put these value in the following formula,
This Formula is Heron's Formula.
Similar questions
Math,
6 months ago
Social Sciences,
6 months ago
Math,
1 year ago
Math,
1 year ago
Biology,
1 year ago