Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
hi,
I am doing a program to form a 'stiffnese matrix'. But it does not work and shows a ƒ(any1) → [Unitless]. Can anyone take a look at it for me? I am a beginner of Mathcad.
Thank you so much.
Junle Cai wrote:
hi,
I am doing a program to form a 'stiffnese matrix'. But it does not work and shows a ƒ(any1) → [Unitless]. Can anyone take a look at it for me? I am a beginner of Mathcad.
Thank you so much.
You've missed an input to conbeam when defining k.
If you define a function (f, say) with n arguments and then assign that function to a variable (g, say) using less than n arguments, then Mathcad assumes that you want g to be a specialized form of f. Evaluating g (or any function), shows the number of g's input arguments and the type of value that it returns; the actual output will vary depending upon the nature of f's input arguments and how many you omit to get g.
In your case, conbeam takes 6 arguments, you have only used 5 of them in defining k, so evaluating k shows that k is a function of one argument of any type and that k returns a unitless result.
Stuart