Skip to main content
10-Marble
April 20, 2012
Solved

Why If .. Else if ... Else not running

  • April 20, 2012
  • 3 replies
  • 4067 views

My simple program is not running. Any comments, pl.

Best answer by AndyWesterman

needs 2 minor tweaks,

1. change the final evaluation from symbolic (->) to numeric (=)

2.remove the recursive use of the variable name at the end,

Regards

Andy

3 replies

1-Visitor
April 20, 2012

Unfortunately my Mathcad Prime is not currently working, but I have reproduced the program in Mathcad. You can try and convert into rime and see if it yields the correct results.

Mike

1-Visitor
April 20, 2012

Clipboard01.jpg

Screen shot attached.

Mike

12-Amethyst
April 20, 2012

needs 2 minor tweaks,

1. change the final evaluation from symbolic (->) to numeric (=)

2.remove the recursive use of the variable name at the end,

Regards

Andy

RWickrama10-MarbleAuthor
10-Marble
April 21, 2012

You solved my problem. Thanks a lot.

RWickrama10-MarbleAuthor
10-Marble
April 21, 2012

Thank you for your reply: your Mathcad R15 file is working exactly the way I want. Great help.