Find the area of a triangle - MATLAB Cody - MATLAB Central

Problem 42742. Find the area of a triangle

Difficulty:Rate

Given a triangle with a base b and height h, return the triangle area.

Solution Stats

92.0% Correct | 8.0% Incorrect
Last Solution submitted on Jul 09, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers477

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!