Skip to main content
13-Aquamarine
November 14, 2024
Solved

Mathcad programming

  • November 14, 2024
  • 3 replies
  • 1319 views

Hello everyone,
could someone explain why i am getting different answers in the programs e and l.
Is there a way to get same output from both the programs? Does it have something to do with for loops?
the output should be like program e.
Attached Mathcad 10 file.

NM_10165576_0-1731563179521.png

NM_10165576_1-1731563193209.png

 

 

Best answer by StuartBruff

You need to include Res as an argument to Bewopti.

 

See attached MP10 worksheet.

 

2024 11 14 A.png

 

2024 11 14 B.png

 

Stuart

3 replies

24-Ruby III
November 14, 2024

Just a note ... it is necessary to switch Page View to Draft View to see l definition on the right side.

ttokoro
21-Topaz I
21-Topaz I
November 14, 2024

If add Cv and change 7 to 8, then you can get same cols.

 

image.pngimage.png

t.t.
13-Aquamarine
November 14, 2024

Sorry, may be you did not understand my questions. I mean all the numbers should be same in both the programs. 

23-Emerald V
November 14, 2024

You need to include Res as an argument to Bewopti.

 

See attached MP10 worksheet.

 

2024 11 14 A.png

 

2024 11 14 B.png

 

Stuart

13-Aquamarine
November 15, 2024

It worked. Thank you soo much.

23-Emerald V
November 15, 2024

No worries.