You create the below function in MATLAB and try to run it fr…

You create the below function in MATLAB and try to run it from the Script Editor (by hitting the “Run” button). You get an error message saying “Not enough input values”. What do you need to do to get it to actually run? function z = Lawnmower(x,t)       z=1/2*x^2 – x*t + 1; end

What will the final value of sales_tax be if the user enters…

What will the final value of sales_tax be if the user enters 100 as the sales amount in the following code (assume it is part of a program that otherwise compiles and runs): double sales, taxRate = 0.085;int sales_tax; cout sales; sales_tax = sales * taxRate;  

Correct the following code (and the function definition) so…

Correct the following code (and the function definition) so that it calls a function named calculateAreaTriangle and returns the correct area value (remember the area is one half the base times the height of the triangle): int Main(){ double area, base, height;cout>”Enter the base: “cin>”Enter the height: “;cin