|
48 ÷ 2(9+3)
= 48 ÷ (18 + 6)
= 48 ÷ 24
= 2
Habis cerita...
G-Pitts Post at 10-4-2011 20:31 
boleh pakai jugak logik ni.... |
|
|
|
|
|
|
|
memandangkan soalan tak cukup sifat...maka tak buleh nak ketepikan the distributive property
48÷ 2(9+3) = 48÷(2(9+3))
2(9+3) = (2 X 9) + (2 X 3) = 18 + 6 = 24
48÷24 = 2 |
|
|
|
|
|
|
|
48÷ 2(9+3) = 48÷(2(9+3))
2(9+3) = 48÷(2(9+3)) ÷ 48
18 +6 = 48÷(2(9+3)) ÷ 48
24 = 48÷(2(9+3)) ÷ 48
24 * 28 = 48÷(2(9+3))
672 = 48÷(2(9+3))
672 ÷(2(9+3)) = 48
1 ÷(2(9+3)) = 48 ÷ 272
1 ÷ 24 = 0.07
0.04 != 0.07
 |
|
|
|
|
|
|
|
Reply 183# C.K
48÷ 2(9+3) = 48÷(2(9+3))
2(9+3) = 48÷(2(9+3)) ÷ 48
18 +6 = 48÷(2(9+3)) ÷ 48
24 = 48÷(2(9+3)) ÷ 48
24 * 28 = 48÷(2(9+3))
672 = 48÷(2(9+3))
672 ÷(2(9+3)) = 48
1 ÷(2(9+3)) = 48 ÷ 272
1 ÷ 24 = 0.07
0.04 != 0.07 |
|
|
|
|
|
|
|
mysql> select 48/2(9+3)
-> ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near '(9+3)
' at line 1
Even database also confuse :stars:
This below it can understand
mysql> select (48/2) *(9+3)
-> ;
+---------------+
| (48/2) *(9+3) |
+---------------+
| 288.0000 |
+---------------+
1 row in set (0.00 sec)
Saje test guna database mysql.... |
|
|
|
|
|
|
|
48÷ 2(9+3) = 48÷(2(9+3))
2(9+3) = 48÷(2(9+3)) ÷ 48
18 +6 = 48÷(2(9+3)) ÷ 48
...
alien3d Post at 11-4-2011 12:03 
adakah motifnya nak membuktikan kedua-dua bentuk takkan member jawapan yg sama ...
anyway bro ... the first line of equation macam ada yg tak kena
48÷ 2(9+3) = 48÷(2(9+3))
adakah
48÷ 2(9+3) = (48÷ 2)(9+3) atau 48÷ (2(9+3)) ?
how do u make assumption 48÷ 2(9+3) = 48÷(2(9+3)) ? berdasarkan apa ? |
|
|
|
|
|
|
|
Reply 187# animaniac
aku replied c.k .. Aku tahu tak sama. so aku tunjukan jer la..  |
|
|
|
|
|
|
|
Post Last Edit by HOTlips at 13-4-2011 10:52
Ni apa yg akak ingat zaman belajar dulu ye..
48 ÷ 2(9+3) tak sama 48 ÷ (2(9+3))
Sebab kita lihat dr sudut operator presedence (dlm programming) atau mathematical order
Ni akak tepek kan balik apa yg forumer LEES dah tepek
lees jumpe nih ... in maths ... the order in which mathematical problems are solved is ...
1. Calculations must be done from left to right.
2. Calculations in brackets (parenthesis) are done first. When you have more than one set of brackets,
do the inner brackets first.
3. Exponents (or radicals) must be done next.
4. Multiply and divide in the order the operations occur.
5. Add and subtract in the order the operations occur.
ni akak ambik dr wiki
in mathematics and computer programming, the order of operations (more formally precedence rule) is
a rule used to clarify unambiguously which procedures should be performed first in a given mathematical expression.
For example, in mathematics and most computer languages multiplication is done before addition; in the expression 2 + 3 × 4, the algebraic answer is 14. Brackets, which have their own rules, may be used to avoid confusion, thus the above
expression may also be rendered 2 + (3 × 4).
Kalau ikut rule, kita kena selesaikan dlm parenthesis.Dan kalau ada 2 kurungan, selesaikan yg paling inner
kita tengok ni:
(2(9+3))
So selesaikan bracket yg paling dlm. 9+3. Dpt 12
Nanti jadik mcm ni plak
(2(12))
Then selesaikan the outer bracket. Dpt 24
Balik pd expression asal
48 ÷ (2(9+3))
akan jadik begini lah steps dia:
=48 ÷ (2(12))
=48 ÷ (24)
=2
Kita tengok expression ni plak
48 ÷ 2(9+3)
Ikut rule, selesaikan dlm bracket
Jadik begini
48 ÷ 2(12)
Perhatikan betul2 antara 2 ini
48 ÷ 2(12) dgn 48 ÷ (2(12))
Yg kedua tu ada dua parenthesis
Kita kembali pd rule, selesaikan yg dlm bracket, tu sbb dpt 24
Sebaliknya utk equation 48 ÷ 2(12)
kenapa kita x boleh selesaikan 2(12) dulu?
Sebabnya ÷ dan () yg mana bermaksud darab terletak pd level keutamaan yg sama. Bila sama level, kita kena apply
rule kiri ke kanan.
Makanya 48 ÷ 2 dulu pastu baru darab 12. Hasilnya kita dpt 288
Sebenarnya to avoid confusion, expression ni
48 ÷ 2(9+3)
kita boleh rewrite sebegini
48÷2*(9+3)
Mcm mana pun 48 ÷ 2(9+3) masih lg valid dan kita semua maklum () bermaksud darab |
|
|
|
|
|
|
|
Walaubagaimana pun jika kita menulis ke dlm bahasa programming, simbol darab adalah * iatu simbol star.
Sbb itu sql menghasilkan error kalau kita tulis sebiji mcm soalan asal. Bukan dlm sql je, tulis dlm bahasa lain mcm
c, java pun akan salah syntax. Ini berdasarkan pengetahuan dan pengalaman akak berbelas thn dulu. Kot nowadays dah tukar, bleh terima () sebagai simbol darab akak x tahulah.
So, secara tulisan, 48 ÷ 2(9+3) tidaklah salah tp ia perlu diterjemahkan semula ke bahasa yg betul. Utk terjemahkan
ke bahasa yg x lari dr maksud sebenar itulah kita perlu mematuhi rule spt yg tlh diberi pd page2 sebelum ni |
|
|
|
|
|
|
|
Reply 190# HOTlips
coding lain kak.isi nombor jer... sql semua database boleh terima. |
|
|
|
|
|
|
|
Reply 191# alien3d
oh, akak merujuk pd statement ni:select 48/2(9+3)
ni pun kira coding ler dlh bahasa sql. Sebab tu dia kompius. Tak de simbol * utk suruh dia darab
Beza dgn yg ni:
select (48/2) *(9+3)
yg kat atas ni nak buat mcm ni pun bleh
select 48/2 *(9+3)
as long ada arahan * utk suruh dia darab
Cuba terai test, apa hasilnya? |
|
|
|
|
|
|
|
Reply 192# HOTlips
Oracle db hanya support cam ni jer
*Action:
(48/2)*(9+3)
----------------------
288
Kalau macam di atas dia blur
Oracle
select 48/2(9+3)
ORA-00923: FROM keyword not found where expected
00923. 00000 - "FROM keyword not found where expected"
*Cause:
*Action:
Error at Line: 1 Column: 11
Kalau sql server
Sql Server
select 48/2(9+3)
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near '9'.
Sql server accept hanya (48/2)( 9+3)
mysql> select 48/2(9+3)
-> ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near '(9+3)
' at line 1
mysql> select (48/2) *(9+3)
-> ;
+---------------+
| (48/2) *(9+3) |
+---------------+
| 288.0000 |
+---------------+
1 row in set (0.00 sec) |
|
|
|
|
|
|
|
Reply 193# alien3d
Oracle db hanya support cam ni jer
*Action:
(48/2)*(9+3)
----------------------
288
So yg ni ok lah kan? Jawapannya 288?
Oracle
select 48/2(9+3)
ORA-00923: FROM keyword not found where expected
00923. 00000 - "FROM keyword not found where expected"
*Cause:
*Action:
Error at Line: 1 Column: 11
yg ni error, sbb yg akak faham, masalah kat sini
select 48/2(9+3)
x de *
Bleh x cuba buatkan
mcm ni:
select 48/2*(9+3)
Nak sgt tahu jawapan dia.
tq |
|
|
|
|
|
|
|
Reply 194# HOTlips
mysql> select 48/2*(9+3)
-> ;
+------------+
| 48/2*(9+3) |
+------------+
| 288.0000 |
+------------+
1 row in set (0.00 sec)
La duk kat server.paste yang mysql jer la.Oracle dan Sql server ada dalam laptop.. tengah edit file nih.. |
|
|
|
|
|
|
|
Reply 195# alien3d
hu hu... hakak dok kat rumah je nih, jaga anak. Mana ada oracle, miracle bagai dekkk!! Anyway, tq. So jawapan 288 kan?
Nampak x kenapa error? Sebab kalau u copy sebijik soalan asal mmg salah. Akan ada syntax error. Mesin faham * sebagai darab
unless u buat mcm ni:
select 48/(2(9+3))
then jawapan dia 2.
Cuba terai tengokkk  |
|
|
|
|
|
|
|
Reply 196# HOTlips
mysql> select 48/(2(9+3))
-> ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(9+3))' at line 1
mysql> select 48 / (2* (9+3));
+-----------------+
| 48 / (2* (9+3)) |
+-----------------+
| 2.0000 |
+-----------------+
1 row in set (0.00 sec) |
|
|
|
|
|
|
|
mysql> select 48/(2(9+3))
-> ;
ERROR 1064 (42000): You have an error ...
alien3d Post at 14-4-2011 10:38  Saje je ai tinggalkan asterisk tu. Error kan? 
Sebenarnya akak nak habaq baik 48/2(9+3) atau 48/(2(9+3)) tu bukan programming tp ia adalah suatu pernyataan matematik sahaja. Bila kita nak selesaikannya dlm programming, perlu lah diterjemahkan ke dlm syntax yg betul.
Cara menyelesaikan suatu pernyataan matematik, kena guna mathematical order mcm dlm bodmas n lain2 tu.
Meaning x de beza penyelesaian dlm komputer (programming) atau atas kertas sebenarnya.
Programming tu kita yg tulis. Kalau kita salah konsep, salah lah outputnya.
Sebab tu la bila 48/(2(9+3)) -----> maksud dlm bahasanya 48 bahagi dgn semua sekali yg ada dlm kurungan
jawapan adalah 2
tetapi kalau 48/2(9+3) -----> bermaksud : 48 bahagi 2 pastu darabkan dgn hasil tambah 9 dgn 3
jawapan adalah 288 |
|
|
|
|
|
|
|
Ya.lagi satu board lowyat. Sampai ada versi 2.. Diorang still gaduh pasal 2 dan 288. |
|
|
|
|
|
|
|
saudara-saudara boleh cuba calculator yg guna reverse polish notation, jawapan dia dua |
|
|
|
|
|
|
| |
Category: Belia & Informasi
|