Cody

Solution 786469

Submitted on 30 Nov 2015 by Jean-Marie Sainthillier
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))

ans = 0 ans = 0 y_correct = 1

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

ans = 0 ans = 0 y_correct = 1