Fermé

Find the maximum value to this function

Job Description:

The constant product for a stablepool at Solidex Automated Market maker is:

(xy)*(x^2 + y^2) = k

where x is the reserves of token0 and y is the reserves of token1. This constraint must always be upheld when the user performs an exchange. We are interested in finding the change in x that produces the maximum value dy. In more simpler terms; We want to find the amount to sell, so that we will get the maximum amount out. x is reserves and token in, and y is reserves and token out.

We rewrite to include the change in reserves, we sell amount dx and obtain amount dy.

The constraint must hold:

(x + dx)*(y-dy)*((x + dx)^2 + (y - dy)^2) = k

I believe this can also be written as such:

y * (x+dx)^3 + x*(y - dy)^3 = k

It is negative dy and positive dx because the constraint must be upheld for the pool's inventory. So after an exchange, dy has left the pool, and dx has increased the pool.

Here is the task I expect delivery on:

Find the function that provides the maximum dy with respect to dx, x and y as parameters. I require a formula answer, not an algorithmic approach.

In more simpler terms; Which dx maximizes dy? Use dx, x and y as inputs that gives dy as output

dy=f(dx,x,y)

Compétences : Mathématiques, Engineering Mathematics

Concernant le client :
( 4 commentaires ) Oslo, Norway

Nº du projet : #35910487

18 freelances font une offre moyenne de 86 $ pour ce travail

Softeria

I am an instructor of Mathematics. I have 5 years of teaching mathematics. I teach Trigonometry, Calculus, Geometry, Matrices, Algebra, Quantitative questions, Differential Equations, Logic, Discrete Mathematics, Numer Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(248 Commentaires)
7.6
hudex

Hello dear, We are group of professional mathematics tutors expert and can solve your questions within given time in a very reasonable price because we are in top 2% here so just text me so we can help you out with y Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(114 Commentaires)
6.1
tauqeer0307

Hi, I am Maths tutor with years of experience in my field. I have understand your requirements and think myself suitable for the job. I have done many projects regarding problems solution in Advance Mathematics and Eng Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(65 Commentaires)
5.8
huzaifarizwan995

Hi, I am a professional electrical engineer with having a very strong command of MATLAB and Simulink. I have an experience of over 8 years. I can help you out with this perfectly. Check my portfolio for my samples. Hir Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(23 Commentaires)
5.0
marklai

As a skilled and experienced engineering technical writer, I bid on your project because I have the expertise to deliver superior quality work. I guarantee you constant updates in the project as a way of ensuring the p Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(12 Commentaires)
5.1
alamineee

Hi, Dear Employer, I have read your job post carefully. I can write clean validated Machine Learning code and make a device-supported M. File. I have over seven-plus years of experience at the /Machine Learning (ML) Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(16 Commentaires)
5.0
eduardoherreral4

hi I have read your description carefully. I have rich experiences in ⭐ MATLAB, R, Mathematica, math, Optimization. ⭐ I worked on many similar projects. I can guarantee the quality of the job. Please kindly message me. Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(9 Commentaires)
4.3
iquicksolution

Hey there! I'm a professional expert in mathematics having more than 5 years of experience. I've read your description and I can do your task perfectly.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(10 Commentaires)
4.2
Galata16

----------------- Hey, I'm interested in your project. Please send me a message so that we can discuss more. ----------------------------

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(8 Commentaires)
3.8
kazemmojtama

Hello, good time Hope you are doing well I'm expert in MATLAB/Simulink, Python, JavaScript and C++ programming and by strong mathematical and statistical background, have good flexibility for solve your project. I hav Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(6 Commentaires)
3.7
sybacdesigner

Hi. How are you? I have just read your proposal and I am sure I can complete the project on time. I am a mathematician who has 15 years of experiences in Numerical Analysis using Matlab/Python/R, .... Please contact m Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(5 Commentaires)
2.9
RANDHIR76

Greetings! I am RANDHIR KUMAR faculty of Mathematics for 11th. 12th. I.I.T Jee and also for degree levels having 27 years experience I promise your assignment will complete within given time period with 100%:client Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(6 Commentaires)
2.9
skrelena

Hi, How are you? Very happy to bid your project because my skills are fitted in your project. I have 8 years experiences in Matlab programming. I am very familiar with signal processing, image processing, data processi Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)
0.0
papawindy102

Dear I'm interested to discuss more about your project after reading your description. I am Program developer with 7 years of experience. I have many experiences working on similar projects to develop optimization prog Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(0 Commentaires)
0.0
AlanMeneses

Dear Client! How are you? Thanks for your job posting I read your job description carefully I am an Math expert I have a lots of experience in this field If you work with me, you will get best good results Please give Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0
alich0001

***No problem**** I checked your detail seriously and understand what you want. I have solution to get maximum value to given function. I will start your work right now and you will get perfect result in short time. Le Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0