I want to run this function so I can test with any number
function[Young,TotalPerimeter] = YoungJay(Width, Area) %line 1
Young=(Area/Width)-0.25; %line3
TotalPerimeter= 2*((Area/Width)-0.25)+Width+sqrt(2)*Width;end
error message on command window
Not enough input arguments.
Error in YoungJay (line 3)
Young=(Area/Width)-0.25;
Best Answer