Skip to main content
7-Bedrock
April 5, 2025
Solved

keepin variables in my Calcs - Mathcad prime 10.0

  • April 5, 2025
  • 2 replies
  • 1935 views

I want to

AM_10506871_0-1743824292969.png

 

keep EI as EI in my calculations, as EI was defined previously. wondering if I can do that, and then I also want to extract 0.5 values out, because these are my Distribution factors. so I want to be able to type DF_BA = 0.5. 

Best answer by Werner_E

@AM_10506871 wrote:

ok thank you got it, but how can leave varaibles outside my matrices without having them calculate. 


Your system is underdetermined and so you are confronted with an infinite number of possible solutions. Primes solve block returns one of these solutions and which one you get depends on the guess values you provide.

 

Which variable would you like to "leave outside" and what do you mean by this?
Do you mean that you want the solutions for the other four variables to be dependent on the choice of the value for this variable?

 

You may want to look in the sheet I posted in my answer here: https://community.ptc.com/t5/Mathcad/keepin-variables-in-my-Calcs-Mathcad-prime-10-0/m-p/1009097/highlight/true#M216727

 

I think you 'simply' have to look for an additional fifth constraint to make the solution of your system unique.

 

2 replies

21-Topaz II
April 5, 2025

Can you please include your sheet so it is possible to show you.

 

Include DF:= before the matrix.  then DF_BA:=DF[0,2

 

Cheers

Terry

7-Bedrock
April 5, 2025

I will attach it here, when you look at my sheet I also want to set up the next matrix you will I have started working on it. I want to write the global coordinates and leave - signs as is even if i ^2 it. it will make sense in my sheet. I am new to mathcad so I am still learning this. 

 

Thank you

7-Bedrock
April 5, 2025

Same Sceanrio I want to keep AE outside my matrix as is and not get calculated into my matrix

thank you

21-Topaz II
April 5, 2025
7-Bedrock
April 5, 2025

I am re adding my worksheet. I have one more question marked in red

21-Topaz II
April 5, 2025

Hi,

In the solve block you have four equations and five variables to find.  Solve cannot do this you need five equations.

Cheers

Terry