 |
|
List Archives > 
Mathcad List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[mathcad] RE: [MathCAD] MathCAD bug or programming error?
| [mathcad] RE: [MathCAD] MathCAD bug or programming error? |
|
Author: Philip Oakley
Posted: Mon, 28 Jan 2008 21:27:05 -0000
|
The version f1 has two variables called phi(?) (Greek j) so in the inner
loop you are overwriting the values on the outer loop!
Se the value of S to 1 and 2 to see the effect.
Then rename the inner variable to some other Greek letter
Philip Oakley CEng MIET
From: "Andy.Spragg" "mailto:Andy.Spragg"
Sent: 28 January 2008 1:11 PM
To: Mathcad Discussion List
Subject: [mathcad] Mathcad bug or programming error?
Hi folks,
The attached v11 worksheet contains two versions of a program, that I
believe to be trivially different. The output from the two versions is
utterly different. I spent altogether too long trying to find the error of
my ways in one version, before scraping the barrel of reformulation and
finding it not to be empty after all.
I seek opinions on whether the difference in output is due to Mathcad bug
or programming error. If the former is the case, it is a pretty toxic bug
(which may of course have long since been squashed). Can anyone please
either point out my error, or test these programs in the current version of
Mathcad?
Andy
|
[View Complete Thread]
Previous by date: [mathcad] Re: Mathcad bug or programming error?, Eden Mei
Next by date: [mathcad] 3D graphics, Snelling, Dave
Previous thread: [mathcad] Mathcad bug or programming error?, Andy Spragg
Next thread: [mathcad] 3D graphics, Snelling, Dave
|
|
|