2019-03-17 17:40:59 +0100 | received badge | ● Famous Question (source) |
2018-05-03 00:18:34 +0100 | received badge | ● Student (source) |
2017-08-09 01:09:23 +0100 | received badge | ● Popular Question (source) |
2016-02-06 04:37:24 +0100 | received badge | ● Notable Question (source) |
2016-02-06 04:37:24 +0100 | received badge | ● Popular Question (source) |
2014-09-11 09:16:19 +0100 | asked a question | how to convert a named function to sympy i know from another question, that or works. But how can i convert a equation named for example d to sympy. i also tried to do but than he is telling me :'( thank you a lot Thank you guys. I can´t find a Sage 6.4 Beta3 Version vor VM. I downloaded this . Is it somehow possible, to use this folder to run in through a VM. I have no experience with that and as far as i know until yet do i need a *.ova file. I now tried in sage 6.3 solve it for theta works now, wich is a big step forward, thank you for that! But for any other variable for example r is the result: [] for d it is : [0] should there just come the equation for d? Does this mean, that sage can´t solve this equation or, that i still do something wrong? |
2014-09-10 17:29:40 +0100 | received badge | ● Editor (source) |
2014-09-10 17:25:14 +0100 | answered a question | how to solve this equation for several variables (with sympy?) very nice, thank you! how can i convert an sage expression to an sympy expression? i`d like to create the equation in sage and than solve it with sympy or is there a better way? var('r h s phi theta d') s_v=vector([s*cos(theta),-s*sin(theta)]) h_v=vector([h*sin(phi),-h*cos(phi)]) r_v=vector([r*cos(phi),r*sin(phi)]) f_v=r_v+h_v-s_v def f(r,h,s,phi,theta): return norm(f_v(r=r,h=h,s=s,phi=phi,theta=theta)) from sympy import * r,h,s,phi,theta,d=symbols('r h s phi theta d') eq = f from sympy.solvers import solve sol=solve(eq, h) sol1=sol[0]._sage_() sol1(s=1) (how can i revise my question?) |
2014-09-10 12:30:53 +0100 | asked a question | how to solve this equation for several variables (with sympy?) Hi, I found some similar questions but i can´t solve my problem with these answers. I use sagemath since 2 days and want to investigate a equation in dependence for all variables for that i try to solve it for any variables: so i want to solve this equation for r (and later for all other variables) but the solution is shitty like this: so no r=... as far as i understood does the solve command has problem with sqrt() so i found the sympy command in this forum and tried to use like this(for me its not possible to take the equation befor the sympy announcement so i wrote an other example by hand: But now i can´t variate the variables. That is a very long question, it would be very nice if some of you make the afford and have a look at this. Thank you very much for this very nice, thank you! how can i convert an sage expression to an sympy expression? i`d like to create the equation in sage and than solve it with sympy or is there a better way? (more) |