Cody

Solution 769905

Submitted on 2 Nov 2015 by Gareth Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
%% a = 1; b = 2; c = 1; y_correct = -1; y_correct = -1; assert(isequal(your_fcn_name(x),y_correct))

2   Pass
%% a = 9; b = 42; c = 5; y_correct = -0.22005; y_correct = -8.17995; assert(isequal(roots(x),y_correct))