3. In the following code, convert lines 2 to 4 into an in-script function and call it properly in the script. Name the f
Posted: Mon Jun 06, 2022 1:18 pm
3. In the following code, convert lines 2 to 4 into an in-script function and call it properly in the script. Name the function as "converted". The input will be x and the output should be identical to x3. Please include the final, complete code in the submission (3 points). X = magic (10) +20; x1 = x*2+10; x2 = x1.^2 -2; x3 = x2. ^0.5 +10;