You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to evaluate the dx/dt change of variables with sympy given x(chi), t(tau) expressions?
fromsympyimportsymbols, diff# Define the symbolsx, chi, x_c, t, tau, t_c=symbols('x chi x_c t tau t_c', real=True)
# Define the expressions for x and t in terms of chi and taux_expr=x_c*chit_expr=t_c*taux_expr.diff(t_expr)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Given
expressing dx/dt in chi, tau is: x_c/t_c * dchi / dtau
https://www.wikiwand.com/en/Nondimensionalization#Conventions
How to evaluate the dx/dt change of variables with sympy given x(chi), t(tau) expressions?
results in the somewhat obvious error:
Beta Was this translation helpful? Give feedback.
All reactions