> restart;

> U:=int(pi*rho*g*(x*(u(x)^2)),x=0..R);

U := int(pi*rho*g*x*u(x)^2,x = 0 .. R)

>

>

> K:=-int(pi*omega^2*rho*x^3*(u(x)),x=0..R);

K := -int(pi*omega^2*rho*x^3*u(x),x = 0 .. R)

> V:=int(2*pi*u(x)*x,x=0..R);

V := int(2*pi*u(x)*x,x = 0 .. R)

> ST:=sigma*int(2*pi*x*u(x)*sqrt(1+diff(u(x),x)^2),x=0..R);

ST := sigma*int(2*pi*x*u(x)*sqrt(1+diff(u(x),x)^2),...

> E:=K+U+ST+lambda*V;

E := -int(pi*omega^2*rho*x^3*u(x),x = 0 .. R)+int(p...

>

> constraint:=pi*R^2*h0=V;

constraint := pi*R^2*h0 = int(2*pi*u(x)*x,x = 0 .. ...

> eq1:=subs(R=x,diff(E,R));

eq1 := -pi*omega^2*rho*x^3*u(x)+pi*rho*g*x*u(x)^2+2...

> eq2:=subs({u(x)=a1,diff(u(x),x)=a2},eq1);

eq2 := -pi*omega^2*rho*x^3*a1+pi*rho*g*x*a1^2+2*sig...

> eq3:=subs({a1=u(x),a2=diff(u(x),x)},diff(eq2,a1))-diff(subs({a1=u(x),a2=diff(u(x),x)},diff(eq2,a2)),x)=0;

eq3 := -pi*omega^2*rho*x^3+2*pi*rho*g*x*u(x)+2*sigm...
eq3 := -pi*omega^2*rho*x^3+2*pi*rho*g*x*u(x)+2*sigm...

# Using the inch/pound/second system

> eq4:=subs({sigma=0.15432358,pi=3.141592,rho=0.036127292,g=386.08858},eq3);

eq4 := -.1134972115*omega^2*x^3+87.63995444*u(x)*x+...
eq4 := -.1134972115*omega^2*x^3+87.63995444*u(x)*x+...
eq4 := -.1134972115*omega^2*x^3+87.63995444*u(x)*x+...

> R:=1.909859317; h0:=3.3750;

R := 1.909859317

h0 := 3.3750

>

> eq5:=eq4;

eq5 := -.1134972115*omega^2*x^3+87.63995444*u(x)*x+...
eq5 := -.1134972115*omega^2*x^3+87.63995444*u(x)*x+...
eq5 := -.1134972115*omega^2*x^3+87.63995444*u(x)*x+...

>

>

> infolevel[dsolve]:=3;

infolevel[dsolve] := 3

>

> Order:=6;

Order := 6

> a:=array(0..Order);

a := array(0 .. 6,[])

# a[1] = 0 because we require that the first derivative of u at 0 is 0

> a[1]:=0;

a[1] := 0

>

> u_s(x):=sum(a[n]*x^n,n=0..Order);

u_s(x) := a[0]+a[2]*x^2+a[3]*x^3+a[4]*x^4+a[5]*x^5+...

> eq6:=subs({u(x)=u_s(x)},eq5);

eq6 := -.1134972115*omega^2*x^3+87.63995444*(a[0]+a...
eq6 := -.1134972115*omega^2*x^3+87.63995444*(a[0]+a...
eq6 := -.1134972115*omega^2*x^3+87.63995444*(a[0]+a...
eq6 := -.1134972115*omega^2*x^3+87.63995444*(a[0]+a...
eq6 := -.1134972115*omega^2*x^3+87.63995444*(a[0]+a...
eq6 := -.1134972115*omega^2*x^3+87.63995444*(a[0]+a...
eq6 := -.1134972115*omega^2*x^3+87.63995444*(a[0]+a...
eq6 := -.1134972115*omega^2*x^3+87.63995444*(a[0]+a...
eq6 := -.1134972115*omega^2*x^3+87.63995444*(a[0]+a...
eq6 := -.1134972115*omega^2*x^3+87.63995444*(a[0]+a...

> eq7:=simplify(eq6);

eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...
eq7 := -.1000000000e-9*(.2837430288e11*omega^2*x^10...

>

> eq8:=taylor(lhs(eq7),x);

eq8 := series((-3.878573794*a[0]*a[2]+6.283184000*l...
eq8 := series((-3.878573794*a[0]*a[2]+6.283184000*l...
eq8 := series((-3.878573794*a[0]*a[2]+6.283184000*l...
eq8 := series((-3.878573794*a[0]*a[2]+6.283184000*l...
eq8 := series((-3.878573794*a[0]*a[2]+6.283184000*l...
eq8 := series((-3.878573794*a[0]*a[2]+6.283184000*l...
eq8 := series((-3.878573794*a[0]*a[2]+6.283184000*l...
eq8 := series((-3.878573794*a[0]*a[2]+6.283184000*l...
eq8 := series((-3.878573794*a[0]*a[2]+6.283184000*l...
eq8 := series((-3.878573794*a[0]*a[2]+6.283184000*l...
eq8 := series((-3.878573794*a[0]*a[2]+6.283184000*l...
eq8 := series((-3.878573794*a[0]*a[2]+6.283184000*l...
eq8 := series((-3.878573794*a[0]*a[2]+6.283184000*l...
eq8 := series((-3.878573794*a[0]*a[2]+6.283184000*l...
eq8 := series((-3.878573794*a[0]*a[2]+6.283184000*l...
eq8 := series((-3.878573794*a[0]*a[2]+6.283184000*l...
eq8 := series((-3.878573794*a[0]*a[2]+6.283184000*l...

> eq9:=convert(eq8, polynom);

eq9 := (-3.878573794*a[0]*a[2]+6.283184000*lambda+8...
eq9 := (-3.878573794*a[0]*a[2]+6.283184000*lambda+8...
eq9 := (-3.878573794*a[0]*a[2]+6.283184000*lambda+8...
eq9 := (-3.878573794*a[0]*a[2]+6.283184000*lambda+8...
eq9 := (-3.878573794*a[0]*a[2]+6.283184000*lambda+8...
eq9 := (-3.878573794*a[0]*a[2]+6.283184000*lambda+8...
eq9 := (-3.878573794*a[0]*a[2]+6.283184000*lambda+8...
eq9 := (-3.878573794*a[0]*a[2]+6.283184000*lambda+8...
eq9 := (-3.878573794*a[0]*a[2]+6.283184000*lambda+8...
eq9 := (-3.878573794*a[0]*a[2]+6.283184000*lambda+8...
eq9 := (-3.878573794*a[0]*a[2]+6.283184000*lambda+8...
eq9 := (-3.878573794*a[0]*a[2]+6.283184000*lambda+8...
eq9 := (-3.878573794*a[0]*a[2]+6.283184000*lambda+8...
eq9 := (-3.878573794*a[0]*a[2]+6.283184000*lambda+8...
eq9 := (-3.878573794*a[0]*a[2]+6.283184000*lambda+8...
eq9 := (-3.878573794*a[0]*a[2]+6.283184000*lambda+8...
eq9 := (-3.878573794*a[0]*a[2]+6.283184000*lambda+8...

> s:=coeffs(eq9,x);

s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...
s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...
s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...
s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...
s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...
s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...
s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...
s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...
s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...
s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...
s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...
s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...
s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...
s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...
s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...
s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...
s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...
s := .1800000000e-8*(.3878573794e11*a[0]*a[2]-.6283...

> eq9:=map(x->x=0,{s});

eq9 := {-8.726791037*a[0]*a[3] = 0, -3.878573794*a[...
eq9 := {-8.726791037*a[0]*a[3] = 0, -3.878573794*a[...
eq9 := {-8.726791037*a[0]*a[3] = 0, -3.878573794*a[...
eq9 := {-8.726791037*a[0]*a[3] = 0, -3.878573794*a[...
eq9 := {-8.726791037*a[0]*a[3] = 0, -3.878573794*a[...
eq9 := {-8.726791037*a[0]*a[3] = 0, -3.878573794*a[...
eq9 := {-8.726791037*a[0]*a[3] = 0, -3.878573794*a[...
eq9 := {-8.726791037*a[0]*a[3] = 0, -3.878573794*a[...
eq9 := {-8.726791037*a[0]*a[3] = 0, -3.878573794*a[...
eq9 := {-8.726791037*a[0]*a[3] = 0, -3.878573794*a[...
eq9 := {-8.726791037*a[0]*a[3] = 0, -3.878573794*a[...
eq9 := {-8.726791037*a[0]*a[3] = 0, -3.878573794*a[...
eq9 := {-8.726791037*a[0]*a[3] = 0, -3.878573794*a[...
eq9 := {-8.726791037*a[0]*a[3] = 0, -3.878573794*a[...
eq9 := {-8.726791037*a[0]*a[3] = 0, -3.878573794*a[...
eq9 := {-8.726791037*a[0]*a[3] = 0, -3.878573794*a[...

Error, (in solve) invalid arguments

>

> eqns:=solve(eq9,{seq(a[i],i=2..Order)});

>

eqns := {a[5] = 0., a[3] = 0., a[2] = .5156534608e-...
eqns := {a[5] = 0., a[3] = 0., a[2] = .5156534608e-...
eqns := {a[5] = 0., a[3] = 0., a[2] = .5156534608e-...
eqns := {a[5] = 0., a[3] = 0., a[2] = .5156534608e-...
eqns := {a[5] = 0., a[3] = 0., a[2] = .5156534608e-...
eqns := {a[5] = 0., a[3] = 0., a[2] = .5156534608e-...
eqns := {a[5] = 0., a[3] = 0., a[2] = .5156534608e-...
eqns := {a[5] = 0., a[3] = 0., a[2] = .5156534608e-...
eqns := {a[5] = 0., a[3] = 0., a[2] = .5156534608e-...
eqns := {a[5] = 0., a[3] = 0., a[2] = .5156534608e-...
eqns := {a[5] = 0., a[3] = 0., a[2] = .5156534608e-...
eqns := {a[5] = 0., a[3] = 0., a[2] = .5156534608e-...
eqns := {a[5] = 0., a[3] = 0., a[2] = .5156534608e-...

>

> u_1(x):=subs(eqns,sum(a[n]*x^n,n=0..Order));

u_1(x) := a[0]+.5156534608e-10*(.3141592000e11*lamb...
u_1(x) := a[0]+.5156534608e-10*(.3141592000e11*lamb...
u_1(x) := a[0]+.5156534608e-10*(.3141592000e11*lamb...
u_1(x) := a[0]+.5156534608e-10*(.3141592000e11*lamb...
u_1(x) := a[0]+.5156534608e-10*(.3141592000e11*lamb...
u_1(x) := a[0]+.5156534608e-10*(.3141592000e11*lamb...
u_1(x) := a[0]+.5156534608e-10*(.3141592000e11*lamb...
u_1(x) := a[0]+.5156534608e-10*(.3141592000e11*lamb...
u_1(x) := a[0]+.5156534608e-10*(.3141592000e11*lamb...
u_1(x) := a[0]+.5156534608e-10*(.3141592000e11*lamb...
u_1(x) := a[0]+.5156534608e-10*(.3141592000e11*lamb...
u_1(x) := a[0]+.5156534608e-10*(.3141592000e11*lamb...

#Trial 1, rotational speed = 6.86 rad/sec

# a[0] is found from experimental data

> u_a(x):=subs({a[0]=2.6250,omega=6.860570959},u_1(x));

u_a(x) := 2.6250+.1964394137e-10*(.3141592000e11*la...
u_a(x) := 2.6250+.1964394137e-10*(.3141592000e11*la...
u_a(x) := 2.6250+.1964394137e-10*(.3141592000e11*la...
u_a(x) := 2.6250+.1964394137e-10*(.3141592000e11*la...

u_a(x) := 2.6250+(22.69116099+.6171324904*lambda)*x...
u_a(x) := 2.6250+(22.69116099+.6171324904*lambda)*x...
u_a(x) := 2.6250+(22.69116099+.6171324904*lambda)*x...

> # Get a lambda that fits the constraint

> lambda_optimal:=max(fsolve(2*int(u_a(x)*x,x=0..R)-R^2*h0=0,lambda));

lambda_optimal := -36.58177874

> u_f(x):=subs(lambda=lambda_optimal,u_a(x));

u_f(x) := 2.6250+.1153567866*x^2+.1167070968*x^4+.5...

>

> subs(x=n58,u_f(x));

2.6250+.1153567866*n58^2+.1167070968*n58^4+.5401277...

>

> plot(u_f(x),x=-R..R);

[Maple Plot]

Trial #2, rotational speed = 9.02 rad/sec

> u_a(x):=subs({a[0]=2.1250,omega=9.017534469
},u_1(x));

u_a(x) := 2.1250+.2426604521e-10*(.3141592000e11*la...
u_a(x) := 2.1250+.2426604521e-10*(.3141592000e11*la...
u_a(x) := 2.1250+.2426604521e-10*(.3141592000e11*la...
u_a(x) := 2.1250+.2426604521e-10*(.3141592000e11*la...

> # Get a lambda that fits the constraint

> lambda_optimal:=max(fsolve(2*int(u_a(x)*x,x=0..R)-R^2*h0=0,lambda));

lambda_optimal := -29.62919209

> u_f(x):=subs(lambda=lambda_optimal,u_a(x));

u_f(x) := 2.1250+.1260476593*x^2+.5433966658e-1*x^4...

> subs(x=n58,u_f(x));

2.1250+.1260476593*n58^2+.5433966658e-1*n58^4+.9321...

>

> plot(u_f(x),x=-R..R);

[Maple Plot]

Trial #3: rotational speed = 8.31 rad/sec

> u_a(x):=subs({a[0]=2.4375,omega=8.31089566},u_1(x));

u_a(x) := 2.4375+.2115501378e-10*(.3141592000e11*la...
u_a(x) := 2.4375+.2115501378e-10*(.3141592000e11*la...
u_a(x) := 2.4375+.2115501378e-10*(.3141592000e11*la...
u_a(x) := 2.4375+.2115501378e-10*(.3141592000e11*la...

> # Get a lambda that fits the constraint

> lambda_optimal:=max(fsolve(2*int(u_a(x)*x,x=0..R)-R^2*h0=0,lambda));

lambda_optimal := -34.02484968

> u_f(x):=subs(lambda=lambda_optimal,u_a(x));

u_f(x) := 2.4375+.8542830358e-1*x^2-.9812822251e-2*...

>

> subs(x=n58,u_f(x));

2.4375+.8542830358e-1*n58^2-.9812822251e-2*n58^4-.1...

> plot(u_f(x),x=-R..R);

[Maple Plot]

>

>

Trial #4: rotational speed = 6.89 rad/sec

> u_a(x):=subs({omega=6.889385357,a[0]=2.6250},u_1(x));

u_a(x) := 2.6250+.1964394137e-10*(.3141592000e11*la...
u_a(x) := 2.6250+.1964394137e-10*(.3141592000e11*la...
u_a(x) := 2.6250+.1964394137e-10*(.3141592000e11*la...
u_a(x) := 2.6250+.1964394137e-10*(.3141592000e11*la...

> # Get a lambda that fits the constraint

> lambda_optimal:=max(fsolve(2*int(u_a(x)*x,x=0..R)-R^2*h0=0,lambda));

lambda_optimal := -36.58538015

> u_f(x):=subs(lambda=lambda_optimal,u_a(x));

u_f(x) := 2.6250+.1131342318*x^2+.1108145757*x^4+.6...

> subs(x=n58,u_f(x));

2.6250+.1131342318*n58^2+.1108145757*n58^4+.6265482...

-36.66862196

> plot(u_f(x),x=-R..R);

[Maple Plot]

>

Trial #5: rotational speed = 8.89 rad/sec

> u_a(x):=subs({omega=8.888555735,a[0]=2.2500},u_1(x));

u_a(x) := 2.2500+.2291793159e-10*(.3141592000e11*la...
u_a(x) := 2.2500+.2291793159e-10*(.3141592000e11*la...
u_a(x) := 2.2500+.2291793159e-10*(.3141592000e11*la...
u_a(x) := 2.2500+.2291793159e-10*(.3141592000e11*la...

> # Get a lambda that fits the constraint

> lambda_optimal:=max(fsolve(2*int(u_a(x)*x,x=0..R)-R^2*h0=0,lambda));

lambda_optimal := -31.37275399

> u_f(x):=subs(lambda=lambda_optimal,u_a(x));

u_f(x) := 2.2500+.1190305824*x^2+.4129230026e-1*x^4...

> subs(x=n58,u_f(x));

2.2500+.1190305824*n58^2+.4129230026e-1*n58^4+.9806...

-36.66862196

> plot(u_f(x),x=-R..R);

[Maple Plot]

>

>

Trial #6: rotational speed = 9.21 rad/sec

> u_a(x):=subs({omega=9.205514113,a[0]=2.8125},u_1(x));

u_a(x) := 2.8125+.1833434528e-10*(.3141592000e11*la...
u_a(x) := 2.8125+.1833434528e-10*(.3141592000e11*la...
u_a(x) := 2.8125+.1833434528e-10*(.3141592000e11*la...
u_a(x) := 2.8125+.1833434528e-10*(.3141592000e11*la...

> # Get a lambda that fits the constraint

> lambda_optimal:=max(fsolve(2*int(u_a(x)*x,x=0..R)-R^2*h0=0,lambda));

lambda_optimal := -39.12916253

> u_f(x):=subs(lambda=lambda_optimal,u_a(x));

u_f(x) := 2.8125+.1467927621*x^2+.7469098998e-1*x^4...

> subs(x=n58,u_f(x));

2.8125+.1467927621*n58^2+.7469098998e-1*n58^4+.1224...

-36.66862196

> plot(u_f(x),x=-R..R);

[Maple Plot]

>

>

Trial #7: rotational speed = 10.15 rad/sec

> u_a(x):=subs({omega=10.14678445,a[0]=2.1875},u_1(x));

u_a(x) := 2.1875+.2357272963e-10*(.3141592000e11*la...
u_a(x) := 2.1875+.2357272963e-10*(.3141592000e11*la...
u_a(x) := 2.1875+.2357272963e-10*(.3141592000e11*la...
u_a(x) := 2.1875+.2357272963e-10*(.3141592000e11*la...

> # Get a lambda that fits the constraint

> lambda_optimal:=max(fsolve(2*int(u_a(x)*x,x=0..R)-R^2*h0=0,lambda));

lambda_optimal := -30.48531770

> u_f(x):=subs(lambda=lambda_optimal,u_a(x));

u_f(x) := 2.1875+.1340325818*x^2+.1131364049e-2*x^4...

> subs(x=n58,u_f(x));

2.1875+.1340325818*n58^2+.1131364049e-2*n58^4+.5913...

-36.66862196

> plot(u_f(x),x=-R..R);

[Maple Plot]

>

>

Trial #8: rotational speed = 8.56 rad/sec

> u_a(x):=subs({omega=8.558728285,a[0]=2.0000},u_1(x));

u_a(x) := 2.0000+.2578267304e-10*(.3141592000e11*la...
u_a(x) := 2.0000+.2578267304e-10*(.3141592000e11*la...
u_a(x) := 2.0000+.2578267304e-10*(.3141592000e11*la...
u_a(x) := 2.0000+.2578267304e-10*(.3141592000e11*la...

> # Get a lambda that fits the constraint

> lambda_optimal:=max(fsolve(2*int(u_a(x)*x,x=0..R)-R^2*h0=0,lambda));

lambda_optimal := -27.93150935

> u_f(x):=subs(lambda=lambda_optimal,u_a(x));

u_f(x) := 2.0000+.9678037854e-1*x^2+.4573536138e-2*...

> subs(x=n58,u_f(x));

2.0000+.9678037854e-1*n58^2+.4573536138e-2*n58^4+.1...

-36.66862196

> plot(u_f(x),x=-R..R);

[Maple Plot]

>

>

>

Trial #9: rotational speed =9.91 rad/sec

> u_a(x):=subs({omega=9.913521036,a[0]=1.6250},u_1(x));

u_a(x) := 1.6250+.3173252067e-10*(.3141592000e11*la...
u_a(x) := 1.6250+.3173252067e-10*(.3141592000e11*la...
u_a(x) := 1.6250+.3173252067e-10*(.3141592000e11*la...
u_a(x) := 1.6250+.3173252067e-10*(.3141592000e11*la...

> # Get a lambda that fits the constraint

> lambda_optimal:=max(fsolve(2*int(u_a(x)*x,x=0..R)-R^2*h0=0,lambda));

lambda_optimal := -22.67590339

> u_f(x):=subs(lambda=lambda_optimal,u_a(x));

u_f(x) := 1.6250+.1440174168*x^2+.5642052412e-1*x^4...

> subs(x=n58,u_f(x));

1.6250+.1440174168*n58^2+.5642052412e-1*n58^4+.1901...

-36.66862196

> plot(u_f(x),x=-R..R);

[Maple Plot]

>

>

>

>

>

>

>

>