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

Hi, wondering how you derive eq6 from eq5 and eq4 ? #8

Open
wellttllew opened this issue May 29, 2021 · 2 comments
Open

Hi, wondering how you derive eq6 from eq5 and eq4 ? #8

wellttllew opened this issue May 29, 2021 · 2 comments

Comments

@wellttllew
Copy link

wellttllew commented May 29, 2021

Sorry for my poor math :(
So I tried to use symbolic mathematics to derive it.
But I failed.

import sympy
from sympy.solvers import solve

# symbols
R0,R1,R2,R1_prime,del_a = sympy.symbols('RO R1 R2 R1_prime,del_a')

# equation 4 
del_b = R1 * r * del_a / ( R0 + r * del_a) 

# equation 5 
del_c = R2 * r * del_b / (R1_prime + r * del_b)

# equation 6 
eq_6_num = R0*R1_prime/ (R1_prime + R1 * r) * del_a * r
eq_6_den = (R1*R2*r/(R1*r + R1_prime)) + r * del_a 

eq_6 =  eq_6_num/eq_6_den


# equality check 
# But this is not zero... .. 
sympy.simplify(eq_6 - del_c)
@bonny5151
Copy link
Contributor

his eq 6 is mistake, try flipping the e0/e1 part of eq 6, should work

@JayusJay
Copy link

@bonny5151 what are the correct equations?

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

3 participants