Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
I want to
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.
Solved! Go to Solution.
@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.
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
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
Same Sceanrio I want to keep AE outside my matrix as is and not get calculated into my matrix
thank you
Are you looking for something like
And here what Terry suggested;
I guess you used symbolic evaluation because when using numeric evaluation (equal sign) the values are shown in Joule and the unit in the matrix can't be changed. I added the modifier "float" because its better looking with less decimals (default are 20 signinficant digits) and I thought you would not need that high precision. "float" should be used with care, though, because it does not only affect the displayed result but also the precision of the whole calculation!
As an alternative, especially if you want assign the the other four values to some variables, too, you may use
I don't understand what you mean with your additional question, but looking at your sheet I noticed this:
You should avoid copy and paste as you may run into problems if you change some input values and forget that you have to copy and paste new results.
Rather use:
or even better
Prime 10 sheet attached
Thanks so much for the tips, as I am learning Mathcad, it helps a lot.
I have attached my sheet again, I have written in red what I want to achieve. so it makes more sense, Thank you
Have added some comments in the attached file
I am re adding my worksheet. I have one more question marked in red
Hi,
In the solve block you have four equations and five variables to find. Solve cannot do this you need five equations.
Cheers
Terry
ok thank you got it, but how can leave varaibles outside my matrices without having them calculate.
@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.
thank you so much!!