Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package prakt.v6;
- import blank.v5.Complex;
- public class ParSchaltg extends KombSchaltg {
- public ParSchaltg(Zweipol elem1, Zweipol elem2) {
- super(elem1, elem2);
- }
- public Complex widerstand(double freq) {
- Complex Z1 = new Complex(1,0).div(elem1().widerstand(freq));
- Complex Z2 = new Complex(1,0).div(elem2().widerstand(freq));
- Complex Z = new Complex(1,0).div(Z1.add(Z2));
- return Z;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement