[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 54 KB, 300x257, Steel-Ball-1.jpg [View same] [iqdb] [saucenao] [google]
4700000 No.4700000 [Reply] [Original]

A customer ordered 120 ball-bearings of
diameter 6.1mm. 120 ball-bearings were
supplied but accurate measurements showed
that the diameter did not met the required
specifications. Namely, they were:


10 ball bearings with diameter 6.01 mm
6 ball bearings with diameter 6.02 mm
4 ball bearings with diameter 6.03 mm
10 ball bearings with diameter 6.05 mm
19 ball bearings with diameter 6.07 mm
11 ball bearings with diameter 6.08 mm
6 ball bearings with diameter 6.10 mm
6 ball bearings with diameter 6.11 mm
8 ball bearings with diameter 6.12 mm
10 ball bearings with diameter 6.14 mm
17 ball bearings with diameter 6.16 mm
6 ball bearings with diameter 6.17 mm
7 ball bearings with diameter 6.18 mm


Fortunately, another customer agreed to accept
the ball-bearings under the following conditions:
• the ball-bearings are to be supplied in 2 boxes, one
containing the larger ones, and the other containing
smaller ones,
• the critical diameter d which separates ball-bearings
into 2 boxes ( all with diameters ≤ d go to the first box;
all with diameters > d go to the other box) should have
the property that the sum of absolute errors between the
diameters of all ball-bearings and d is minimized.
How to determine d?

>> No.4700021

>>4700000
you should close your business if you can't afford a fucking micrometer to check these massive inaccuracies..

>> No.4700026

>>4700021
Agreed, this is simply unacceptable. Any self respecting business owner should not allow such inaccuracies.

Also if a customer said to me:
>the critical diameter d which separates ball-bearings
into 2 boxes ( all with diameters ≤ d go to the first box;
all with diameters > d go to the other box) should have
the property that the sum of absolute errors between the
diameters of all ball-bearings and d is minimized.

I would punch him in the face.

>> No.4700033

i've read the last paragraph several times and it just doesn't make sense to me.
wtf is it saying d is?

>> No.4700042

The question is stupid, but the problem is still a problem.

The question is, at which diameter do you decide 'this ball bearing goes in the small box' or 'this ball bearing goes in the big box', while keeping the sum of the differences between the ball bearings and that point at the minimum possible

>> No.4700046

>>4700042
if he ordered d=6.1 I think d is 6.1

>> No.4700052

>>4700000
define ball bearing..

>> No.4700072
File: 84 KB, 233x238, 1335368515231.png [View same] [iqdb] [saucenao] [google]
4700072

>>4700000
your bearing machine might need some checkin' done
just sayan

>> No.4700115

What you want to do is minimize the function

f(d) = 10*|6.01-d| + 6*|6.02-d| + ... + 7*|6.18-d|

Since there are only 15 options for d and from looking at the problem it should be somewhere around 6.09, just put that shit into a calculator and try to find the d for which f(d) is lowest.

>> No.4700182

>>4700115
Would make sense to pick d as the average diameter.

>> No.4700183

>>4700000
What a pushover customer! Who pays for faulty goods?!

>> No.4700188

pick the mean you retard

some vile inequality proves the mean is best

>> No.4700248
File: 133 KB, 892x686, excel.png [View same] [iqdb] [saucenao] [google]
4700248

d= 6.09725
it is not the mean (the mean is 6.097479)

>sum of absolute errors between the
diameters of all ball-bearings and d is minimized.
How to determine d?
I can do better, i can make it zero (or wrong in one part in a million).


check the attached picture. Using excel, list out the information. the question is equivalent to asking to find d where the sum of the errors is minimised.
for example: let a,b,c...f be the errors

|a+b+c|-|d+e+f| is the same as a+b+c-d-e-f if {a,b...f}>0

so in difference, put the number multiplied by d-X (where x is the diameter).

sum it up, and use solver. changing the d term to make the sum zer.

>> No.4700260
File: 334 KB, 551x550, 1337444455089.png [View same] [iqdb] [saucenao] [google]
4700260

>>4700000
dem quints

>> No.4700262

>>4700248
I'm sure f(d) as defined earlier is constant on the interval 6.08 through 6.1. If you're getting near zero values, I'm pretty sure you forgot the absolute value.

>> No.4700264

>>4700248
you done derped

>> No.4700290

If you want to see why it's constant in ]6.08, 6.1[, notice the number of ball bearings with diam < 6.08 is 10+6+4+10+19+11 = 60, half of them. So for any of those diameters X, with d in that interval, |X-d| = d-X. For the others, |X-d| = X-d.
Summing that over the first half of the diameters you get (some constant) - 60d.
Summing that over the latter half of the diameters, you get (Some other constant) + 60d.
Adding them cancels out the d, and your function is constant.