ⅰ距A城X㎞,则距B城(100-X)㎞
∴X≥10,100-X≥10
10≤X≤90
ⅱ A城供电费用y1=〖λx〗^2 m_1
B城供电费用〖y2=λ(100-x)〗^2 m_2
则总费用〖y=λx〗^2 m_1+〖λ(100-x)〗^2 m_2
即y=〖2.5×20×x〗^2+〖2.5×10×(100-x)〗^2 x^2
即50x^2+〖25(100-x)〗^2≥2√(〖50x〗^2 25〖(100-x)〗^2 )
当且仅当√50 x=5(100-x)时,不等式左侧取最小值.
∴5(√2+1)x=500∴x≈41.4㎞