Adept Scientific - English
The world's best software for research, science and engineering.
flag arrow
clearclear
 

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKusdedksvnofi
Home
Products
Training
Consultancy
 Buy Online
Downloads
Education
Support
My Adept
International |  About Us |  Contact Us |  Press Room |  Jobs


The Next Steps

• Ask us a question
• Buy Mathcad Now
• View Mathcad Pricing
• Request a Demo
• Download a Brochure
• Find out about Training
• Sign up for a Webinar
• Meet Our Team
• Read our RSS Feeds

Learn More

Mathcad Home
What can Mathcad do?
Version Comparison Chart
Mathcad for Education
Add-ons
Rave Reviews

System Requirements

Latest Information

New Features in Mathcad 14
Using Mathcad and Excel
Engineering Application
Packs

Return on Investment

Service & Support

Patches & Downloads
Chemical & Process
Engineering with Mathcad

Frequently Asked Questions
Search the Knowledge Base
Join the Discussion List
Search the List Archive
Mathcad Library

List Archives >  Mathcad List Archive >  Archive by date >  This Month By Date >  This Month By Topic

[mathcad] RE: Mathcad bug or programming error?

Search email archive for  

[mathcad] RE: Mathcad bug or programming error?
Author: Zijp, Maarten    Posted: Tue, 29 Jan 2008 09:45:40 +0100
Hi Andy,

Sorry to say but to my opinion it is a simple programming error. Inside
both for loops you initiliaze your result matrix therefore you will
loose all results from pass 1 upto S-1. Mathcad cannot be blamed this
time...
So, use another variable to store the intermediate results, I used t.
You might also considere to either change the upper range of iteration
variable j to I-1 as is the case in version two or adapt the upper range
for j in function f2 in the summation......



kind regards
Maarten Zijp

Maarten Zijp
room 5045

Information Technology Group

Leerstoelgroep Toegepaste Informatiekunde

Social Sciences Group

Wageningen University

Leeuwenborch (Building 201)

Hollandseweg 1

6706 KN Wageningen

The Netherlands

tel (0)317-484079 fax(0)317-483158

E-mail: "maarten.zijp"

internet: http://www.inf.wur.nl/ <http://www.inf.wur.nl/>




________________________________

From: "Andy.Spragg" "mailto:Andy.Spragg"
Sent: 28 January 2008 14:11
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

 Attachments:
 Outlook.jpg


[View Complete Thread]



Previous by date: [mathcad] RE: Mathcad bug or programming error?,  Pergande, Albert N
Next by date: [mathcad] RE: [MathCAD] MathCAD bug or programming error?,  Philip Oakley
Previous thread: [mathcad] Mathcad bug or programming error?, Andy Spragg
Next thread: [mathcad] Mathcad bug or programming error?, Andy Spragg



Ready to buy?

For more pricing information:
Visit our webstore, call us on +1 800 724 8380 or email us at info@adeptscience.com

Featured Downloads

Mathcad 14 demo
Mathcad 14 Brochure
Mathcad or Excel?
Mathcad Customer Story: Man B&W Diesel
Mathcad Customer Story: Stork Fokker Aerospace
Mathcad White Paper - Moving beyond the limitations of spreadsheets

Product Reviews

"Our work ranges from complex medical imaging research to large-scale mapping and diagrams and we need a tool that is able to handle anything we investigate. With Mathcad, we are able to manipulate and analyse our data quickly while at the same time documenting our work, for sharing and publication. We also use it for pilot studies conducted in support of research grant applications. It is an end-to-end tool for research and development."
Dr. Kenneth Castleman, President of Advanced Digital Imaging Research (ADIR), Houston, Texas

"Mathcad is an integral product for my work... With Mathcad, itís easy to disseminate design calculations because the documents look like real math. Thereís very little I canít do in Mathcad. The main benefits come from the format, which resemble a typed set of calculations. These programs are easier to develop by engineers and easier for others to follow and review since the logic is expressed in a familiar manner. The format is what places Mathcad head and shoulders above other programs of a similar function."
Andre Pavlov, Structural Engineer, Florida Department of Transportation
adept

Top of the Page

Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2007, Adept Scientific plc.
Site designed and maintained by Adeptise

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055