Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1. it cost 0.45 to send to europe and 0.65 to send to africa, and a total of 18.55 was spent. so the cost of letters to europe is 0.45 times however many letters went there, which we'll call 'e'. and the cost of the letters to africa is 0.65 times however many letters went to africa, which we'll call 'a' the sum or total of both of those amounts is 18.55. so
  2.  
  3. (0.45e) + (0.65a) = 18.55
  4.  
  5. we also know that the total number of letters sent to europe and africa is 35. since we used 'e' to represent the total number of letters to europe, and 'a' to represent the total number of letters to africa, we're talking about the same variables as above, so
  6.  
  7. e + a = 35
  8.  
  9. now we have two equations with two variables. we need to solve one of the equations for one of the variables, then use that in the other equation to find the value of the other variable. once we know the value of one variable, we can plug that amount back into either equation to solve for the remaining variable. may sound confusing, but stay with me. let's solve one of the equations for one of the variables.
  10.  
  11. e + a = 35
  12.  
  13. subtract a from both sides
  14.  
  15. e = 35 - a
  16.  
  17. so wherever we have e, we can just substitute in 35 - a (we'll be sure to put it in parenthesis so we know it goes together). if we plug that value in for e in the same equation, it will just cancel everything out, so we'll plug it in for e in the other equation.
  18.  
  19. (0.45e) + (0.65a) = 18.55
  20.  
  21. now plug it in to get
  22.  
  23. (0.45*(35-a)) + (0.65a) = 18.55
  24.  
  25. now multiply 0.45 times everything inside the parenthesis next to it to get
  26.  
  27. 15.75 - 0.45a + 0.65a = 18.55
  28.  
  29. now let's get the numbers with the variable on one side, and the numbers without the variable on the other by subtracting 15.75 from both sides:
  30.  
  31. -0.45a + 0.65a = 2.8
  32.  
  33. now, since everything on the left side has the same variable, we can pull that out like this
  34.  
  35. a(-0.45+0.65) = 2.8
  36.  
  37. simplify
  38.  
  39. a(0.2) = 2.8
  40.  
  41. now divide both sides by 0.2 to get
  42.  
  43. a = 14
  44.  
  45. now we know what the value of 'a' is, so we can plug it back into either equation, and it should work. let's do the simple one.
  46.  
  47. e + a = 35
  48.  
  49. turns into
  50.  
  51. e + 14 = 35
  52.  
  53. subtract 14 from both sides to get
  54.  
  55. e = 21
  56.  
  57. now, to check our work, let's plug both e and a back into the other equation. if we're right, it should all come out equal.
  58.  
  59. (0.45e) + (0.65a) = 18.55
  60.  
  61. plug in both values
  62.  
  63. (0.45*21) + (0.65*14) = 18.55
  64.  
  65. simplify
  66.  
  67. 9.45 + 9.1 = 18.55
  68.  
  69. simplify again
  70.  
  71. 18.55 = 18.55
  72.  
  73. yep, that checks out, so we know we found the right answer. there were 21 letters to europe and 14 letters to africa.
  74.  
  75. *phew* :)
  76.  
  77.  
  78.  
  79. to review, here are the steps we took.
  80. 1) write down the equations using variables for each thing we don't know (in this case, two equations and two variables)
  81.  
  82. 2) solve one of the equations for one of the variables
  83.  
  84. 3) plug the result (the other side of the equals sign from the variable we solved for) back into the other equation wherever that variable is.
  85.  
  86. 4) now solve for the one remaining variable to find its actual value
  87.  
  88. 5) plug this actual value into one of the equations to solve for the other variable
  89.  
  90. 6) (optional) plug both values into the other equation to make sure it still works. it should, but this is just a nice check. if it doesn't, you messed up somewhere
  91.  
  92. this same process can be used to solve for three variables, though you'll (probably) need three equations. when you solve for one variable, then you'll be down to two, then you'll solve for one variable again, so it just adds a layer of complexity. this can go on for however many variables you may be given!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement