RE: plot
- To: mathgroup at smc.vnet.net
- Subject: [mg9612] RE: plot
- From: "Richard W. Finley, M. D." <trfin at umsmed.edu>
- Date: Fri, 14 Nov 1997 21:39:53 -0500
- Sender: owner-wri-mathgroup at wolfram.com
Saeed
All you need to do is load the package Graphics`ImplicitPlot` and then
plot your function using:
ImplicitPlot[ f[u] - constant term g[x] == 0 , { x , 0, 5 } ]
Of course, you have to specify the values of gamma and lambda before you
do this. I tried it with your functions and it worked fine.
Hope that helps
RF
-----Original Message-----
From: Saeed Esmaily Rashid [SMTP:saeedr at stud.ntnu.no] To:
mathgroup at smc.vnet.net
Sent: Thursday, November 13, 1997 12:40 AM To: mathgroup at smc.vnet.net
Subject:
Hello!
My name is Saeed, I have problem that i hope somebody can help me. The
problem consists of two functions
f(u):=u^(4/(gamma+1))*(1/2+1/((gamma-1)*u^2))
and
g(x):=x^(4*(gamma-1)/(gamma+1))/(gamma-1)+x^(-(5-3*gamma)/(gamma+1))
they are related to each other by the
f(u)=\lambda^(-2(gamma-1)/(gamma+1))*g(x)
where lambda is some constant, the value of gamma=7/5. I want to plot a
graph which shows the variation of u as a function of x. I have tried
for many hours but i can't find the way doing it in Mathematica 3.0.0.
Any help appriciated.
Thanks