I couldn't resist responding to happy chance...;P Not my own creation, but you don't need to know too about complex numbers to solve it, just the basic definition of i =sqrt(-1) should suffice.
So the straightforward method of computing the product (a+bi)(c+di) = (ac-bd)+i(bc+ad) requires four (real) multiplications and two additions. However, most computers require a significantly more time to compute multiplication than addition. Find an algorithm for computing (a+bi)(c+di) with only three multiplications.
Question
Yoruichi-san
I couldn't resist responding to happy chance...;P Not my own creation, but you don't need to know too about complex numbers to solve it, just the basic definition of i =sqrt(-1) should suffice.
So the straightforward method of computing the product (a+bi)(c+di) = (ac-bd)+i(bc+ad) requires four (real) multiplications and two additions. However, most computers require a significantly more time to compute multiplication than addition. Find an algorithm for computing (a+bi)(c+di) with only three multiplications.
Edited by rookie1jaLink to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.