cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Bug in Mathcad 15 and also in Prime 3

Werner_E
24-Ruby V

Bug in Mathcad 15 and also in Prime 3

After looking at the worksheet posted here

http://communities.ptc.com/message/268193#268193

I think this is a bug. Its present in Mathcad and in Prime alike.

bug.png

It seems to work with any function - built-in or user defined.

Mathcad should not allow the first definition.

1 ACCEPTED SOLUTION

Accepted Solutions

sin(a):=100 is a user function with formal argument a and with name sin.

I think e:=4 is a bug too in this case.

View solution in original post

13 REPLIES 13

sin(a):=100 is a user function with formal argument a and with name sin.

I think e:=4 is a bug too in this case.

Valery Ochkov wrote:

sin(a):=100 is a user function with formal argument a and with name sin.

OmG, of course you are right and its not a bug. Not sure where I had my mind - its late and it was a long day 😞

I think e:=4 is a bug too in this case.

???

Werner Exinger wrote:

I think e:=4 is a bug too in this case.

???

sin is one built-in function, e is one built-in constant

Valery Ochkov wrote:

Werner Exinger wrote:

I think e:=4 is a bug too in this case.

???

sin is one built-in function, e is one built-in constant

OK, I see what you meant.

alpha is a built-in constant

Valery Ochkov wrote:

alpha is a built-in constant

Yes, but only in Prime. Not in Mathcad.

Werner Exinger wrote:

Valery Ochkov wrote:

alpha is a built-in constant

Yes, but only in Prime. Not in Mathcad.

Prime is Mathcad too

Werner Exinger wrote:

it was a long day 😞

It was a short day for me - not 24 but 22 hrs - one fly from Paris to Moscow.

athurin
4-Participant
(To:ValeryOchkov)

Silly question ... Am I the only one to think that it would be a nice feature if Mathcad could display warnings when redefining stuff ? (especially build-in functions/constants/units, but not only). Ideally, with a "shut up I know what I am doing" button.

Adrien Thurin wrote:

Silly question ... Am I the only one to think that it would be a nice feature if Mathcad could display warnings when redefining stuff ? (especially build-in functions/constants/units, but not only). Ideally, with a "shut up I know what I am doing" button.

Such a feature already exists in Mathcad for a long time. Redefinitions are flagged by green wavy underlines. I usually have it turned off, though. Its one of the many features which are not (yet?) implemented in Prime.

1.png

athurin
4-Participant
(To:Werner_E)

I ever used the old Mathcad. Good to know it was there. Hopefully it might come to Prime. Maybe when we get to Prime 6 ?

MikeArmstrong
5-Regular Member
(To:athurin)

Adrien Thurin wrote:

I ever used the old Mathcad. Good to know it was there. Hopefully it might come to Prime. Maybe when we get to Prime 6 ?

Prime 6 - I certainly hope so

Werner Exinger wrote:

Adrien Thurin wrote:

Silly question ... Am I the only one to think that it would be a nice feature if Mathcad could display warnings when redefining stuff ? (especially build-in functions/constants/units, but not only). Ideally, with a "shut up I know what I am doing" button.

Such a feature already exists in Mathcad for a long time. Redefinitions are flagged by green wavy underlines.

Mathcad PM

(see please http://communities.ptc.com/groups/mathcad-pm-prime-minister)

has not 2 but 3 levels of variables redefinitions checking:

  1. No any cheking (Mathcad Prime)
  2. Grean wavy (Mathcad 15)
  3. We can not do any variables redefinitions (Mathcad PM)
Top Tags