Question: Need help debbuging my script .Howto get my Cd:=v-> expression to execute my values?

restart;
globale values, small water droplet in gravity field  , through air with velocity V=[vx,vy]  ,v=abs(V)  total dragforce kan be written FDD=abs(FD)

mu := 0.18e-4; rho := 1, 2; d := .2; Co := .4;
#abs(FD) divided into  FDx og FDy
%;

FDx := (3*Pi*mu*d+(1/8)*Pi*Co*rho*d^2*abs(v))*vx;




FDy := (3*Pi*mu*d+(1/8)*Pi*Co*rho*d^2*abs(v))*vy;

# Define v=[vx,vy] to abs(v) wich gives the length of v (scalar value)


v := proc (vx, vy) options operator, arrow; (vx^2+vy^2)^.5 end proc;

#Make FDx og FDy to  abs(FD) 

FD := sqrt(FDx^2+FDy^2);

#Define total dragforce

FDD := (1/8)*Cd*abs(v)*Pi*d^2*abs(v^2);

#Total dragforce can be writte like FDD=abs(FD), solve for Cd(v)

FD1 := solve(FD = FDD, Cd);

#Make a function which returns Cd(v) 

Cd := proc (v) options operator, arrow; 63.66197724*FD1/abs(v)^3 end proc;

HOWTO GET MY Cd(v) to return values ?????


Ive got some problem understand the use of = and := , and how to get my Cd function to mangage the v expression. A copy (in norwegian) from my assignment to see the formulas is attached. Im thankfull for any help.

inl1d.pdf

Please Wait...