Advertisement
thomazrb

Questão 1

Aug 5th, 2022
774
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. clc; clear all; close all;
  2. Vcc = 10;
  3. Vce = 5;
  4. Ic = 4e-3;
  5. Vbb = 5;
  6. b = 400;
  7. Vbe = 0.7;
  8.  
  9.  
  10. Vre = 10/100 * Vcc;
  11.  
  12.  
  13. printf("a -> R_c = ?\n");
  14. Vrc = Vcc - Vce - Vre;
  15. printf("Vrc = %.1f V\n", Vrc);
  16. Rc = Vrc / Ic;
  17. printf("Rc = %.1f Ohms\n", Rc);
  18. printf("---\n");
  19. printf("Rb -> Rb = ?\n");
  20. Vrb = Vbb - Vbe - Vre;
  21. printf("Vrb = %.1f V\n", Vrb);
  22. Ib = Ic / b;
  23. printf("Ib = %.2e A\n", Ib);
  24. Rb = Vrb/Ib;
  25. printf("Rb = %.1f Ohms\n", Rb);
  26. printf("---\n");
  27. printf("c -> Re = ?\n");
  28. Re = Vre / Ic;
  29. printf("Re = %.1f Ohms\n", Re);
  30.  
Advertisement
RAW Paste Data Copied
Advertisement