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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started