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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Using "Vorgabe" Function in Iteration Calculation

sm�ller-2
11-Garnet

Using "Vorgabe" Function in Iteration Calculation

Hallo guys,

 

i have a small problem. Actually i need to build an Iterative Calculation procedure.

I have just started the process to build it up. I got help from you guys already so i have a template.

 

Now i have a complicated equation which i cannot transform to the desired searched value.

So i use the mathcad "Vorgabe" Function in order to recalculate the value. 

Now i dont know how to write it correctly into my Iterative procedure.

 

I think i only need to know the correct Syntax in order to be able to proceed my work

 

Thank you,

 

BR Stefan

1 ACCEPTED SOLUTION

Accepted Solutions
-MFra-
21-Topaz II
(To:sm�ller-2)

Hi,

I attach the file with my changes.

Regards

View solution in original post

10 REPLIES 10
LucMeekes
23-Emerald III
(To:sm�ller-2)

Stefan,

Du kannst die 'Vorgabe...Suchen()' Struktur nicht in einem Programm benützen.

LM_20191115_Iteration.png

Du kannst aber das Resultat einer solchen Struktur als Funktion schreiben, und die Function in einem Programm gebrauchen. Aber warscheinlich kommst du hier besser weg wen du einfach die root() Funktion gebrauchst um den Dp1 Wert zu finden.

Dann noch, du sollst keine Definition, wie z.B. "Dp2<-", schwischen 'Vorgabe' und 'suchen()' stellen.

Und wass ist der Fehler mit Beziehung der '2' (das Quadrat)?

 

Viel Erfolg!
Luc

-MFra-
21-Topaz II
(To:sm�ller-2)

Hi,
I don't think it necessary to use the Find operator because Dp2 is given by the "Lambert" function, see the image:

lambert1.jpg

lambert.jpg

-MFra-
21-Topaz II
(To:sm�ller-2)

Hi,
I don't think it necessary to use the Find operator because Dp2 is a "Lambert" function, see the image:

lambert1.jpglambert.jpg

In the first definition of ITER the parameters are 8, while in the next one the parameters are 9.

MFra,

thank you,

 

here its not working. Can you send me both mathcad files (the code in the second black circle and the yellow part lambert code. Thank you

br

Stefan

LucMeekes
23-Emerald III
(To:sm�ller-2)

A simpler implementation of the LambertW function is:

LM_20191116_LambertW.png

It may be less powerfull than Stuarts implementation,

but it works for an argument range from slightly below 0 to 500 at least.

 

Success!
Luc

this fomula does not work with the LambertW Dp2 calculation? Can you help me another time plz?

I encounter another problem.

For this equation there are 2 solutions:

 

The Lambert Function looses 1 solution and with the lambert function i get the solution of 219,19898mm

 

But the correct one is 98,81192mm

 

 

 

 

 

 

 

 
-MFra-
21-Topaz II
(To:sm�ller-2)

Hi,

I attach the file with my changes.

Regards

Thank you for your help!

-MFra-
21-Topaz II
(To:sm�ller-2)

 
Top Tags