Question: Exercise 43. Create a Sage interactive that plots the vectors u = c1[1,2], v = c2[1,1/2] and their sum for values of c1 and c2
Exercise 43. Create a Sage interactive that plots the vectors u = c1[1,2], v = c2[1,1/2] and their sum for values of c1 and c2 given by sliders. Also, the interactive should plot a specified goal point (this can be hard-coded or supplied as input), a point at the head of u + v and the coordinates of this point. Use this interactive to approach the points (2,3), (-5, 1.2), (-4,-8) and (3,-2.4) as closely as possible and record the values of c1 and c2 required to do this. HINT: To be able to supply a vector as input to an interactive, use the syntax target=vector([1,1]) as one of your input variables when declaring the function.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
