Avatar of altariamx2003
altariamx2003Flag for Mexico asked on

recursivity problem with visual basic .net

I got this formulas from an excel file

f23=((F13*F14)+(G32*G33))/F22

g33 = l51

l51 = p29

p29 =((C53*900)+(L36*L37)+(L50*L51))/P28

l37 = l29

l29 = f23

I use that formulas with 100 itherations on my excel file

I need to implementated thouse formulas in visual basic

In this example you can see the flow of the this formulas: http://www.itssc.edu.mx/example.jpg

Visual Basic.NETAlgorithms

Avatar of undefined
Last Comment
altariamx2003

8/22/2022 - Mon
Nasir Razzaq

Not sure if I understand. Use in your application in what way? Is your application interacting with the Excel file?
ASKER
altariamx2003

The aplication is not interacting with the excel file

the thumbnail is just to show you the math flow of the formulas

I need to implementated that formulas in a vb proyect

I think that I need to implementated a recursivity function or something like that

Nasir Razzaq

Where do you get the values from in App? Do you ask the user for values? Are the values in a grid? Coming from a DB?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER
altariamx2003

this formulas are part of a math model


when the user start the model he enter some values that will use for the math model.

But when the math flow came to this formulas the values are provided for other formulas

in the excel file I use 100 itherations with .001 of diference
ASKER
altariamx2003

in this link you can find the excel file


perhaps the excel file can help to understand my issue: http://www.itssc.edu.mx/example.xls

ASKER CERTIFIED SOLUTION
TommySzalapski

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
TommySzalapski

If you are doing it in the Excel sheet with VB just use Range("F23").Value for F23.
If you are doing it just in VB, then you should give the variables better names.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
altariamx2003

O my god

It was so simply!!!!!!!!

Im a real dork

Im sorry for waste your time bro!!!