function x = deltay(y)
% This function computes the unique Y circuit equivalent on its three
% boundary vertices to a given delta circuit
%
%    /\              |
%   /__\    ->      / \
%
%
% INPUT: 
% y - the resistances on the bottom, right, and left edges in the delta
% circuit
%
% OUTPUT: 
% x - resistances on the top, left, and right edges in the Y circuit

% This is just a formula one can check
x(1) = y(2)*y(3)/sum(y) ;
x(2) = y(1)*y(3)/sum(y) ;
x(3) = y(1)*y(2)/sum(y) ;

