| Author |
Comment/Response |
Voicu Razvan
|
10/24/12 07:12am
Hi.
I got from two results (Hp and Q) this stuff:
form Q, i've got divisions (qpj) and from Hp i've got Hpjj (generated by an n range variable].
Now finally i have a function "Hpx = Hpjj + kh*(qpj^2) " which generates a Hpx value for every qpj and Hpjj value. (somehow links Debit Q values to Hpjj values).
Now I tryed for 2 hours to plot that function and i can't find a way how.
This is math code that can help
"n1 = 12000
j = Range[1, n1]
dQ = Q/10000
qpj = j*dQ"
in the end I have
"jj = Range[0.1, n1]
if[j == 0, HPjj = Hs, Hpjj = Hpj]
......
Hpx = Hpjj + kh*(qpj^2) "
So, how do i plot Hpx?
[the full code is in the attachment]
Attachment: Untitled-1.nb, URL: , |
|