Previous in Forum: Can't I Play nfs Shift With These Req   Next in Forum: VBScript
Close
Close
Close
13 comments
Rate Comments: Nested
Associate

Join Date: Oct 2010
Location: Denmark
Posts: 25

Mathcad Graph Trace Problem

12/05/2010 7:00 PM

Hello folks.

I have a problem finding the x values, for a range of specific y-values on a graph(see picture). Sounds like an easy task, but take a look at the m-file.(version 14)

I tried solving, given/find, and lots more.

I would surely appreciate some help

link to m-file: http://dl.dropbox.com/u/10626780/Find%20a%20and%20a%C2%B4%20as%20a%20for%20specific%20x%20values.xmcd

The problem concerns the design of a turbine blade.

With kind regards, J

__________________
Earth is the cradle of humanity, but one cannot remain in the cradle forever.
Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru
Engineering Fields - Optical Engineering - Member Engineering Fields - Engineering Physics - Member Engineering Fields - Systems Engineering - Member

Join Date: Apr 2010
Location: Trantor
Posts: 5363
Good Answers: 647
#1

Re: Mathcad Graph Trace Problem

12/05/2010 8:35 PM

I've got an older version of Mathcad, so I can't read the file you've linked-to.

The vector xn values (the column of numbers, Mathcad will treat this as a vector) that you've provided don't seem to correspond to anything in the graph. The variable x(a) is not the same, and is treated differently than the xn expression. I'd suggest being consistent, either express everything as x(β) or as xβ expressions. You might want to use a different letters for the functions and the variable, e.g., use b(a), b'(a) and x(a).

What are the equations you are trying to plot for a'(a) and x(a)?

__________________
Whiskey, women -- and astrophysics. Because sometimes a problem can't be solved with just whiskey and women.
Register to Reply
Associate

Join Date: Oct 2010
Location: Denmark
Posts: 25
#2
In reply to #1

Re: Mathcad Graph Trace Problem

12/06/2010 4:40 AM

Thank you for your answer. Here is the rest of the equations from the page(from the beginning to just before the previous picture):

And here is an older version 11 of the actual file:

http://dl.dropbox.com/u/10626780/Find%20a%20and%20a%C2%B4%20as%20a%20for%20specific%20x%20values.v11.mcd

sorry that it's kind of messy. I hope this makes it more clear to what i am searching for.

The x(a) functions is not possible to solve. If i was, i could have found a, and then calculated a´from it. Thats why i'm looking for another way of solving this problem.

Is there a trace functin that can give me the a and a´ values(x and y axis) from the x values(the x values follow the blue line, and is read of on the y-axis)?

Again, sorry if it is a little messy.

J.

__________________
Earth is the cradle of humanity, but one cannot remain in the cradle forever.
Register to Reply
Guru
Engineering Fields - Optical Engineering - Member Engineering Fields - Engineering Physics - Member Engineering Fields - Systems Engineering - Member

Join Date: Apr 2010
Location: Trantor
Posts: 5363
Good Answers: 647
#3
In reply to #2

Re: Mathcad Graph Trace Problem

12/06/2010 8:58 AM

You could define b as follows, then plug b into your equations and get exact values.

I re-wrote your equations into the old version I have (Mathcad 2000) and plotted.

Here is one of the graphs:

Here is a graph plotted with the b values given above.

Is this what you are trying to do? Does this help at all?

__________________
Whiskey, women -- and astrophysics. Because sometimes a problem can't be solved with just whiskey and women.
Register to Reply
Associate

Join Date: Oct 2010
Location: Denmark
Posts: 25
#4
In reply to #3

Re: Mathcad Graph Trace Problem

12/06/2010 9:33 AM

Hi again. I think i see where you are going. But, you are inserting the x-values(which you call b), in the equations for CP, APRIME and x. x is a function of a. a is the values i'm trying to find, corresponding the x-values. Thanks a lot for trying though! :) maybe there is no answer:/ !!

__________________
Earth is the cradle of humanity, but one cannot remain in the cradle forever.
Register to Reply
Guru
Engineering Fields - Optical Engineering - Member Engineering Fields - Engineering Physics - Member Engineering Fields - Systems Engineering - Member

Join Date: Apr 2010
Location: Trantor
Posts: 5363
Good Answers: 647
#5
In reply to #4

Re: Mathcad Graph Trace Problem

12/06/2010 10:32 AM

So, are you trying to find the values of 'a' which solve the equation:

x(a) = [(a - 1)1/2*(4a - 1)] / (3a -1)1/2 ? Is that what you are asking?

Two obvious values occur at a = 1 and at a = 1/4; both give x(a) = 0.

At a = 1/3 you get an asymptote, since the divisor goes to zero.

Or are you looking for the values of 'a' for which the curves of x(a) and Cp(a) and/or CT(a) intersect?

__________________
Whiskey, women -- and astrophysics. Because sometimes a problem can't be solved with just whiskey and women.
Register to Reply
Associate

Join Date: Oct 2010
Location: Denmark
Posts: 25
#6
In reply to #5

Re: Mathcad Graph Trace Problem

12/06/2010 11:03 AM

Yes, i'm trying to find the values of 'a' which solve the equation:

x(a) = [(a - 1)1/2*(4a - 1)] / (3a -1)1/2

Thats the correct way to put it!

However, i know that this is not possible, since there is no obvious solution to the equation! don't ask me why!!

That is why i wanted to find some kind of grapical solution(trace, spline fit etc..)

cp and ct doesn't really have anything to do with this problem.

J.

__________________
Earth is the cradle of humanity, but one cannot remain in the cradle forever.
Register to Reply
Guru
Engineering Fields - Optical Engineering - Member Engineering Fields - Engineering Physics - Member Engineering Fields - Systems Engineering - Member

Join Date: Apr 2010
Location: Trantor
Posts: 5363
Good Answers: 647
#7
In reply to #6

Re: Mathcad Graph Trace Problem

12/06/2010 12:26 PM

If you redefine the limits of 'a' as follows, a:= -0.1, -0.09; 0.5

Then just graph x(a) and x(0) vs a, you get a graph that looks like:

Notice I set the graph limits at -0.05 to 0.6 in the 'a' axis and -2 to 2 in the x(a) axis.

So from earlier I mentioned that the function x(a) has two solutions, for a = 1 and a = 1/4. [The a = 1/4 solution appears on this graph where x = 0 when a = 1/4 .] If you were to then solve this equation for a in terms of x, you will get one solution, which is shown graphically at the point where a=0, which occurs when the new function a = f(x) equals zero at the point x = -1.

__________________
Whiskey, women -- and astrophysics. Because sometimes a problem can't be solved with just whiskey and women.
Register to Reply
Associate

Join Date: Oct 2010
Location: Denmark
Posts: 25
#8
In reply to #7

Re: Mathcad Graph Trace Problem

12/06/2010 4:23 PM

Right, but that still doesn't get me the a values, for the array of x-values of my original post. Thank you for your effort, I appreciate your ideas. J. :)

__________________
Earth is the cradle of humanity, but one cannot remain in the cradle forever.
Register to Reply
Guru
Engineering Fields - Optical Engineering - Member Engineering Fields - Engineering Physics - Member Engineering Fields - Systems Engineering - Member

Join Date: Apr 2010
Location: Trantor
Posts: 5363
Good Answers: 647
#11
In reply to #8

Re: Mathcad Graph Trace Problem

12/07/2010 10:38 AM

Okay, I finally understand what you are trying to do, I think.

Here is a solve block you can use. Since I have a different version of Mathcad, I did a screen capture and copied the image below. You'll need to type this into your version of Mathcad. You'll have to step through the values of n from 1 to 10 manually to get the xval values you are looking for. (Or you can try using a running variable and see if it will do all 10 solve values for you at once, my version of Mcad won't.) The screen capture is for the n = 10 solve.

NOTE that the greater-than-or-equals sign for 'a' and the equals sign for 'x(a)' below Given are from the Boolean menu.

Here is the screen capture:

__________________
Whiskey, women -- and astrophysics. Because sometimes a problem can't be solved with just whiskey and women.
Register to Reply
Guru
Engineering Fields - Optical Engineering - Member Engineering Fields - Engineering Physics - Member Engineering Fields - Systems Engineering - Member

Join Date: Apr 2010
Location: Trantor
Posts: 5363
Good Answers: 647
#12
In reply to #11

Re: Mathcad Graph Trace Problem

12/07/2010 1:47 PM

I should also point out (in case you aren't aware) that there is a second solution corresponding to the other branch of the x(a) function when a>1. For this you'll need to re-set the limits at the start of the solve block. The expanded graph showing both branches of the x(a) function is below and the screen capture for the second set of solves is below that.

The second solution would be as shown below. For a>1 and n=1 you get a value for x(a) = 0.336 when a = 1.024393. You'll get additional values for x=n*0.336 as n goes from 1 to 10 (and beyond, for that matter).

__________________
Whiskey, women -- and astrophysics. Because sometimes a problem can't be solved with just whiskey and women.
Register to Reply Score 1 for Good Answer
Associate

Join Date: Oct 2010
Location: Denmark
Posts: 25
#13
In reply to #12

Re: Mathcad Graph Trace Problem

12/07/2010 6:50 PM

Hello Usbport.

I was not able to do the calculations, the way you did it, but used the same method, and worked it out anyway. I think my problem was, that i did not define a before the given/find block. Thanks for doign all the graps. I'm very impressed with your persistence. You truly live up tp the saying of Richard Feynman.

J.

__________________
Earth is the cradle of humanity, but one cannot remain in the cradle forever.
Register to Reply
Guru
Panama - Member - New Member Hobbies - CNC - New Member Engineering Fields - Marine Engineering - New Member Engineering Fields - Retired Engineers / Mentors - New Member

Join Date: Dec 2006
Location: Panama
Posts: 4273
Good Answers: 213
#9

Re: Mathcad Graph Trace Problem

12/06/2010 11:55 PM

Have a look at http://www.uniphiz.com/digitizing.htm or http://www.digitizeit.de/

There might be others that can do the same thing for you...

Register to Reply
Commentator

Join Date: Dec 2010
Posts: 61
Good Answers: 1
#10

Re: Mathcad Graph Trace Problem

12/07/2010 8:23 AM

If I am reading the formula correctly, the formula can be solved for a by squaring both sides and converting it to a cubic equation. You can google how to solve cubic equations in Mathcad. (multiple hits) or enter your own formula (even more hits)

Register to Reply
Register to Reply 13 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

cwarner7_11 (1); Juniper80 (5); Usbport (6); wsjackman (1)

Previous in Forum: Can't I Play nfs Shift With These Req   Next in Forum: VBScript
You might be interested in: Blade Servers, Relay Sockets, Saw Blades

Advertisement