Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More clear definition and derivation for CLP derivation Eq1 & 2 #53

Open
tree-pi opened this issue Aug 6, 2022 · 0 comments
Open

More clear definition and derivation for CLP derivation Eq1 & 2 #53

tree-pi opened this issue Aug 6, 2022 · 0 comments

Comments

@tree-pi
Copy link

tree-pi commented Aug 6, 2022

For this document, I suggest the edit as follows:

Start with the fixed-product formula:

$$ Eqn 1: X*Y = K $$

Now that assuming swapping $x$ for the amount of $y$, so that $X*Y=(X+x)(Y-y)$. We can then derive the raw "XYK" output:

$$ Eqn 2: y= \frac{xY}{x+X} $$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant