!qfTHdfJVUSCjrvSsUo:matrix.org

Python Científico

3973 Members
Python + Ciencia en español30 Servers

Load older messages


SenderMessageTime
24 Oct 2017
@telegram_155516902:t2bot.ioManuel (Telegram)si dices que el sistema es compatible determinado13:20:55
@telegram_9268646:t2bot.ioDavid (Telegram)las x13:20:55
@telegram_155516902:t2bot.ioManuel (Telegram)ok, perdon13:20:55
@telegram_9268646:t2bot.ioDavid (Telegram)a,b,c son los coeficientes13:20:55
@telegram_155516902:t2bot.ioManuel (Telegram)entonces solo tendra una solucion13:20:55
@telegram_155516902:t2bot.ioManuel (Telegram)dicho de otra forma, si quieres que tu sistema tenga alguna solucion distinta de la 0, 0... necesitas que sea indetermimado, y por lo tanto tdnga infinitas soluciones13:20:55
@telegram_2397373:t2bot.ioJuan Luis Cano (Telegram)luego ya la naturaleza de la solución... es otra historia13:20:55
@telegram_155516902:t2bot.ioManuel (Telegram)siempre que tengas un sistema del tipo13:20:55
@telegram_155516902:t2bot.ioManuel (Telegram)?13:20:55
@telegram_9268646:t2bot.ioDavid (Telegram)es un calculo por metodo numerico de una ecuacion diferencial13:20:55
@telegram_9268646:t2bot.ioDavid (Telegram)una ecuacion podria ser X1+X8+X2+2*X9=013:20:55
@telegram_9268646:t2bot.ioDavid (Telegram)soy amigo de las expresiones regulares13:20:55
@telegram_9268646:t2bot.ioDavid (Telegram) Reply to Juan Luis Cano (Telegram):
pero es que el problema es sacar los coeficientes del string

bueno serian + y -

13:20:55
@telegram_155516902:t2bot.ioManuel (Telegram)que es (0,0,0...0)13:20:55
@telegram_9268646:t2bot.ioDavid (Telegram)from sympy import symbols, Wild, pretty_print a, b, c, d, x, s = symbols("a b c d x s")13:20:55
@telegram_2397373:t2bot.ioJuan Luis Cano (Telegram)pero es que el problema es sacar los coeficientes del string13:20:55
@telegram_155516902:t2bot.ioManuel (Telegram)no le habia entendido13:20:55
@telegram_9268646:t2bot.ioDavid (Telegram)las ecuaciones se generan en base a 4 datos de entradas13:20:55
@telegram_9268646:t2bot.ioDavid (Telegram) Reply to Alberto Lorenzo Márquez (Telegram):
Para ver cómo convertir una string a símbolos de Sympy, échale un ojo a la función sympify

me lo apunto

13:20:56
@telegram_9268646:t2bot.ioDavid (Telegram)lo que no se como generar la Xn para usarlas en este aspecto13:20:56
@telegram_2397373:t2bot.ioJuan Luis Cano (Telegram)toma ya13:21:01
@telegram_59004152:t2bot.ioJavi Blasco (Telegram)si los vas a meter tu, los metes directamente en una matriz y fuera, en mi opinion. Si te van a venir de leer un fichero con las ecuaciones escritas, o bien simpy o bien parseas, como bien dices...13:21:01
@telegram_155516902:t2bot.ioManuel (Telegram)tienes que tener termino independiente (termino que no vaya multiplicado por x) distinto de 0 para que un sistema determinado no te de la solucion trivial13:21:01
@telegram_9268646:t2bot.ioDavid (Telegram) Reply to Alberto Lorenzo Márquez (Telegram):
Lo que te interesa son los coeficientes del sistema, el nombre de las variables te da igual; por lo tanto, no hace falta un parser

pq el resto serian 0 en lamatriz no?

13:21:01
@telegram_9268646:t2bot.ioDavid (Telegram)no mantendra un orden con las incognitas13:21:01
@telegram_2397373:t2bot.ioJuan Luis Cano (Telegram) Forwarded from David (Telegram):
como se podria generar la matriz A de A·X=B
13:21:01
@telegram_9268646:t2bot.ioDavid (Telegram) Reply to Alberto Lorenzo Márquez (Telegram):
¡@chaotic_light resolví tu problema en dos patadas gracias a tu idea!

bombardeo de idea y equipo multidisciplinar

13:21:01
@telegram_59004152:t2bot.ioJavi Blasco (Telegram)yo primero me aclararia con "de donde vienen mis datos y que forma tienen"13:21:01
@telegram_155516902:t2bot.ioManuel (Telegram)la soluciom trivial13:21:01
@telegram_9268646:t2bot.ioDavid (Telegram)cuando aprenderan13:21:01

There are no newer messages yet.


Back to Room ListRoom Version: