Test  Status  Code Input and Output 

1  Pass 
x = 1;
[c,s] = infinite_series(x);
c_correct = 0.3800580037051224; s_correct = 0.3845865774434312;
assert(abs(cc_correct)<50*eps & abs(ss_correct)<50*eps)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In infinite_series (line 2)
In ScoringEngineTestPoint1 (line 2)
In solutionTest (line 3)]

2  Pass 
x = exp(1);
[c,s] = infinite_series(x);
c_correct = 0.2832904461013926; s_correct = 0.2693088098978689;
assert(abs(cc_correct)<50*eps & abs(ss_correct)<50*eps)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In infinite_series (line 2)
In ScoringEngineTestPoint2 (line 2)
In solutionTest (line 5)]

3  Pass 
x = sqrt(3);
[c,s] = infinite_series(x);
c_correct = 0.3675627321761342; s_correct = 0.2464611942058812;
assert(abs(cc_correct)<50*eps & abs(ss_correct)<50*eps)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In infinite_series (line 2)
In ScoringEngineTestPoint3 (line 2)
In solutionTest (line 7)]

4  Pass 
x = 0.001;
[c,s] = infinite_series(x);
c_correct = 0.9984257500575904; s_correct = 0.0079069688545917;
assert(abs(cc_correct)<50*eps & abs(ss_correct)<50*eps)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In infinite_series (line 2)
In ScoringEngineTestPoint4 (line 2)
In solutionTest (line 9)]

5  Pass 
x = pi/4;
[c,s] = infinite_series(x);
c_correct = 0.2042534159513846; s_correct = 0.5511304391316155;
assert(abs(cc_correct)<50*eps & abs(ss_correct)<50*eps)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In infinite_series (line 2)
In ScoringEngineTestPoint5 (line 2)
In solutionTest (line 11)]

6  Pass 
x = 0.0263;
[c,s] = infinite_series(x);
c_correct = 0.9574346130196565; s_correct = 0.1214323234202421;
assert(abs(cc_correct)<50*eps & abs(ss_correct)<50*eps)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In infinite_series (line 2)
In ScoringEngineTestPoint6 (line 2)
In solutionTest (line 13)]

7  Pass 
x = 6.273;
[c,s] = infinite_series(x);
c_correct = 0.9837633160098646; s_correct = 0.0568212139709541;
assert(abs(cc_correct)<50*eps & abs(ss_correct)<50*eps)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In infinite_series (line 2)
In ScoringEngineTestPoint7 (line 2)
In solutionTest (line 15)]

8  Pass 
x = 31/7;
[c,s] = infinite_series(x);
c_correct = 0.2961416175321223; s_correct = 0.3148962998550185;
assert(abs(cc_correct)<50*eps & abs(ss_correct)<50*eps)
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In infinite_series (line 2)
In ScoringEngineTestPoint8 (line 2)
In solutionTest (line 17)]

Back to basics 3  Temp Directory
307 Solvers
Back to basics 9  Indexed References
405 Solvers
Back to basics 17  white space
233 Solvers
Implement a bubble sort technique and output the number of swaps required
126 Solvers
convert matrix to single column
275 Solvers