Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. # Loan Calc
  2.  
  3. principle, interestRate, loanLength
  4.  
  5. principle * (interestRate / (1 - (1 + interestRate) ** -loanLength))
  6.  
  7. Loan Amount, Monthly Interest Rate (1% = 0.01), Loan Length in Months
  8.  
  9. Per Month
  10.  
  11. # Solar Panel Calc
  12.  
  13. totalWHr, sunHours, conversionLoss, panelOutput
  14.  
  15. Math.ceil(((totalWHr / sunHours) * (1 + conversionLoss) ) / panelOutput)
  16.  
  17. Total Desired Watts/Hour, Hours or Sunlight, Conversion Loss (1% = 0.01), Panel Output in Watts
  18.  
  19. Panels
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement