I am new to Sage and symbolic math in general. I am trying to find the new coefficients of an equation under a change of variable. For example, if I have the equation
eq == a*x + b*y and I rotate the axes (i.e. cs = cos(theta), sn = sin(theta) ) x == x1*cs + y1*sn y == -x1*sn + y1*cs I would like to find the coefficients with the new variables eq = a1*x1 + b1*y1 which in this case is a1 = a*cs - b*sn and b1 = a*sn + b*cs (In my desired case the original equation is a more complicated polynomial). So far I haven't figured out how to tell SOLVE or SIMPLIFY to solve for the new coefficients. Thanks for any advice. Wayne Landsman --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---