Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please perform the following task. I can\'t seem to pass both assessments at the

ID: 3884127 • Letter: P

Question

Please perform the following task. I can't seem to pass both assessments at the same time. Thanks!! Plus x: A first function Assign y with 5 plus x. Ex: If x is 2, then y is 7. ltf x is 19, then y is 24 Note: Some chailenge activities require completing a function (as above), or writing a new function. You can create test calls to the function in the "Run Your Solution" window, then press "Run. Try appending this call to that window: Increase Value(9) When done wiriting and testing your function, press "Submit for Assessment, which will automatically apply various test calls to your tunction Your Function Save Creset MATLAB Documentation function y Increasevalue(x) % x: user defined value that is added to s % Modify the line below to y-s + x 7 end Code to call your function Reset 1 Increasevalue(2)

Explanation / Answer

You need tio change line 5 as y= 5+x

then click save and click submit

after changing the line 5 your code look like this:-

function y= IncreaseValue(x)

%x: user defined value that is addeed to 5

% Modify the line below to y = 5 + x

y=5+x;

end