Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: "Programming With Mathematica" Exercise help

  • To: mathgroup at smc.vnet.net
  • Subject: [mg130474] Re: "Programming With Mathematica" Exercise help
  • From: plank.in.sequim at gmail.com
  • Date: Sat, 13 Apr 2013 20:37:34 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <kk5r6r$ric$1@smc.vnet.net> <kk88qc$c0n$1@smc.vnet.net>

On Thursday, April 11, 2013 11:15:40 PM UTC-7, drall... at gmail.com wrote:
> Darrell,
>
>
>
>      I have an older version of the text, and I believe the question is poorly worded.  When you see Mr. Wellin's expected answer you will realize what he was really asking.  Here's his answer at the back of the older text.
>
>
>
> Clear[z,a];
>
> Hold[z=11];
>
> a=9;
>
> z+3/.z->a
>
>
>
> Don't forget Mathematica Stackexchange - there is alot of good stuff there to learn Mathematica. (http://mathematica.stackexchange.com/)
>
>
>
> Todd

I just want to make sure I understand this.  It's essentially negating the effect of the original assignment to z, correct?  That's an interesting solution but it kind of seems like "solving" it by putting it in comments.  I guess if that's his answer - well, it's just not the answer I would have marked as correct.  Anyway, it's interesting to see his answer from an earlier edition.  Thanks!



  • Prev by Date: Re: "Programming With Mathematica" Exercise help
  • Next by Date: Re: Arranging disks (or any object for that matter) be
  • Previous by thread: Re: "Programming With Mathematica" Exercise help
  • Next by thread: Running an external program inside a Do loop