{"id":18112,"date":"2024-04-22T21:38:53","date_gmt":"2024-04-22T21:38:53","guid":{"rendered":"https:\/\/soicau4013.minhngocxoso.com\/?p=18112"},"modified":"2024-04-22T21:38:53","modified_gmt":"2024-04-22T21:38:53","slug":"tinh-lo-xien-mau-trung-khai-niem-va-cach-tinh","status":"publish","type":"post","link":"https:\/\/socauxsmbmienphi.com\/tinh-lo-xien-mau-trung-khai-niem-va-cach-tinh\/","title":{"rendered":"t\u00ednh l\u00f4 xi\u00ean mau tr\u00fang \u2013 kh\u00e1i ni\u1ec7m v\u00e0 c\u00e1ch t\u00ednh"},"content":{"rendered":"

<\/p>\n\n\n

Ch\u00fang ta hay nghe c\u1ee5m t\u1eeb l\u00f4 \u0111\u1ec1 \u0111i ch\u00fang v\u1edbi nhau nh\u01b0ng th\u1eadt ra th\u00ec hai \u0111\u1ecbnh ngh\u0129a n\u00e0y l\u00e0 kh\u00e1c nhau. Ch\u01a1i l\u00f4 th\u00ec c\u00f3 r\u1ea5t nhi\u1ec1u h\u00ecnh th\u1ee9c ch\u01a1i nh\u01b0ng \u0111\u1ec1<\/strong> th\u00ec l\u1ea1i ch\u1ec9 c\u00f3 duy nh\u1ea5t m\u1ed9t h\u00ecnh th\u1ee9c. H\u00f4m nay, ch\u00fang t\u00f4i s\u1ebd b\u00e0n v\u1ec1 m\u1ed9t v\u1ea5n \u0111\u1ec1 c\u01a1 b\u1ea3n trong \u0111\u00e1nh l\u00f4 \u0111\u00f3 l\u00e0 \u0111\u00e1nh l\u00f4 xi\u00ean v\u1edbi b\u00e0i vi\u1ebft th\u1ee7 thu\u1eadt t\u00ednh l\u00f4 xi\u00ean mau tr\u00fang.<\/p>\n\n\n\n

Ch\u01a1i \u0111\u00e1nh l\u00f4 t\u01b0\u01a1ng \u0111\u1ed1i d\u1ec5 nh\u01b0ng m\u1ed9t h\u00ecnh th\u1ee9c bi\u1ebfn t\u1ea5u c\u1ee7a \u0111\u00e1nh l\u00f4 ch\u00ednh l\u00e0 \u0111\u00e1nh l\u00f4 xi\u00ean, v\u00e0 th\u01b0\u1eddng th\u00ec ch\u00fang ta c\u00f3 l\u00f4 xi\u00ean 2<\/strong>, l\u00f4 xi\u00ean 3<\/strong> v\u00e0 l\u00f4 xi\u00ean 4<\/strong> v\u1edbi \u0111\u1ed9 kh\u00f3 v\u00e0 x\u00e1c su\u1ea5t t\u0103ng d\u1ea7n. Tuy kh\u00f3 nh\u01b0ng n\u1ebfu bi\u1ebft c\u00e1ch t\u00ednh th\u00ec \u0103n l\u00f4 xi\u00ean h\u1eddi h\u01a1n c\u1ea3 \u0111\u00e1nh l\u00f4 b\u00ecnh th\u01b0\u1eddng. V\u00e0 n\u1ebfu nh\u01b0 ch\u01a1i l\u00f4 xi\u00ean<\/strong> \u0111\u01b0\u1ee3c tr\u00fang nhi\u1ec1u th\u00ec b\u1ea1n c\u00f3 kh\u1ea3 n\u0103ng tr\u1edf th\u00e0nh ng\u01b0\u1eddi c\u00f3 th\u1ec3 soi c\u1ea7u l\u00f4 mi\u1ec1n B\u1eafc \u0111\u01b0\u1ee3c.<\/p>\n\n\n\n

Th\u1ee7 thu\u1eadt t\u00ednh l\u00f4 xi\u00ean mau tr\u00fang \u2013 Kh\u00e1i ni\u1ec7m v\u00e0 c\u00e1ch t\u00ednh<\/h2>\n\n\n\n

\u0110\u1ea7u ti\u00ean, ch\u00fang ta c\u1ea7n ph\u1ea3i hi\u1ec3u kh\u00e1i ni\u1ec7m v\u1ec1 l\u00f4 xi\u00ean<\/strong> l\u00e0 g\u00ec. Gi\u1ea3 s\u1eed \u0111\u00e1nh l\u00f4<\/strong> th\u00ec ch\u00fang ta ch\u1ecdn \u0111\u00e1nh l\u1ebb m\u1ed9t c\u1eb7p s\u1ed1<\/strong> ho\u1eb7c b\u1ed9 s\u1ed1 cho t\u1eebng ng\u00e0y, v\u00ed d\u1ee5 ch\u00fang t\u00f4i \u0111\u00e1nh con l\u00f4<\/strong> 24 cho ng\u00e0y th\u1ee9 nh\u1ea5t, con l\u00f4<\/strong> 42 cho ng\u00e0y th\u1ee9 2,\u2026 L\u00f4 xi\u00ean<\/strong> l\u00e0 b\u1ea1n \u0111\u00e1nh theo c\u00e1c c\u1eb7p s\u1ed1 c\u00f3 d\u1ea1ng nh\u01b0 [s\u1ed1 1;s\u1ed1 2] v\u00ed d\u1ee5 [24;42] v\u00e0 hai con n\u00e0y ph\u1ea3i C\u00d9NG V\u1ec0 th\u00ec b\u1ea1n m\u1edbi th\u1eafng, xi\u00ean 3 v\u00e0 xi\u00ean 4 t\u01b0\u01a1ng t\u1ef1 nhau. Th\u01b0\u1eddng m\u1ecdi ng\u01b0\u1eddi s\u1ebd \u0111\u00e1nh \u0111\u1ea7u \u0111\u00edt xoay<\/strong> ng\u01b0\u1ee3c theo c\u00e1ch t\u00ednh th\u1ee7 thu\u1eadt t\u00ednh l\u00f4 xi\u00ean mau tr\u00fang<\/strong>.<\/p>\n\n\n\n

H\u1eb1ng ng\u00e0y, l\u00f4 mi\u1ec1n b\u1eafc<\/strong> s\u1ebd x\u1ed5 27 gi\u1ea3i. Do v\u1eady, x\u00e1c su\u1ea5t khi b\u1ea1n ch\u1ecdn tr\u00fang 1 l\u00f4 xi\u00ean l\u00e0 23,76%. T\u1ea1i sao l\u1ea1i c\u00f3 k\u1ebft qu\u1ea3 nh\u01b0 th\u1ebf n\u00e0y th\u00ec ch\u00fang t\u00f4i xin gi\u1ea3i th\u00edch nh\u01b0 sau. N\u1ebfu b\u1ea1n \u0111\u00e3 h\u1ecdc qua x\u00e1c xu\u1ea5t th\u1ed1ng k\u00ea<\/strong> th\u00ec t\u1ef7 l\u1ec7 tr\u00fang l\u00e0 100%<\/strong> t\u01b0\u01a1ng \u1ee9ng v\u1edbi 1, ngh\u0129a l\u00e0 m\u1ecdi s\u1ef1 tr\u00ean \u0111\u1eddi \u0111\u1ec1u quy v\u1ec1 x\u00e1c su\u1ea5t t\u1ed1i \u0111a l\u00e0 1 v\u00e0 l\u00fd t\u01b0\u1edfng nh\u1ea5t l\u00e0 1\/2 (0.5)<\/strong><\/p>\n\n\n\n

Mu\u1ed1n t\u00ednh \u0111\u01b0\u1ee3c t\u1ef7 l\u1ec7 \u0103n th\u00ec ta ph\u1ea3i t\u00ednh t\u1ef7 l\u1ec7 tr\u01b0\u1ee3t l\u00f4 tr\u01b0\u1edbc<\/strong> (t\u1ef7 l\u1ec7 t\u1ea1ch l\u00f4) v\u00e0 d\u00f9ng 1 tr\u1eeb \u0111i t\u1ea1ch l\u00e0 ra tr\u00fang l\u00f4. T\u1ea1i v\u00ec th\u1eafng l\u00e0 chuy\u1ec7n kh\u00f4ng bi\u1ebft nh\u01b0ng thua th\u00ec c\u00f3 th\u1ec3 \u0111o\u00e1n bi\u1ebft tr\u01b0\u1edbc \u0111\u01b0\u1ee3c t\u01b0\u01a1ng \u0111\u1ed1i v\u1edbi th\u1ee7 thu\u1eadt t\u00ednh l\u00f4 xi\u00ean<\/strong> mau tr\u00fang.<\/p>\n\n\n\n

T\u1ef7 l\u1ec7 t\u1ea1ch l\u00f4 \u0111\u01b0\u1ee3c t\u00ednh nh\u01b0 sau v\u1edbi c\u00e1c d\u1eef ki\u1ec7n:<\/h3>\n\n\n\n

C\u1ea7u quay 27 l\u00f4 t\u1eeb gi\u1ea3i 8 \u0111\u1ebfn gi\u1ea3i \u0111\u1eb7c bi\u1ec7t v\u1edbi 100 con s\u1ed1 (t\u1eeb 00 \u0111\u1ebfn 99) \u2013 t\u00ednh l\u00e0 100%<\/p>\n\n\n

\"\"<\/p>\n\n\n

B\u1ea1n ch\u1ec9 tr\u00fang 1 con trong s\u1ed1 100 con s\u1ed1 \u0111\u00f3<\/h3>\n\n\n\n

T\u1eeb \u0111\u00f3, t\u1ef7 l\u1ec7 b\u1ea1n tr\u01b0\u1ee3t l\u00f4<\/strong> l\u00e0 99% (Ch\u1eafc ch\u1eafn tr\u01b0\u1ee3t, t\u1ea1i v\u00ec b\u1ea1n \u0111\u00e1nh c\u00f3 1 con th\u00f4i, c\u00f3 tr\u00fang lu\u00f4n th\u00ec l\u00e0 do 1% \u0111\u00e3 x\u1ea3y ra v\u00e0o \u0111\u00fang chu k\u00ec). V\u00ec v\u1eady t\u1ef7 l\u1ec7 b\u1ea1n tr\u01b0\u1ee3t l\u00f4<\/strong> trong 27 l\u1ea7n quay ph\u1ea3i l\u00e0 99%^27 (l\u1ea5y s\u1ed1 99% nh\u00e2n v\u1edbi ch\u00ednh n\u00f3 27 l\u1ea7n). T\u1eeb \u0111\u00f3, ta suy ra c\u00f4ng th\u1ee9c t\u00ednh t\u1ef7 l\u1ec7 th\u1eafng:<\/p>\n\n\n\n

[1 \u2013 (99%^27)] x 100<\/p>\n\n\n\n

(B\u1ea1n c\u1ee9 th\u1eed g\u00f5 c\u00f4ng th\u1ee9c n\u00e0y l\u00ean Google l\u00e0 ra k\u1ebft qu\u1ea3) cho k\u1ebft qu\u1ea3 ~ 23,7% (kh\u00f4ng ph\u1ea3i 27% nh\u00e9 ^_^). Nh\u00e2n v\u1edbi 100 \u0111\u1ec3 \u0111\u1ed5i ng\u01b0\u1ee3c ra %.<\/p>\n\n\n\n

V\u1edbi t\u1ec9 s\u1ed1 n\u00e0y th\u00ec b\u1ea1n c\u1ee9 x\u1ed5 c\u1ea7u 4-5 l\u1ea7n g\u00ec \u0111\u1ea5y l\u00e0 b\u1ea1n tr\u00fang \u0111\u01b0\u1ee3c 1 con l\u00f4 xi\u00ean, v\u1eady c\u00f2n l\u00f4 xi\u00ean 2, 3 v\u00e0 xi\u00ean 4 th\u00ec sao ? B\u1ea1n xem c\u00e1ch t\u00ednh nh\u01b0 b\u00ean d\u01b0\u1edbi<\/h5>\n\n\n\n