Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Octave 1.04 KB | None | 0 0
  1. # IIFYM calculator for
  2. # THAI GREEN CURRY
  3. # IIFYM https://bewsh.com/iifym-tdee-calculator/
  4. #       params TDEE 2533; Maintain; Balanced; 1.0g per lb
  5. # Boneless, skinless chicken breast
  6. # "A Taste of Thai" coconut milk unsweetened
  7. # Brown rice
  8. # FREE: curry paste
  9. # FREE: vegetables
  10.  
  11. # in calories
  12. DCAL = 2333
  13.  
  14. # in days
  15. DAYS = 7
  16.  
  17. # in grams
  18. DFAT = 61.5
  19. WFAT = DFAT * DAYS
  20.  
  21. DCARB = 291.1
  22. WCARB = DCARB * DAYS
  23.  
  24. DPRO = 153.8
  25. WPRO = DPRO * DAYS
  26.  
  27.  
  28. # Chicken
  29. ChGRAM = 100
  30. ChFAT = 3.6 /ChGRAM
  31. ChCARB = 0 / ChGRAM
  32. ChPRO = 31 / ChGRAM
  33.  
  34.  
  35. # Coconut
  36. CoGRAM = 1 #entire can at once
  37. CoFAT = 65 / CoGRAM
  38. CoCARB = 10 / CoGRAM
  39. CoPRO = 5 / CoGRAM
  40.  
  41.  
  42. # Brown rice
  43. BrGRAM = 100
  44. BrFAT = 2.7 / BrGRAM
  45. BrCARB = 76.2 / BrGRAM
  46. BrPRO = 7.5 / BrGRAM
  47.  
  48. # X is an equation where i use 4 cans of coconut milk
  49. # Chicken Coconut Rice X
  50. FAT = [ChFAT, CoFAT, BrFAT]
  51. CARB = [ChCARB, CoCARB, BrCARB]
  52. PRO = [ChPRO, CoPRO, BrPRO]
  53. X = [0, 1, 0] # Pin coconut milk cans to a whole number
  54.  
  55. B = [FAT; CARB; PRO; X]
  56.  
  57. D = [WFAT; WCARB; WPRO; 4]
  58.  
  59. B\D
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement