On 9/2/2021 8:02 PM, Chris M. Thomasson wrote:
> On 9/2/2021 7:44 PM, Chris M. Thomasson wrote:
>> On 9/2/2021 7:29 PM, Mr Sawat Layuheem wrote:
>>>
https://www.facebook.com/photo/?fbid=2020150054806642&set=a.397252653763065
>>>
>>
>> Afaict, that boils down to:
>>
>> x^2 + 1 = 2
>>
>> Therefore the two solutions are x = -1 and x = 1
>
> Actually I got no solution so far. Afaict you tried to give a complex
> solution i1 and -i1. i1 does not work, and neither does -i1 for x:
>
> {
> ct_complex x = { 0, 1 };
>
> ct_complex l = x * x + 1.;
> ct_complex r = (x + 1.) / (x + 1.) + (x - 1.) / (x - 1.);
>
> std::cout << l << "\n" << r << "\n";
> }
>
>
> (0,0) does not equal (2,0)
>
>
> {
> ct_complex x = { 1, 0 };
>
> ct_complex l = x * x + 1.;
> ct_complex r = (x + 1.) / (x + 1.) + (x - 1.) / (x - 1.);
>
> std::cout << l << "\n" << r << "\n";
> }
>
>
> (0,0) does not equal (2,0)