[ ]
(3)X 2 + 2 X + 5 = 0 X 1 = – 1 + 2 i , X 2 = – 1 – 2 i
[ ]
1 [ ] 2 [ ] 5
[ ]
[ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
Example 56
Create a program to generate a common difference sequence ( A : First item, D : common difference, N : number )
Sum : S ( N ) = A+(A+D)+(A+2D)+(A+3D)+...
=
Nth item : A ( N ) = A + ( N – 1 ) D