如何找到对应的X值的Y(隐函数,复数) [英] How to find Y for corresponding X values (Implicit function, Complex number)
问题描述
给出的等式是:
Y^2 = X^3 + 2*X - 3*X*Y
假设绘制的草图正确.
Given is the equation:
Y^2 = X^3 + 2*X - 3*X*Y
Assuming the plotted sketch is correct.
Y^2 = X^3 + 2*X - 3*X*Y
提示:
Y^2 + X^2 =1 ==> Y= sqrt( 1 - X^2 )
X值是已知的.
如何找到X值对应的Y值?
例如.对于已知的X值,我希望类似下面列出的Y值(请参见绘制的草图):
The X values are known.
How can I find the corresponding Y values for X values?
E.g. for known X-Values, I expect something like below listed Y-Values (see the plotted sketch):
X= 1 ; Y=0.79
X=2 ; Y=1.58
X=3 ; Y=2.79
X=4 ; Y=4.39
X=5 ; Y=6.33
X=6 ; Y=8.57
X=7 ; Y=11.12
X=8 ; Y=13.92
X=9 ; Y=16.98
X=10 ; Y= 20.29
例如我将尝试为X = 6找到Y;那么Y将按以下公式计算:
E.g. I will try to find Y for X=6; then Y will be calculated as follws:
Y^2+X^2=1 ==> Y=sqrt(1 - X^2) = sqrt(1-36) = sqrt(-35) = (0, 5.92i );
因此:
Y^2 = X^3 + 2*X - 3*X*Y = (228 , -106,49i)
Y = sqrt( 228 , -106,49i) = (15.49 , -3.44i)
可悲的是,计算出的Y是错误的!我希望像(6, 8.57i).
这样的东西
但是我怎么找到Y?
Sadly, the calculated Y is wrong! I expect something like (6, 8.57i).
But how can I find Y?
谢谢.
推荐答案
只需用"y"解决即可.当您将x视为常数值时,这并不是那么困难:
just solve it by 'y'. It's not that difficoult, when you treat x like constant value:
y^2 = x^3 + 2x - 3xy
0 = (-1)y^2 + (-3x)y + (x^3 + 2x)
是以下项的二次方程:
a = -1
b = -3x
c = x ^ 3 + 2x
it's Quadratic equation of:
a = -1
b = -3x
c = x^3 + 2x
y1 = (-(-3x) - sqr((-3x)^2 - 4(-1)(x^3+2x)))/2*(-1)
y2 = (-(-3x) + sqr((-3x)^2 - 4(-1)(x^3+2x)))/2*(-1)
最后:
d = x(9*x+4*x^2+8)
y1 = (3x+sqr(d))/(-2)
y2 = (3x-sqr(d))/(-2)
例如
for x = 6
y1 = -26,5784
y2 = 8,578396
从图表中可以看到,总是有两个y与一个x相匹配.我认为这很明显:)
as you may see from the chart there are always two y matched to one x. I think that is clear enaugh :)
这篇关于如何找到对应的X值的Y(隐函数,复数)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!