Solving Iteration Function Problem with A, B, and C

  • Context: Undergrad 
  • Thread starter Thread starter MrReds
  • Start date Start date
  • Tags Tags
    Function
Click For Summary
SUMMARY

The discussion centers on developing an iteration function to adjust a variable C in order to minimize the difference between a constant A and a variable B. A is a predetermined constant, while B is a variable that can take on any value. The relationship between C and B is proportional but lacks a defined mathematical function. The proposed algorithm involves incrementally adjusting C and evaluating the error between A and B, modifying C based on whether the error is positive or negative.

PREREQUISITES
  • Understanding of iteration algorithms
  • Familiarity with error minimization techniques
  • Basic knowledge of proportional relationships in mathematics
  • Experience with algorithm design and implementation
NEXT STEPS
  • Research "Gradient Descent Algorithm" for error minimization
  • Explore "Proportional Control Systems" for insights on variable adjustments
  • Learn about "Root Finding Algorithms" for iterative solutions
  • Investigate "Numerical Methods for Optimization" to refine the approach
USEFUL FOR

Mathematicians, algorithm developers, and engineers looking to implement iterative functions for optimization problems.

MrReds
Messages
1
Reaction score
0
Hallo Everybody !

I have tried to look in the previous posts, but I haven’t find something useful.
I am looking for an iteration function to help me to solve following issue.

I have got three values, let’s say
A which is a constant (it is determined), that can be positive, negative or 0
B which is variable that can be positive, negative or 0
C which is variable that varies between two fixed values (typically 0 and 1).

The scope of the function would be to vary C in order to get B as close as possible to A.
C and A are not linked by any relation, let’s say that A is a target value.
C and B are proportional, but they are not linked by a known function.

Therefore the algorithm should :
Vary C of a value, then verify the error between A and B and should this error be positive or negative, vary C consequently.
I hope to have been clear enough.

Is there anybody who knows a similar algorithm ?

Many thanks for your help !
 
Physics news on Phys.org
MrReds said:
Hallo Everybody !

I have tried to look in the previous posts, but I haven’t find something useful.
I am looking for an iteration function to help me to solve following issue.

I have got three values, let’s say
A which is a constant (it is determined), that can be positive, negative or 0
B which is variable that can be positive, negative or 0
C which is variable that varies between two fixed values (typically 0 and 1).

The scope of the function would be to vary C in order to get B as close as possible to A.
C and A are not linked by any relation, let’s say that A is a target value.
C and B are proportional, but they are not linked by a known function.

Therefore the algorithm should :
Vary C of a value, then verify the error between A and B and should this error be positive or negative, vary C consequently.
I hope to have been clear enough.

Is there anybody who knows a similar algorithm ?

Many thanks for your help !
This does not make much sense, the way you have described it. What do you mean, for instance, by "not linked by any relation" and "not liked by a known function"? Even in this context "C and B are proportional" doesn't make any sense.

Perhaps, you could try describing to us what you want your algorithm to do without trying to describe how to actually program it. If you are working with an associated problem that you need this algorithm for, let us know what it is.
 

Similar threads

Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K