MHB I need the two elements with the greatest volume in a data set

AI Thread Summary
The discussion focuses on calculating the volume and identifying the locations of the two elements with the greatest volume in large data sets represented by pairs of coins and amounts. A formula was provided to calculate the volume for the first data set, yielding a result of 2.04, indicating greater volume on the left side. The user attempted similar calculations for a third example, resulting in a value of 3.09, which suggested a surge in the middle of the data set. The conversation also touched on the potential need for integrals or summations to refine the calculations further. Ultimately, the user found the initial method effective for their needs, expressing gratitude for the assistance.
tunage
Messages
4
Reaction score
0
I have very large data sets:
coins & amount
i.e. {10 & 11, 9 & 7, 8 & 9, 4 & 5, 3 & 1} graphed would show greater volume to the left side while {1 & 0, 2 & 3, 2 & 1, 4 & 6, 9 & 10} would reflect greater volume on the right, and {1 & 4, 2 & 3, 12 & 10, 4 & 4, 3 & 2} would reflect a surge in the middle of the data set.
I need to calculate the volume and know the location of the two elements that have the greatest volume.
 
Mathematics news on Phys.org
tunage said:
I have very large data sets:
coins & amount
i.e. {10 & 11, 9 & 7, 8 & 9, 4 & 5, 3 & 1} graphed would show greater volume to the left side while {1 & 0, 2 & 3, 2 & 1, 4 & 6, 9 & 10} would reflect greater volume on the right, and {1 & 4, 2 & 3, 12 & 10, 4 & 4, 3 & 2} would reflect a surge in the middle of the data set.
I need to calculate the volume and know the location of the two elements that have the greatest volume.

If I understand your requirements correctly I think the following would be OK.

For the first set $\frac{1\times 10\times 11+2\times 9\times 7+3\times 8\times 9+4\times 4\times 5+5\times 3\times 1}{ 10\times 11+9\times 7+8\times 9+4\times 5+3\times 1}=2.04..$

The 2.04 indicates your "greater volume to the left side".

This may be of interest: http://archives.math.utk.edu/visual.calculus/5/work.2/
 
M R said:
If I understand your requirements correctly I think the following would be OK.

For the first set $\frac{1\times 10\times 11+2\times 9\times 7+3\times 8\times 9+4\times 4\times 5+5\times 3\times 1}{ 10\times 11+9\times 7+8\times 9+4\times 5+3\times 1}=2.04..$

The 2.04 indicates your "greater volume to the left side".

This may be of interest: http://archives.math.utk.edu/visual.calculus/5/work.2/

Thank you for your response.
I tried it with the 3rd example and I don't see where it would help.
--> (1*1*4+2*2*3+3*12*10+4*4*4+5*3*2)/(1*4+2*3+12*10+4*4+3*2)
ans =
3.0921
But more importantly I need the element location.
Yes, I am pretty sure I need an integral or a summation for the volume but I think I am going to need quadratics for my second max and probably my first.
 
Last edited:
tunage said:
Thank you for your response.
I tried it with the 3rd example and I don't see where it would help.
--> (1*1*4+2*2*3+3*12*10+4*4*4+5*3*2)/(1*4+2*3+12*10+4*4+3*2)
ans =
3.0921
But more importantly I need the element location.
Yes, I am pretty sure I need an integral or a summation for the volume but I think I am going to need quadratics for my second max and probably my first.

If your locations are 1,2,3,4 and 5 then a result of 3.09 is pretty much your "surge in the middle".

Still, I'm not sure that what I'm suggesting is what you need.
 
M R said:
If your locations are 1,2,3,4 and 5 then a result of 3.09 is pretty much your "surge in the middle".

Still, I'm not sure that what I'm suggesting is what you need.

That is a very interesting math hack.
I am running some test on it now.
 
tunage said:
That is a very interesting math hack.
I am running some test on it now.
Works perfect. It does everything I need it to do. I don't even need the second max because of how the numbers work.

Thank you VERY much!

I think I remember seeing this back in Physics.
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top