KBriggs

56 Reputation

2 Badges

15 years, 364 days

MaplePrimes Activity


These are questions asked by KBriggs

Hello, I am solving an ODE numerically with maple. The output is an array of the form, for example: sol(0) = [t = 0., z(t) = 0., diff(z(t), t) = 0.] Now, I can access the three sections like: sol(0)[2] = z(t) = 0. But I just want the number. How do I access just the 0, in this case?
Hey all, I am playing around with different numerical ODE solvers in Maple, and with method=dverk78, I get an odd error that maybe someone here can help me interpret: > S2 := dsolve([accx, accy, IC], numeric, method = dverk78); S2:=proc(x_dverk78) ... end; > S2(0.1000000e-14); Error, (in S2) step size
Hey all, I want to solve ODEs with Maple but for some reason I am not getting any output. No error, just no output. Can someone tell me where I am going wrong (this DE is just a random example I pulled out of the air): > eqn := diff(y(t), `$`(t, 2))+1/y(t)^2 = sin(t); > dsolve(eqn, y(t));
Hey all, I have a system of differential equations that I want to solve using Runge Kutta, but for hte life of me I can't figure out the syntax for the command. Maybe someone here can point out where I am going wrong? > accx := m*(diff(x(t), `$`(t, 2))) = -q*A*sin(w*t)-q^2/(x(t)^2+y(t)^2); > accy := m*(diff(y(t), `$`(t, 2))) = -q^2/(x(t)^2+y(t)^2); > IC := x(0) = -0.1322943021e-8, y(0) = 0.793765813e-10, (D(y))(0) = 0, (D(x))(0) = 3839294.99; > RungeKutta([acc, acc2], IC, 0.1e-14);
Hey, I am using Maple 11 to numerically solve for coeffiecients in a system of nonlinear equations, and I need to use the solution elsewhere in my procedure, but the return from fsolve looks like: coefficients:={j = -139.55659155625, k = -3.8511665004543} and I can't access the actual numeric values since coefficients[1]; returns: j = -139.55659155625 when all I want is -139.55659155625. I am sure there is a simply solution but I haven't had any luck finding it. Can anyone help me? Thanks Kyle
Page 1 of 1