Interpretation of subscripts
- To: mathgroup at smc.vnet.net
- Subject: [mg48037] Interpretation of subscripts
- From: dquark at gmx.de (Guido)
- Date: Sat, 8 May 2004 01:23:41 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
I wanted to solve a differential equation via DSolve. When naming the constants with subscripts (e.g. for the mass of the sun M_Sun with the word Sun on the line), Mathematica 5 in some way misinterpreted this and told me: DSolve::bvfail : For some branches of the general solution, unable to solve the conditions. It works, when I leave out the subscripts and name the mass of the sun simply M and the mass of a planet m, but for optical reasons it would be nice to have subscripts for better understanding. I also tried this with Mathematica 4.2 in university - and it worked fine, but I only have version 5 in my office. In help files it is said, that Mathematica wouldn't interprete subscipts in any other way than as names, but obviously it does... Is there any point in preferences to tell the programm how it should handle these things? I'm grateful for any help Guido