gistlib
main.m% Define the first function f1 = @(x) 2*x + 1; % Define the second function f2 = @(x) 3*x - 2; % Multiply the coefficients coefficients_product = (2 * 3); % Multiply the two functions together result_function = @(x) (2*x + 1) * (3*x - 2); 242 chars12 lines
% Define the first function f1 = @(x) 2*x + 1; % Define the second function f2 = @(x) 3*x - 2; % Multiply the coefficients coefficients_product = (2 * 3); % Multiply the two functions together result_function = @(x) (2*x + 1) * (3*x - 2);
gistlibby LogSnag