Advertisement
Guest User

prgmNEW1

a guest
Dec 5th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ClrHome
  2. Fix 2
  3. Input "Wanted area (ft)=",A
  4. Input "Yr Built=",Y
  5. Input "Yr Design=",Z
  6. Input "I%=",Q
  7. Input "Weighted Index Loc=",I
  8.  
  9. Disp "Interpolate"
  10. Input "Table for ft=",L₄
  11. Input "Table for $=",L₅
  12.  
  13. L₁*L₂→L₃
  14. L₅(1)-(L₅(1)-L₅(3))*((L₄(2)-L₄(1))/(L₄(3)-L₄(1)))→B
  15. A*B→C
  16. C+sum(L₃)→T
  17. (T*(I/100))→D
  18. Y-2012→E
  19. D*(1+(Q/100))^(E)→F
  20.  
  21. If Z>0
  22. Then
  23. Disp "Interpolate for Eng Fees"
  24. Input "Table Eng Fee $=",L₆
  25. Input "Table Eng Fee %=",⌊DATA
  26. DATA(1)-(DATA(1)-⌊DATA(3))*((L₆(2)-L₆(1))/(L₆(3)-L₆(1)))→G
  27. D*(G/100)→H
  28. H*(1+(I/100))^(Z-2012)→K
  29. Output(7,2,"Fee %=")
  30. Output(7,9,G)
  31. Output(8,2,"Fee.Cost,12=$")
  32. Output(8,15,H)
  33. Output(9,2,"Fee.Cost,Yr=$")
  34. Output(9,15,K)
  35. Else
  36. If Z=0
  37. Then
  38.  
  39. ClrHome
  40.  
  41. Output(1,2,"($/ft²) X=$")
  42. Output(1,13,B)
  43. Output(2,2,"ALL.Items=$")
  44. Output(2,13,sum(L₃))
  45. Output(3,2,"Area.Cost=$")
  46. Output(3,13,C)
  47. Output(4,2,"T.Cost(US,12)=$")
  48. Output(4,17,T)
  49. Output(5,2,"Cost(Loc,12)=$")
  50. Output(5,16,D)
  51. Output(6,2,"Cost(Loc,Yr)=$"
  52. Output(6,16,F)
  53.  
  54.  
  55. End
  56. Float
  57.  
  58. FDCB00AEC9
  59.  
  60. " "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement