# Chapter 2, Exercises 13 and 14

Click the button below to generate a random weight $$w$$. Using $$\{a_n\}$$ and $$\{b_n\}$$ from the previous exercise, compute the function $$c_n = wa_n + (1-w)b_n$$. Use this to complete exercise 13.

Enter the sequences $$\{a_n\}$$ and $$\{b_n\}$$ below. The new sequence $$c_n$$ will be automatically generated, and all three sequences graphed below. Does this agree with your answer to exercise 13?

Weight: