Professional Documents
Culture Documents
Final Test Set and Logic - Yessica Isabella - 4203111046 - Mesp2020
Final Test Set and Logic - Yessica Isabella - 4203111046 - Mesp2020
1. The following functions are mapping from R to R. Find the inverse formula, the f(x) = 2x -6
F (x) = 2x – 6
2x-6 = y
2x = y+6
1
X = y +3
2
−1 1
f ( x )= x +3
2
2
2. The know f(x)= x 2−4 x+2 and g(x)=3x+5. Find composition function (f∘g) ( ¿
3
(𝑓 ∘ 𝑔)(𝑥) = 𝑓(𝑔(𝑥))
2 2 2
Maka (f∘g) ( ¿ = 9 ( ¿ 2 + 18 ( ¿ + 7
3 3 3
= 23
3. The know g(x)=2x+4 dan (f∘g)(x) =7 2 x +3x−6. Find the value of f(2).
(𝑓 ∘ 𝑔)(𝑥) = 7 𝑥 2 + 3𝑥 − 6
𝑓(𝑔(𝑥)) = 7 𝑥 2 + 3𝑥 − 6
𝑓(2𝑥 + 4 ) = 7 𝑥 2 + 3𝑥 − 6
F (x) = 7 ¿
F (2) = 7 ¿
F (2) = 7 (−1)2+ 3 (−1 )−6
F (2) = -2
4. A bank in the United States offers the exchange rate of US Dollar (USD) to Malaysian Ringgit
(MYR), which is 1 USD = 3.45 MYR, with an exchange fee of 2.3 USD for each redemption
transaction. Then one of the famous banks in Malaysia offers a Malaysian ringgit (MYR) to
Indonesian Rupiah (IDR) exchange rate, i.e. 1 MYR = Rp3,250.00, with an exchange fee of 2.4 MYR
for each redemption transaction. An American tourist wanted to travel to Malaysia and then
proceeded to Indonesia with 2,900 USD. How much idr will the tourist receive if he first converts all
his money to Malaysian Ringgit in America and then converts it to Indonesian Rupiah in Malaysia?
a. USD → MYR
1 USD = 3, 45 MYR
Biaya Penukaran 2,3 USD = 2,3 (3, 45) = 7, 935 MYR
b. Tautologi
contoh : (𝑝 ∧ 𝑞) → 𝑞
𝑝 𝑞 (𝑝 ∧ 𝑞) (𝑝 ∧ 𝑞) → 𝑞
B B B B
B S S B
S B S B
S S S B
c. Kontigensi
contoh : (𝑝 → 𝑞) ∧ ~𝑞
𝑝 𝑞 (𝑝 → 𝑞) ~𝑞 (𝑝 → 𝑞) ∧ ~𝑞
B B B S S
B S S B S
S B B S S
S S B B B
b. Jakarta adalah ibu kota RI atau Padang adalah ibu kota Provinsi Sumatera Barat.
Negasi : Jakarta buka ibu kota RI dan Padang bukan ibu kota Provinsi Sumatera Barat
c. Palangkaraya adalah bukan ibu kota RI maka Pontianak adalah ibu kota Provinsi Kalimantan
Barat.
Negasi : Palangkaraya adalah ibu kota RI dan Pontianak bukan ibu kota Provinsi
Kalimantan Barat
d. Bandung adalah ibu kota Provinsi Jawa Barat jika dan hanya jika Semarang adalah ibu kota
Provinsi Jawa Tengah.
Negasi : Bandung adalah ibu kota Provinsi Jawa Barat dan Semarang adalah ibu kota
Provinsi Jawa Tengah atau Semarang adalah ibu kota Provinsi Jawa Tengah dan Bandung
bukan ibu kota Provinsi Jawa Barat
c. Kontraposisi
¬(𝑟 ∧ 𝑠) → ¬ (𝑝 ∨ 𝑞) ↔ ¬(𝑟 ∧ 𝑠) → (¬𝑝 ∧ ¬𝑞)