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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

What is wrong with the script? Two identical scrips but two different outputs

ksk_10594232
12-Amethyst

What is wrong with the script? Two identical scrips but two different outputs

Hi

I have two identical scripts with identical input data. However, the output vectors differ. What is wrong with the second one??

 

ksk_10594232_0-1731483399002.png

ksk_10594232_1-1731483477855.png

 

Thanks in advance! 

 

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:ksk_10594232)

First:

You should attach the worksheet(s), instead of only pictures.

 

Then:

The 'scripts' are not identical, apart from the definition of phi.eff (1.6 versus 1.60):

The first one uses e, the base of the natural logarithm in the expression for phi.k.

The second one uses a variable e, the value of which probably has a unit of metres m.

 

Success!

Luc

 

View solution in original post

3 REPLIES 3

Hi,

One comment.

Don't use a variable name the same as a function name,

Cheers

Terry

LucMeekes
23-Emerald III
(To:ksk_10594232)

First:

You should attach the worksheet(s), instead of only pictures.

 

Then:

The 'scripts' are not identical, apart from the definition of phi.eff (1.6 versus 1.60):

The first one uses e, the base of the natural logarithm in the expression for phi.k.

The second one uses a variable e, the value of which probably has a unit of metres m.

 

Success!

Luc

 

Thank you so much! The e-base solved the problem 🙂

Announcements

Top Tags