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

MathGroup Archive 2008

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

Search the Archive

Subscript Bug?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90111] Subscript Bug?
  • From: Aaron Fude <aaronfude at gmail.com>
  • Date: Sun, 29 Jun 2008 05:36:00 -0400 (EDT)

Hi,

I have this code in a cell:

Subscript[H, 1] = 110; Subscript[H, 2] = 90;
H = Subscript[H, 1] + Subscript[H, 2];
Tanh[Subscript[H, 1]]

The first time I execute the cell, I get

Tanh[Subscript[200, 1]]

which of course is nonsense.

A second execution, yields the correct answer:

Tanh[110]

Is this a feature that I don't understand or a bug?


  • Prev by Date: How to stop execution within a cell?
  • Next by Date: Re: Replacing elements in a list
  • Previous by thread: Re: How to stop execution within a cell?
  • Next by thread: Re: Subscript Bug?