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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Error trying to make a new version of an old work.

anaxec
4-Participant

Error trying to make a new version of an old work.

Hello,

 

I'm finishing my master thesis and to get the results I have to make a new version of my advisor's old work, but I'm getting a lot of erros, someone can help me to fix? in annex are two files, one in word and one in mcdx.

 

PLEASE I'M ALMOST LOSING MY CHANCE.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

Your error is in naming the calculation of matrix K elements as k.  This overwrites the value of k defined earlier as 0..3.

 

I simply renamed the elements of K as ks not k

 

Capture.PNG.

 

Enclosed is Prime 5.  If you are using Prime 4 let me know and I will back save using Valery's utility.

 

Cheers

Terry

View solution in original post

6 REPLIES 6
LucMeekes
23-Emerald III
(To:anaxec)

Considering you have a license to use Prime 5, you are also licensed to install and use Mathcad 15, using the very same license file.

If you are in a hurry, I'd advise you to use, the original sheet from your advisor and mathcad 15 to implement the changes you intend to make and use it further. Finding out all you need to do to make this sheet work in Prime can be a (too) big effort.

 

Boa sorte!

Luc

anaxec
4-Participant
(To:LucMeekes)

My advisor don't have the original one anymore, actually i'm having problems at this point:

Screenshot_1.png

I'm getting a 1x1 matrix instead of vector of values based on the elseif formula.

Any hint?

DJF
16-Pearl
16-Pearl
(To:anaxec)

You have a square bracket in your calculation - which mathcad only sees as a matrix.  Replace with parathesis. That gets you a 1x100 matrix result.  Also you have a zero you don't want in front of the programming bar.

 

Not sure what result you really want.  I suspect you're after a 2D matrix.  I'd have written something like this.  

2019-04-01_9-37-00.png

LucMeekes
23-Emerald III
(To:anaxec)

Assuming you have ranges defined for i and j, try this; it works in any version an edition of Prime:

LM_20190401_If.png

 

Success!
Luc

Hi,

Your error is in naming the calculation of matrix K elements as k.  This overwrites the value of k defined earlier as 0..3.

 

I simply renamed the elements of K as ks not k

 

Capture.PNG.

 

Enclosed is Prime 5.  If you are using Prime 4 let me know and I will back save using Valery's utility.

 

Cheers

Terry

"If you are using Prime 4 let me know and I will back save using Valery's utility."

 

Success!
Luc

Top Tags