function surfaceArea = surfaceBalloon(Volume,M)
radius = sqrt((3*Volume)/((pi)(2+M)));
surfaceArea = pi*(radius)^2(2+sqrt(1+(M)^2);
Error in solution: Line: 2 Column: 36
Invalid expression. When calling a function or indexing a
What am I doing wrong? I thought you only use dot operators when multiplying, dividing, or raising to a power with another array. These are just being multiplied/raised by scalar values.
variable, use parentheses. Otherwise, check for mismatched delimiters.