irbyr

4 Reputation

2 Badges

12 years, 134 days

MaplePrimes Activity


These are questions asked by irbyr

I'm taking a Maple course and I cannot figure out how to convert from a number to binary (without using the convert(#,binary)). So far I have toBinary:= proc(x::posint) local n, k; n:=x; k:=0; while n > 0 do k:= and I'm not sure where to go from here. I know that I need to find the remainders and decrease my n and then put it into a list and then concatinate in the reverse order. Can someone help me out? Thanks Rachel
Page 1 of 1