topic Symbolically solving in mathcad, bound the solution output in PTC Mathcad
https://community.ptc.com/t5/PTC-Mathcad/Symbolically-solving-in-mathcad-bound-the-solution-output/m-p/422336#M165662
<HTML><HEAD></HEAD><BODY><P>Hello,</P><P></P><P>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. </P><P></P><P>Currently psi = -2*C*sinh(u)*cos(v) = constant, and C is an arbitrary constant. </P><P></P><P>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.</P><P></P><P>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.</P><P></P><P>I have attached (the second version) of the spreadsheet. The first one crashed when I tried solve, v, 0, 2phi.</P><P></P><P>I would also like to know if I can make the stream functions solve, some variable output be equal to a vector iteself.</P><P></P><P>Thank you for any help in advance =).</P></BODY></HTML>Thu, 03 May 2018 16:43:20 GMTjroth2018-05-03T16:43:20ZSymbolically solving in mathcad, bound the solution output
https://community.ptc.com/t5/PTC-Mathcad/Symbolically-solving-in-mathcad-bound-the-solution-output/m-p/422336#M165662
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 choiceThu, 03 May 2018 16:43:20 GMThttps://community.ptc.com/t5/PTC-Mathcad/Symbolically-solving-in-mathcad-bound-the-solution-output/m-p/422336#M165662jroth2018-05-03T16:43:20ZRe: Symbolically solving in mathcad, bound the solution output
https://community.ptc.com/t5/PTC-Mathcad/Symbolically-solving-in-mathcad-bound-the-solution-output/m-p/422337#M165663
<HTML><HEAD></HEAD><BODY><P>No idea from your description and sheet what you need.</P><P>Look if the attached helps.</P><P></P><P>You can try to constrain symbolic solve by adding an "assume ..."</P></BODY></HTML>Wed, 20 Nov 2013 01:06:56 GMThttps://community.ptc.com/t5/PTC-Mathcad/Symbolically-solving-in-mathcad-bound-the-solution-output/m-p/422337#M165663Werner_E2013-11-20T01:06:56ZRe: Symbolically solving in mathcad, bound the solution output
https://community.ptc.com/t5/PTC-Mathcad/Symbolically-solving-in-mathcad-bound-the-solution-output/m-p/422338#M165664
<HTML><HEAD></HEAD><BODY><P>Werner,</P><P></P><P>I have gone back and put the items in as functions. I am attaching a new sheet that will detail the problem abit more closely. It is when I solve for the velocity potential that mathcad provides two answers for.</P><P></P><P>I redefined the velocity potential so that the solving for u wouldn't fail, so I renamed it. The velocity potential 'should' be orthogonal to the stream function. I'm trying to plot it to confirm my results.</P><P></P><P>Any help would be much appreciated.</P></BODY></HTML>Wed, 20 Nov 2013 15:32:00 GMThttps://community.ptc.com/t5/PTC-Mathcad/Symbolically-solving-in-mathcad-bound-the-solution-output/m-p/422338#M165664jroth2013-11-20T15:32:00ZRe: Symbolically solving in mathcad, bound the solution output
https://community.ptc.com/t5/PTC-Mathcad/Symbolically-solving-in-mathcad-bound-the-solution-output/m-p/422339#M165665
<HTML><HEAD></HEAD><BODY><P>Its not that difficult to simply select the first of the two solutions for q(), but to be able to plot a function at least one single argument in the plotrange must yield a real result.</P><P>You are plotting acosh(B/sin(v)), so you must chose B and the v-range in a way that at least for one of the v-values B/sin(v) is greater than 1. This means the plot fails for B=0 and it also fails for B>0 and pi<v<2pi.</P></BODY></HTML>Wed, 20 Nov 2013 17:03:20 GMThttps://community.ptc.com/t5/PTC-Mathcad/Symbolically-solving-in-mathcad-bound-the-solution-output/m-p/422339#M165665Werner_E2013-11-20T17:03:20Z