Ask your own question, for FREE!
Mathematics 9 Online
OpenStudy (anonymous):

Develop a method for computing \[a^x\]when \[0 \leq x < 1\] using only shifting, addition, and subtraction, similar to the following method used for division in computer hardware: y := 0, z := x >> 1, k := 1; L2: if x = 1 then STOP; if x - z < 1 then do z := z >> 1; k := k + 1; while x - z < 1; x := x - z; z := x >> k; y := y + log_a(2^k/(2^k - 1)); GOTO L2

OpenStudy (anonymous):

oops it's not used for division; it's used for computing logarithms :-P

OpenStudy (anonymous):

oh and >> is bitwise right-shift.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!