function proudy(R1,R2,U0)
% proud seriovym a paralelnim spojenim R1 a R2
Rs = soucet(R1,R2);
Rp = paralelne(R1,R2);
Is = U0/Rs;
Ip = U0/Rp;
disp('proud seriovym spojenim')
disp(Is)
disp('proud paralelnim spojenim')
disp(Ip)

end
