Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
How can I solve sample in attachment with i paraments?
Solved! Go to Solution.
Are you defining function for the epsilons on purpose or are they supposed to be simple variables (vectors)?
My guess is that you don't want functions but just vectors of values.
See the attached file which also changes back the functions
we defined for sigma.xx etc. back to vectors.
I suppose it's about this part:
Which appears to be a good solve block. Now the variable that you want to Find, is not in the expression between Given and Find, as there are only k and sigma variables in the expression, lambda isn't there. So mathcad will not know how to find it. I can see, above the solve block, that the k and sigma variables may depend upon the lambda that you want to find, but Mathcad doesn't know, or better said, has forgotten that.
To remedy this situation, you can change these k and sigma variables into functions of one (at least the lambda parameter you intend to find) or more parameters.
Success!
Luc
I don't know what you wrote. Would you create sample?
See if the attached file helps.
I turned the sigma.. into functions of lambda and index i and the solve block into a function of the index i.
No solution is found for index i=1.
It's it. How can i calculate next in attachment?
Are you defining function for the epsilons on purpose or are they supposed to be simple variables (vectors)?
My guess is that you don't want functions but just vectors of values.
See the attached file which also changes back the functions
we defined for sigma.xx etc. back to vectors.
Thanks all for help. That is it what i wanted to do but I have last one problem, I need connecting epsilonp with epsilon. Look in attachment.
From what I understand you already did it! Simply assign the "if-expression" to a variable.
If thats not what you want to achieve, you'll have to explain further what you mean by "connecting" the two epsilons.
@ptc-3682623 wrote:
Thanks but how can I solve problem in attachment?
Which problem?
Do you mean this:
?
Your solve block
can't yield a solution because of
So whichever result you expect for
you may put it manually in the vector you create.
You can also use the "on error" statement to define a specific value in case the solve block fails. IN the example below I had chose NaN (Not-A-Number) but you sure can replace it by 0 or any other value if you feel thats more appropriate.