Question: We need to create a script file greatestval that finds the greatest value of n E N such that 3n4 + 2n2 + 10 S

We need to create a script file "greatestval that finds the greatest value of n E N such that 3n4 + 2n2 + 10 S 1000. 1. Which command from the following is correct at the beginning of the program: a. function [value]='greatestval'(n) b. function greatestval c. function value= greatestval [n] d. function [n]=greatestval 2. The greatest value of n for the function will be: a. 16 b. 4 c. 8 d. None of the above 3. To print the answer on the command window, we use: a. disp(the answer is %d , value); b. fprintf("the answer is',value); c. fprintf(the answer is %d , value); d. disp(the answer is equal to 'value")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
