Quantcast
Channel: PTC Community: Message List
Viewing all articles
Browse latest Browse all 12488

Symbolically solving in mathcad, bound the solution output

$
0
0

Hello,

 

I'm wanting to plot some stream functions of which I have the functions for.  I know what my stream function is in terms of u & v, but now I want to express the solution in terms of x & y, of which I have.  Since I know that the stream function is a constant, any choice for u or v has a solution.

 

Currently psi = -2*C*sinh(u)*cos(v) = constant, and C is an arbitrary constant.

 

To plot out the points on a continuous line, I let v for instance = 0, phi/4...2*phi.  I can then get the values for u, which are unique, and can then through a programming function, get the converted values of these two vectors for x(u,v) and y(u,v), therby giving me a line.  I can add other lines by changing the value of psi = constant.

 

However, when I want to get the stream lines for say, letting u=0,0.5,3 , there are multiple solutions to the value of v.  As I am symbolically solving the equations, I'm wanting to know if there is a way to 'bound' the symbolic solution to v between say 0 & phi, which would allow a vector output, of which I can then use to plot.

 

I have attached (the second version) of the spreadsheet.  The first one crashed when I tried solve, v, 0, 2phi.

 

I would also like to know if I can make the stream functions solve, some variable output be equal to a vector iteself.

 

Thank you for any help in advance =).


Viewing all articles
Browse latest Browse all 12488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>