Great Problem
xd
function A = isocelesArea(x,y)
u=(2*x+y)/2;
A = sqrt(u*(u-x)^2*(u-y));
end
It takes me three times......
Use Pythagoreans theorem
Matrix indexing with two vectors of indices
497 Solvers
Check if number exists in vector
5045 Solvers
Given a matrix, swap the 2nd & 3rd columns
546 Solvers
Remove element(s) from cell array
423 Solvers
Side of an equilateral triangle
2869 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!