Brain Teaser Solver - MATLAB Cody - MATLAB Central

Problem 44267. Brain Teaser Solver

Difficulty:Rate

Write an algorithm to solve this brain teaser:

You have a square that is broken into four triangles, the area of three of those triangles is given. You must determine the area of the center triangle. Your function will take in 3 arguments A, B, and C. Below is an image of this problem, in this example A = 4, B = 3, and C = 2.

Solution Stats

47.56% Correct | 52.44% Incorrect
Last Solution submitted on May 13, 2024

Problem Comments

Solution Comments

Show comments
Who Deserves Your Praise? Discover the New Contribution Widget!
...
We are excited to announce another update to our Discussions area: the...

Problem Recent Solvers28

Suggested Problems

More from this Author2

Community Treasure Hunt

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

Start Hunting!
Go to top of page