aha! thanks that did it.... I understand what they wanted now...<br><br> <br>
Travis Stanley<br><br><br><blockquote><hr>Date: Tue, 8 Jan 2008 23:13:38 -0500<br>From: firstname.lastname@example.org<br>To: email@example.com<br>Subject: Re: [plt-scheme] Help: Uber newb<br>CC: firstname.lastname@example.org<br><br>Oh...it's not largest to smallest. You're supposed to create a 3-digit number in the reverse order. (convert3 5 4 2) should give you the number 245. Most significant means that the 2 is worth 2 hundreds, whereas the 5 is only worth 5 ones.
<br><br>And I actually think the algebra hint is a bit of a red herring, although it does give you a clue that the solution is arithmetic.<br><br>Todd<br><br><div class="EC_gmail_quote">On Jan 8, 2008 11:09 PM, William Stanley <
<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:<br><blockquote class="EC_gmail_quote" style="padding-left: 1ex;">
Sorry, I should have clarified this exercise is 2.2.4 from <a href="http://www.htdp.org" target="_blank">www.htdp.org</a><br><br>I
have had no trouble with previous or later exercises and as I am trying
to muddle my way through the text on my lonesome I have no way to
easily check my work other then the "yup that works" method... and
saddly I have no knowledge of an algebra function that does what this
exercise asks... take 3 numbers and spit it out in order of largest to
smallest ie 1 2 3 = 321 (hell the only reason I know algebra is the
place to look is cause of that darned hint: "Use an algebra book to
find out how such a conversion works."<br><br>Thanks for the quick replies btw... <br>
Travis Stanley<br><br>> From: <a href="mailto:email@example.com">firstname.lastname@example.org</a><br>> Subject: Re: [plt-scheme] Help: Uber newb<br>> Date: Tue, 8 Jan 2008 19:23:36 -0800<br>
> To: <a href="mailto:email@example.com">firstname.lastname@example.org</a><br>> CC: <a href="mailto:email@example.com">firstname.lastname@example.org</a><div><div></div><div class="EC_Wj3C7c">
<br>> <br>> <br>> On Jan 8, 2008, at 7:08 PM, William Stanley wrote:<br>> <br>> > Exercise 2.2.4. Define the program convert3. It consumes three <br>> > digits, starting with the least significant digit, followed by the
<br>> > next most significant one, and so on. The program produces the <br>> > corresponding number. For example, the expected value of<br>> > (convert3 1 2 3)<br>> > is 321. Use an algebra book to find out how such a conversion works.
<br>> ><br>> ><br>> > Okay I had gone past this exercise but as I couldn't figure it out <br>> > it was bugging me... and I must say its been a while since I <br>> > regularly used algebra but after racking my brain for a while and
<br>> > googling for even longer I throw myself at your mercy... I am sure <br>> > it is rather simple but I am stumped... sometimes I wish I could <br>> > peek at those answers... even just to see if I got it right.
<br>> ><br>> ><br>> > Travis Stanley<br>> <br>> <br>> I hate to be the design-recipe-bot, but... have you tried following <br>> the design recipe? What are the examples you came up with? Are
<br>> there simple examples that you know how to do?<br>> <br>> John Clements<br>> <br><br></div></div><div class="EC_WgoR0d"><hr>Books, DVD's, gadgets, music and more. <a href="http://shopping.sympatico.msn.ca/content/shp/?ctid=8338,ptnrid=176,ptnrdata=1761116&tcode=HolidayGuide" target="_blank">
Shop online with Sympatico / MSN Shopping today!</a></div></div><div class="EC_WgoR0d">
</div><br>_________________________________________________<br> For list-related administrative tasks:<br> <a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme" target="_blank">http://list.cs.brown.edu/mailman/listinfo/plt-scheme
</blockquote><br /><hr />Your chance to win great prizes with TELUS and Windows Live Messenger for Mobile. <a href='http://www.telusmobility.com/on/wweb/instant_messaging.shtml' target='_new'>Click here for more information!</a></body>