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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

3-Visitor

## Undefined variable and explicit all

Hi!

I am experiencing an error that states: This variable is undefined, even though it is.

What is the problem here?

I am running Prime 8.

/Frederik

1 ACCEPTED SOLUTION

Accepted Solutions
12-Amethyst
(To:FH_10621200)

I've been caught on this one before.  First on the Calculation Tab under Calculation Options, activate "Units/Constants in Symbolics".  Then in the same tab, hit Calculate.

I have made that change to your document and entered some dummy values.  It works now.

Bob

8 REPLIES 8
12-Amethyst
(To:FH_10621200)

I've been caught on this one before.  First on the Calculation Tab under Calculation Options, activate "Units/Constants in Symbolics".  Then in the same tab, hit Calculate.

I have made that change to your document and entered some dummy values.  It works now.

Bob

3-Visitor
(To:RantEng)

Hi Bob!

Wow, thanks for a quick answer. It did solve SOME problem. But now a new one occurs.. "This value must be real"

Thats what it ways when I input data to the variables.

Please see the attached screenshot, its from page 2/7 in the worksheet.

I hope you can figure it out, i believe in you!

/Frederik

24-Ruby V
(To:FH_10621200)

The problem is the acos() expression you use. With the values provided, the argument is greater than 1 (1.15) and so the angle is non-real. You have to provide a real angel, hence the error.

20-Turquoise
(To:FH_10621200)

Use -> before =.

23-Emerald III
(To:FH_10621200)

Success!
Luc

3-Visitor
(To:LucMeekes)

Hi Luc. I know how to input data to my variables, however this is not my problem. When I fill in data, it still gives me an error.

12-Amethyst
(To:LucMeekes)

I noticed the missing variables too.  When I entered dummy values, I had the problem that Fredrick referenced.  That is why my response about Units/Constants in Symbolics.  That is what ultimately solved the problem.

3-Visitor
(To:RantEng)