Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Plot a function.' topicStudent Support Forum > General > Archives > "Plot a function."

Next Comment >Help | Reply To Topic
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: ,

Subject (listing for 'Plot a function.')
Author Date Posted
Plot a function. Voicu Razvan 10/24/12 07:12am
Re: Plot a function. Voicu Razvan 10/24/12 12:24pm
Re: Re: Plot a function. Bill Simpson 10/24/12 3:11pm
Re: Plot a function. Bill Simpson 10/24/12 12:32pm
Next Comment >Help | Reply To Topic