因为,y1与(x-1)成正比例,
设y1=a(x-1)
y2与x成反比例,
y2=b/x
所以y=a(x-1)+b/x
根据题意得
4=a(2-1)+b/2
6=a(3-1)+b/3
解之得a=5/2;b=3
所以y=5/2(x-1)+1/3=2.5x-13/6
因为,y1与(x-1)成正比例,
设y1=a(x-1)
y2与x成反比例,
y2=b/x
所以y=a(x-1)+b/x
根据题意得
4=a(2-1)+b/2
6=a(3-1)+b/3
解之得a=5/2;b=3
所以y=5/2(x-1)+1/3=2.5x-13/6