Skip to content
Snippets Groups Projects
Commit b1cf16ce authored by Elias Pipping's avatar Elias Pipping
Browse files

[Extend] Add maxima script for state evolution

parent ab49330b
No related branches found
No related tags found
No related merge requests found
/* [wxMaxima batch file version 1] [ DO NOT EDIT BY HAND! ]*/
/* [ Created with wxMaxima version 12.04.0 ] */
/* [wxMaxima: input start ] */
d_eq : 'diff(theta,t) = 1 - theta*(V/L);
ode2(d_eq, theta, t)$
subst(L/V[ref]*exp(alpha), theta, %)$
% / L * V[ref]$
ic1(%, t = 0, alpha = alpha[0])$
d_alpha : log(expand(%));
/* [wxMaxima: input end ] */
/* [wxMaxima: input start ] */
r_eq : 'diff(theta,t) = -(V/L)*theta*log(theta*(V/L));
ode2(r_eq,theta,t)$
subst(L/V[ref] * exp(alpha),theta,%)$
ic1(%,t=0,alpha=alpha[0])$
map(exp,-(V/L)*%)$
block([logexpand : all], expand(% - log(V/V[ref])))$
r_alpha : expand(logcontract(%));
/* [wxMaxima: input end ] */
/* Maxima can't load/batch files which end with a comment! */
"Created with wxMaxima"$
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment