Skip to content

Commit 9585e9f

Browse files
author
aryan
committed
check ui
1 parent 3e2b4f4 commit 9585e9f

2 files changed

Lines changed: 16 additions & 10 deletions

File tree

content/exercises/graded-assignments/mathematics-1/W1GA1.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,20 @@ Consider a table of materials and their dielectric constants:
5353
**Solution:**
5454
Each material maps to a unique dielectric constant, so the function is bijective.
5555

56-
---
56+
{{< border type="question" title="Q3">}}
5757

58-
**Example (Q3):**
5958
Given:
59+
6060
$A = \{x \in \mathbb{N} \mid x \bmod 2 = 0 \text{ and } 1 \leq x \leq 10\} = \{2,4,6,8,10\}$
61+
6162
$B = \{x \in \mathbb{N} \mid x \bmod 5 = 0 \text{ and } 6 \leq x \leq 25\} = \{10,15,20,25\}$
63+
6264
$C = \{x \in \mathbb{N} \mid x \bmod 7 = 0 \text{ and } 7 \leq x \leq 29\} = \{7,14,21,28\}$
6365

6466
Find $A \setminus (B \cup C)$, $B \setminus (A \cup C)$, $C \setminus (B \cup A)$.
67+
{{< /border >}}
6568

69+
{{< border type="tip" title="Answer" >}}
6670
**Solution:**
6771
$A \setminus (B \cup C) = \{2,4,6,8\}$
6872
$B \setminus (A \cup C) = \{15,20,25\}$
@@ -71,19 +75,18 @@ $C \setminus (B \cup A) = \{7,14,21,28\}$ (note: likely a typo in the original f
7175
Thus,
7276
$A \setminus (B \cup C) \cup B \setminus (A \cup C) \cup C \setminus (B \cup A) = \{2,4,6,8,15,20,25,7,14,21,28\}$
7377
**Cardinality:** 11
78+
{{< /border >}}
7479

75-
---
76-
80+
{{< border type="question" >}}
7781
**Example (Q4):**
7882
Total number of people = 180
7983
Number who watched Dabang $N(D) = 95$
8084
Number who watched Avatar and RRR $N(A \cup R) = 40$
8185
Number who watched Dabang and RRR $N(D \cup R) = 55$
8286
Let $x$ be the number who watched all three movies.
87+
{{< /border >}}
8388

84-
{{< border >}}
85-
**Solution:**
86-
89+
{{< border title="Answer" >}}
8790
$$
8891
(x-10) + (10+x) + (5+x) + (55-x) + (50-x) + x + (40-x) = 180
8992
$$
@@ -119,7 +122,7 @@ Find the cardinality of $R_1 \setminus (R_1 \cap R_2)$.
119122

120123
{{< /border >}}
121124

122-
{{< border >}}
125+
{{< border title="Solution" >}}
123126
**Solution:**
124127

125128
$S = \{0,1,2,\ldots,18\}$
@@ -140,7 +143,7 @@ $R_1 \setminus (R_1 \cap R_2) = \{(1,3),(2,6),(4,12),(5,15),(6,18)\}$
140143
In a Zoo, there are 6 Bengal white tigers and 7 Bengal royal tigers. Out of these, 5 are males and 10 are either Bengal royal tigers or males. Find the number of female Bengal white tigers.
141144
{{< /border >}}
142145

143-
{{< border >}}
146+
{{< border type="conclusion" >}}
144147
**Solution:**
145148
Let BW = Bengal White, BR = Bengal Royal, M = Male.
146149
$n(BR) = 7$, $n(M) = 5$, $n(BR \cup M) = 10$

layouts/shortcodes/border.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ <h3 class="header-title">{{ $title }}</h3>
2929
padding: 16px;
3030
margin: 16px 0;
3131
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
32-
overflow-x: scroll;
32+
33+
.border-card-content{
34+
overflow-x: scroll;
35+
}
3336

3437
p{
3538
margin-top: 1rem;

0 commit comments

Comments
 (0)