answersLogoWhite

0


Best Answer

You define a function with an return value. The return value would be the area of the triangle, and the parameters are the width/length and height of the triangle. Inside the function you would define how you would calculate the area, and then return the result.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do find area triangle usibg functions?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How you find the area of a triangle?

To find the area of a triangle, you have to multiply the base of the triangle and the height of the triangle, then divide the product of those numbers by two.


How do you find the area and perimiter of a triangle?

To find the area of a triangle find the base and the height of the triangle. Then multiply the base by the height, then divide by 2. To find the perimiter of a triangle add together the outside edge of the triangle. To find the area of a triangle find the base and the height of the triangle. Then multiply the base by the height, then divide by 2. To find the perimiter of a triangle add together the outside edge of the triangle.


How would you find out the sin tan and cos of right angle triangle?

sin, tan and cos can be defined as functions of an angle. But they are not functions of a triangle - whether it is a right angled triangle or not.


Do you have to miltiply to find the area of a triangle?

In order to find the area of a triangle, you need to multiply the base of the triangle with the height of the triangle and then halve your final answer.The formula is (Base x Height) / 2Using that, the area of a triangle can be found.Hope that helps.Jamz159


How do you find th area of triangle?

Area of a triangle = 0.5*base*perpendicular height


How do you find the perimeter of a right angled triangle using the area?

how to find the perimeter of a right angled triangle using the area


What are the rules used to find the area of a triangle?

To find the area of a triangle you - Half the base then times it by the height ! Alisha xx


Find the area of the triangle 4inch tall 3.2 base?

Find the area of the triangle 4inch tall 3.2 base


How do you find the area of a triangle given the area of the other triangle?

A= 1/2(b)(h)


How do you find the are of a triangle?

Area of a triangle = 1/2*base*height


How do you find the area of a shaded area?

This question is too vague to have an answer, but here is one.For the shaded area (pie wedge) of a circle, find the area of the circle and multiply by the ratio of the wedge angle to the entire circle (angle/360).For the shaded region of a triangle, find the area of the smaller triangle, if necessary using trig functions to define a known angle or length of a side.For other polygons, you may be able to divide the area into triangles separately, then sum their areas.


How do you find the area of a rectangle with a triangle attached to the side?

you split your shape in half, (The rectangle and the triangle), by putting a line through it and then calculate the area of the rectangle and then calculate the area of the triangle, half the area of the triangle then add the area of the triangle and the rectangle together!Then you should have your answer!