Question: matlab Problem 3* We need to create a script file greatestval that finds the greatest value of n EN such that 3n + 2n+ 10
matlab
Problem 3* We need to create a script file "greatestval" that finds the greatest value of n EN such that 3n" + 2n+ 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"); a b Part 1 O O O Part 2 O O O Part 3 O O O O
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
