sunu

Scilab hw2 cari_UdAC

Oct 12th, 2016
8,466
0
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scilab 1.52 KB | None | 0 0
  1. //scilab
  2.  
  3. //function hw2(ACrms_in, UdAV, UdAC)
  4. function hw2(ACrms_in, UdAV, UcRMS_acdc)
  5.  
  6.     printf("Nilai RMS AC masukan (sumber): %3.3f \n", ACrms_in)
  7.     printf("Nilai rata-rata DC keluaran half-wave: %3.3f \n", UdAV)
  8.  
  9. //  printf("Nilai RMS AC keluaran half-wave: %3.3f \n", UdAC)
  10.     printf("Nilai RMS AC+DC keluaran half-wave: %3.3f \n", UcRMS_acdc)
  11.  
  12.  
  13. //  UcRMS_acdc=sqrt((UdAV^2)+(UdAC^2))
  14. //  printf("Nilai tegangan RMS ac+dc keluaran half-wave rectifier: %3.3f \n", UcRMS_acdc)
  15.  
  16.     UdAC=sqrt((UcRMS_acdc^2)-(UdAV^2))
  17.     printf("Nilai tegangan RMS ac keluaran half-wave rectifier: %3.3f \n", UdAC)
  18.  
  19.     ratio1=UdAV/ACrms_in;
  20.     printf("Nilai perbandingan tegangan rata-rata (dc) keluaran terhadap nilai RMS AC masukan: %3.3f \n", ratio1)
  21.  
  22.     ratio2=UcRMS_acdc/ACrms_in;
  23.     printf("Nilai perbandingan tegangan rms ac+dc keluaran terhadap nilai RMS masukan: %3.3f \n", ratio2)
  24.  
  25.     vin_peak = UdAV*%pi;
  26.     printf("Nilai tegangan puncak (Vpeak) masukan berdasarkan tegangan rata-rata keluaran (%3.3f) : %3.3f \n", UdAV, vin_peak)
  27.  
  28.     rect_ratio = ((vin_peak/%pi)^2/(0.5*vin_peak)^2)*100;
  29.     printf("Nilai rectification ratio: %3.3f %% \n", rect_ratio)
  30.  
  31.     form_factor = (UcRMS_acdc)/(UdAV);
  32.     printf("Nilai form factor (FF): %3.3f \n", form_factor)
  33.  
  34.     ripple_factor1 = sqrt((form_factor^2)-1);
  35.     printf("Nilai ripple factor (RF) cara 1: %3.3f \n", ripple_factor1)
  36.  
  37.     ripple_factor2 = UdAC / UdAV;
  38.     printf("Nilai ripple factor (RF) cara 2: %3.3f \n", ripple_factor2)
  39. endfunction
  40.  
  41. //hw2(49,21.2,26.2)
  42. //hw2(12.021,5.4113,6.555)
  43. hw2(12.021,5.4113,8.5)
Advertisement
Comments
  • Vartotir
    237 days
    # CSS 0.85 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
  • User was banned
Add Comment
Please, Sign In to add comment