Skip to main content
1-Visitor
Oct 17, 2014 1:01 PM UTC
Question

I have a problem

%EC%BA%A1%EC%B2%98.PNG

I am getting error such as picture.

I tried to solve my problem. But I don't know. Could you help me?

15 replies

12-Amethyst
Oct 17, 2014 2:13 PM UTC

I can see at least 2 problems that will stop your sheet working.

if p=0 then V(p,e) will be 0 and p2 tries to divide by 0.

Start with p=0.1 & this is OK.

in the program you compare p a single value with the result p2 (a vector),

Should the while loop stop when any ony of the conditions is met, or all of them?

Andy

Translate
Werner_E
25-Diamond I
Oct 17, 2014 3:22 PM UTC

Next problems are that neither e nor the results of v() and p2() are vectors at all - they just look similar.

Furthermore the argument mu of the function pe() is not used at all, so its not clear to me what the function tries to achieve. It seems that it should solve the equation p=p2(p,e) for p. Not sure why its done using that for-loop.

Translate
jlee-21-VisitorAuthor
1-Visitor
Oct 17, 2014 3:59 PM UTC

Next problems are that neither e nor the results of v() and p2() are vectors at all - they just look similar.

I don't understand this sentence well.

so If you are possible, Could you explain again by using example?

Translate