Skip to main content
8-Gravel
August 9, 2022
Solved

Getting undefined error for function

  • August 9, 2022
  • 1 reply
  • 897 views

Somehow I am not getting the function to work in 15. Can someone help on this. 

Best answer by Werner_E

You define a function etaB, but try to evaluate a function etaT which is nowhere defined?

 

Furthermore your range variables i and j don't make much sense in the function definition. What did you expect them to achieve?

 

Defining lambda:=5 is useless because lambda is the (formal) function argument. The value for lambda has to be provided as argument when you call your function.

 

Did you look for something like this:

Werner_E_0-1660095313582.png

 

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
August 10, 2022

You define a function etaB, but try to evaluate a function etaT which is nowhere defined?

 

Furthermore your range variables i and j don't make much sense in the function definition. What did you expect them to achieve?

 

Defining lambda:=5 is useless because lambda is the (formal) function argument. The value for lambda has to be provided as argument when you call your function.

 

Did you look for something like this:

Werner_E_0-1660095313582.png