 |
|
List Archives > 
Mathcad List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[mathcad] 3d graphs for random functions
| [mathcad] 3d graphs for random functions |
|
Author: =?iso-8859-2?Q?Damian_Ga=B3=EAziowski?=
Posted: Wed, 2 Apr 2008 12:18:08 +0200
|
Hey,
I need to make a 3d surface plot for my function, and i have problems with that. I didn't find the answear in similar topics so i decided to make a new one.
the function is:
G(x,y)=(sqrt(1+2*x^2*y^2))/sqrt((1-y^2)^2))
when i'm trying to create a plot, mathcad report me an error "divide by zero",
even when i'm setting x>0 and y>0
maybe formula is wrong, i don't know
all i want is to show how my variable G depends on x,y
G=(sqrt(1+2*x^2*y^2))/sqrt((1-y)^2))
and i want to make a plot ...G on Y axis, x on X, y on Z. What is the right formula...?How should i do this?
best regard!
Damien
|
| RE: [mathcad] 3d graphs for random functions |
|
Author: Neil Harris
Posted: Wed, 2 Apr 2008 12:31:28 +0100
|
Damien,
Your function becomes infinite at y = +/- 1, as 1 - y^2 = 0 at these values.
Neil
________________________________
From: Damian Gałęziowski "mailto:damian.galeziowski"
Sent: 02 April 2008 11:18
To: "mathcad"
Subject: [mathcad] 3d graphs for random functions
Hey,
I need to make a 3d surface plot for my function, and i have problems with that. I didn't find the answear in similar topics so i decided to make a new one.
the function is:
G(x,y)=(sqrt(1+2*x^2*y^2))/sqrt((1-y^2)^2))
when i'm trying to create a plot, mathcad report me an error "divide by zero",
even when i'm setting x>0 and y>0
maybe formula is wrong, i don't know
all i want is to show how my variable G depends on x,y
G=(sqrt(1+2*x^2*y^2))/sqrt((1-y)^2))
and i want to make a plot ...G on Y axis, x on X, y on Z. What is the right formula...?How should i do this?
best regard!
Damien
|
| Re: [mathcad] 3d graphs for random functions |
|
Author: =?iso-8859-2?Q?Damian_Ga=B3=EAziowski?=
Posted: Wed, 2 Apr 2008 17:45:54 +0200
|
helo Neil
problem is exactly when i'm setting y different from 1 and -1 stil the same error. "divide by zero"
have you checked it? do you have 3d surface graph to that?
Damien
ps. can you send me right definition of this function in mathcad?, parameters as well.
From: Neil Harris
To: "mathcad"
Sent: Wednesday, April 02, 2008 1:31 PM
Subject: RE: [mathcad] 3d graphs for random functions
Damien,
Your function becomes infinite at y = +/- 1, as 1 - y^2 = 0 at these values.
Neil
From: Damian Gałęziowski "mailto:damian.galeziowski"
Sent: 02 April 2008 11:18
To: "mathcad"
Subject: [mathcad] 3d graphs for random functions
Hey,
I need to make a 3d surface plot for my function, and i have problems with that. I didn't find the answear in similar topics so i decided to make a new one.
the function is:
G(x,y)=(sqrt(1+2*x^2*y^2))/sqrt((1-y^2)^2))
when i'm trying to create a plot, mathcad report me an error "divide by zero",
even when i'm setting x>0 and y>0
maybe formula is wrong, i don't know
all i want is to show how my variable G depends on x,y
G=(sqrt(1+2*x^2*y^2))/sqrt((1-y)^2))
and i want to make a plot ...G on Y axis, x on X, y on Z. What is the right formula...?How should i do this?
best regard!
Damien
|
| RE: [mathcad] 3d graphs for random functions |
|
Author: Neil Harris
Posted: Thu, 3 Apr 2008 10:47:30 +0100
|
Damien
If a divide by zero happens anywhere other than when y = +/- 1, then what you actually have is not the same as what you think you have.
Try the enclosed script.
Neil
________________________________
From: Damian Gałęziowski "mailto:damian.galeziowski"
Sent: 02 April 2008 16:46
To: "mathcad"
Subject: Re: [mathcad] 3d graphs for random functions
helo Neil
problem is exactly when i'm setting y different from 1 and -1 stil the same error. "divide by zero"
have you checked it? do you have 3d surface graph to that?
Damien
ps. can you send me right definition of this function in mathcad?, parameters as well.
From: Neil Harris "mailto:N.Harris"
To: "mathcad"
Sent: Wednesday, April 02, 2008 1:31 PM
Subject: RE: [mathcad] 3d graphs for random functions
Damien,
Your function becomes infinite at y = +/- 1, as 1 - y^2 = 0 at these values.
Neil
________________________________
From: Damian Gałęziowski "mailto:damian.galeziowski"
Sent: 02 April 2008 11:18
To: "mathcad"
Subject: [mathcad] 3d graphs for random functions
Hey,
I need to make a 3d surface plot for my function, and i have problems with that. I didn't find the answear in similar topics so i decided to make a new one.
the function is:
G(x,y)=(sqrt(1+2*x^2*y^2))/sqrt((1-y^2)^2))
when i'm trying to create a plot, mathcad report me an error "divide by zero",
even when i'm setting x>0 and y>0
maybe formula is wrong, i don't know
all i want is to show how my variable G depends on x,y
G=(sqrt(1+2*x^2*y^2))/sqrt((1-y)^2))
and i want to make a plot ...G on Y axis, x on X, y on Z. What is the right formula...?How should i do this?
best regard!
Damien
|
|
Attachments:
SurfacePlot.mcd
|
| Re: [mathcad] 3d graphs for random functions |
|
Author: =?iso-8859-2?Q?Damian_Ga=B3=EAziowski?=
Posted: Fri, 4 Apr 2008 09:43:37 +0200
|
helo Neil
thanx for help, now i see, and the script works.
Damien
From: Neil Harris
To: "mathcad"
Sent: Thursday, April 03, 2008 11:47 AM
Subject: RE: [mathcad] 3d graphs for random functions
Damien
If a divide by zero happens anywhere other than when y = +/- 1, then what you actually have is not the same as what you think you have.
Try the enclosed script.
Neil
From: Damian Gałęziowski "mailto:damian.galeziowski"
Sent: 02 April 2008 16:46
To: "mathcad"
Subject: Re: [mathcad] 3d graphs for random functions
helo Neil
problem is exactly when i'm setting y different from 1 and -1 stil the same error. "divide by zero"
have you checked it? do you have 3d surface graph to that?
Damien
ps. can you send me right definition of this function in mathcad?, parameters as well.
From: Neil Harris
To: "mathcad"
Sent: Wednesday, April 02, 2008 1:31 PM
Subject: RE: [mathcad] 3d graphs for random functions
Damien,
Your function becomes infinite at y = +/- 1, as 1 - y^2 = 0 at these values.
Neil
From: Damian Gałęziowski "mailto:damian.galeziowski"
Sent: 02 April 2008 11:18
To: "mathcad"
Subject: [mathcad] 3d graphs for random functions
Hey,
I need to make a 3d surface plot for my function, and i have problems with that. I didn't find the answear in similar topics so i decided to make a new one.
the function is:
G(x,y)=(sqrt(1+2*x^2*y^2))/sqrt((1-y^2)^2))
when i'm trying to create a plot, mathcad report me an error "divide by zero",
even when i'm setting x>0 and y>0
maybe formula is wrong, i don't know
all i want is to show how my variable G depends on x,y
G=(sqrt(1+2*x^2*y^2))/sqrt((1-y)^2))
and i want to make a plot ...G on Y axis, x on X, y on Z. What is the right formula...?How should i do this?
best regard!
Damien
|
Previous by date: RE: [Bulk] RE: [mathcad] MathCAD plotting guidance, Neil Harris
Next by date: RE: [mathcad] 3d graphs for random functions, Neil Harris
Previous thread: [mathcad] List Server, Paul Bragg
Next thread: [mathcad] 3d graphs for random functions, =?iso-8859-2?Q?Damian_Ga=B3=EAziowski?=
|
|
|