Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Problem with plotting.' topicStudent Support Forum > General > Archives > "Problem with plotting."

Next Comment >Help | Reply To Topic
Author Comment/Response
MT
06/25/12 5:32pm

Hi there, I have problem with plotting this function:

Clear["Global`*"]
Fi = .1;
do = .18;
Ao = Pi*do^2/4;
Cd = .61;
g = 9.81;
A = 5;

hss = (Fi/(Ao*Cd))^2*(1/(2*9.81))
F[t_] := {
If[t < 10, hSP = hss, hSP = 2*hss];
DSolve[{h'[x] == (hSP - h[x])/A, h[10] == hss}, h, x];
}

Plot[F[t] /. %, {t, 0, 20}]

Could you help me?

URL: ,

Subject (listing for 'Problem with plotting.')
Author Date Posted
Problem with plotting. MT 06/25/12 5:32pm
Re: Problem with plotting. jf 06/26/12 7:35pm
Next Comment >Help | Reply To Topic