On Wed, Oct 8, 2008 at 7:24 PM, DJDANG <[EMAIL PROTECTED]> wrote: > > Hello everyone, > I'm sure someone can help me to solve this problem I'm having right > now. It's about vectors and it's really easy when you do it on paper > but it becomes a little tricky when you try to solve it in sage. > > This is the problem: > Let be u=(1,2), v=(-3,4), w=(w1,4), x=(-2,x2) where w1, x2 are > integers. > Find w1 and x2 if > a) w=2*u > b) (3/2)x=u > c) w+x=u > > Please help me with the adecuate code to solve this problem.
In general, you might have more luck asking this type of question in the sage-support email list. This list is more for topics relating to using Sage in teaching. However, for your specific problem, this seems to be a problem in solving simultaneous linear equations. In other words, why don't you just write the vector equations out as sets of simultaneous linear equations? Once you do that, try using the solve command (type solve? at the command line for syntax and examples). > Thank in advance, > Daniel Gonzalez ;-) > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sage-edu" group. To post to this group, send email to sage-edu@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-edu?hl=en -~----------~----~----~----~------~----~------~--~---