Root Finding Exercise - Finding Value for Equivalent Areas

AI Thread Summary
The discussion focuses on finding the unknown parameter in a fountain design that creates a hyperbolic shape through water spray. The goal is to ensure the areas of the top and bottom parabolas are equivalent, with the bottom's parameters known and one parameter of the top still unknown. Participants suggest using root-finding methods, such as the bisection method or Newton-Raphson, to compute this unknown value. They recommend starting with trial values to establish bounds for the area difference, which can then be refined to find where the area function equals zero. The conversation emphasizes the importance of clarifying the equations involved to effectively apply these mathematical techniques.
architenginee
Messages
4
Reaction score
0
How to find value in root finding exercise?
I am designing a fountain for a Vegas hotel which sprays water in the shape of a hyperbola onto a screen. The hyperbolas shape is a function of several different variables. I am looking for conditions which will cause the area cast by the bottom and top parabolas to be equivalent. The parameters for the bottom shape are given, while those for the top are also given with the exception of 1 value. How do I compute the value of this unknown by root finding.

My notes up to now:

-compute area of bottom with given info
-area of top = area of bottom
- ...??

...I have a program which integrates the area with given input...but I am stuck
 
Technology news on Phys.org
Imagine two nozzles with different parameters such as, nozzle area, pressure, density of medium, etc...these are just arbitrary examples to help give perspective to the problem at hand...
0 seconds ago
 
architenginee said:
How to find value in root finding exercise?
I am designing a fountain for a Vegas hotel which sprays water in the shape of a hyperbola onto a screen.
Hyperbola or parabola? You are using both terms here.
architenginee said:
The hyperbolas shape is a function of several different variables. I am looking for conditions which will cause the area cast by the bottom and top parabolas to be equivalent. The parameters for the bottom shape are given, while those for the top are also given with the exception of 1 value. How do I compute the value of this unknown by root finding.

My notes up to now:

-compute area of bottom with given info
-area of top = area of bottom
- ...??

...I have a program which integrates the area with given input...but I am stuck

I'm going to assume you meant parabola, not hyperbola. The equation y = 2x - x2 is a parabola that opens downward, and whose vertex is at (1, 1) and whose x-intercepts are at (0, 0) and (2, 0). It can be shown that the area between the parabola and the x-axis is 2/3.

If you reflect this parabola across the x-axis, you get a new parabola with equation y = -2x + x2. The x-intercepts are still at (0, 0) and (2, 0), but now the vertex is at (1, -1). The area between this parabola and the x-axis is also 2/3.

Seems like you might be able to use this idea in your fountain.
 
Mark44 said:
Hyperbola or parabola? You are using both terms here.

I'm going to assume you meant parabola, not hyperbola. The equation y = 2x - x2 is a parabola that opens downward, and whose vertex is at (1, 1) and whose x-intercepts are at (0, 0) and (2, 0). It can be shown that the area between the parabola and the x-axis is 2/3.

If you reflect this parabola across the x-axis, you get a new parabola with equation y = -2x + x2. The x-intercepts are still at (0, 0) and (2, 0), but now the vertex is at (1, -1). The area between this parabola and the x-axis is also 2/3.

Seems like you might be able to use this idea in your fountain.

I have found how to compute the area. The issue at hand is how to go about solving for the missing parameter by root finding method. (bisection/Newton-raphson, etc)
 
Your description of what you're trying to do is too vague for me to be able to give any specific advice.
 
architenginee said:
My notes up to now:

-compute area of bottom with given info
-area of top = area of bottom
- ...??

Assuming the area monotonically increases, or decreases,
By trial and error find one value of the unknown parameter so the resulting area is too small and a second value of the unknown parameter so the resulting area is too large. Then consider area of lower-area of upper and you want to find where that function is zero.

Now you have a classic "bisection" problem.
Read this and think how you can apply that to your task.
http://en.wikipedia.org/wiki/Bisection_method
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top