kranmeste
Structural
- Oct 26, 2012
- 23
Hi all,
first post for me.
I have an issue where i need MathCad to plot a line in a 2D plot.
The function i want to plot is a function of 2 unknowns, lets say x and y, so the function could be f(x,y)=x^2+y^3. This function results in a surface plot(3D)
I have decided the following:
1. The function value shall always be a fixed value, lets say zero(0). I guess this would mean that i cut a slice at a specified level.
2. That x shall operate within a specific range, lets says from [-2,2]
It is relatively simple to extract the data manually:
Inserting -2 as x:
0=(-2)^2+y^3 => y = -1.59 >>>>> (x;y) = (-2;-1.59)
Inserting -1.8 as x:
0=(-1.8)^2+y^3 => y = -1.48 >>>>> (x;y) = (-1.8;-1.48)
and so on until x = 2.
I then get x and y coordinates which can be plottet in 2D.
Finally my question .
Does anyone know how to make a program so MathCad will insert the x values from the specified range and then calculate the corresponding y values. Then i want to log the data points (x;y)and plot the line for these points in 2D.
In short is it possible to automatize the manual inserting of x values?
All ideas are welcome.
Thanks all.
first post for me.
I have an issue where i need MathCad to plot a line in a 2D plot.
The function i want to plot is a function of 2 unknowns, lets say x and y, so the function could be f(x,y)=x^2+y^3. This function results in a surface plot(3D)
I have decided the following:
1. The function value shall always be a fixed value, lets say zero(0). I guess this would mean that i cut a slice at a specified level.
2. That x shall operate within a specific range, lets says from [-2,2]
It is relatively simple to extract the data manually:
Inserting -2 as x:
0=(-2)^2+y^3 => y = -1.59 >>>>> (x;y) = (-2;-1.59)
Inserting -1.8 as x:
0=(-1.8)^2+y^3 => y = -1.48 >>>>> (x;y) = (-1.8;-1.48)
and so on until x = 2.
I then get x and y coordinates which can be plottet in 2D.
Finally my question .
Does anyone know how to make a program so MathCad will insert the x values from the specified range and then calculate the corresponding y values. Then i want to log the data points (x;y)and plot the line for these points in 2D.
In short is it possible to automatize the manual inserting of x values?
All ideas are welcome.
Thanks all.