- #1
pjconradie
- 1
- 0
Hi
I have 8 equations where the first four are coupled and the second four is coupled. The first set is independent of the second set, BUT the second set requires the final values of first four variables (t(final),x(final),y(final),z(final)) to be integrated. How do you implement the use of the final values for the first four into the second set so that they could be integrated
sol_GE_S4:= dsolve({GE1_S4,GE2_S4,GE3_S4,GE4_S4,init_S4_GE},t(v),x(v),y(v),z(v)},numeric);
is the command to solve the first four.
EXAMPLE:
First set:
diff(t(v),v) = 0;
diff(x(v),v) = 0;
diff(y(v),v) = 0;
diff(z(v),v) = 0;
Second set:
diff(tau(v),v) + t(final) = 0;
[diff(r(v),v) + t(final)]*x(final)= 0;
[diff(theta(v),v) + t(final)]*y(final)= 0;
[diff(phi(v),v) + t(final)]*z(final)= 0;
How would you solve the second set ?
I have 8 equations where the first four are coupled and the second four is coupled. The first set is independent of the second set, BUT the second set requires the final values of first four variables (t(final),x(final),y(final),z(final)) to be integrated. How do you implement the use of the final values for the first four into the second set so that they could be integrated
sol_GE_S4:= dsolve({GE1_S4,GE2_S4,GE3_S4,GE4_S4,init_S4_GE},t(v),x(v),y(v),z(v)},numeric);
is the command to solve the first four.
EXAMPLE:
First set:
diff(t(v),v) = 0;
diff(x(v),v) = 0;
diff(y(v),v) = 0;
diff(z(v),v) = 0;
Second set:
diff(tau(v),v) + t(final) = 0;
[diff(r(v),v) + t(final)]*x(final)= 0;
[diff(theta(v),v) + t(final)]*y(final)= 0;
[diff(phi(v),v) + t(final)]*z(final)= 0;
How would you solve the second set ?