To find the maximum percentage of votes Amiya can get, we must consider all possible campaign choices for Ramya, given that Amiya's campaign is focused on issues. The percentage of votes is calculated with respect to the total number of students.
Let $L_A$ be the level of Amiya's campaign and $L_R$ be the level of Ramya's campaign. $L_A$ and $L_R$ can be either 1 (staid) or 2 (vigorous).
Case 1: Amiya (Issues) and Ramya (Issues)
In this case, the percentage of the total student population that votes for Amiya is given by:
(Percentage of students voting) $\times$ (Amiya's share of votes)
$= [20 \times (L_A + L_R)]\% \times \left[\frac{L_A}{L_A + L_R}\right]$
$= (20 \times L_A)\%$
To maximize this, Amiya must run a vigorous campaign, so we set $L_A = 2$.
Maximum percentage for Amiya in this case = $20 \times 2 = 40\%$.
Case 2: Amiya (Issues) and Ramya (Attack)
This scenario is a modification of the "otherwise" case, which is when both run campaigns focusing on issues.
First, we calculate the baseline percentage of votes for each candidate as if both were running issue-based campaigns:
Amiya's baseline percentage = $(20 \times L_A)\%$
Ramya's baseline percentage = $(20 \times L_R)\%$
The rule states that if Ramya attacks, "20% of the students who would have otherwise voted for Ramya will vote for Amiya".
The percentage of votes Amiya gains is $20\%$ of Ramya's baseline percentage.
Votes gained by Amiya = $0.20 \times (20 \times L_R)\% = (4 \times L_R)\%$.
Amiya's final percentage of votes is her baseline percentage plus the votes she gains from Ramya:
Final percentage for Amiya = $(20 \times L_A)\% + (4 \times L_R)\% = (20L_A + 4L_R)\%$.
To maximize this expression, we must choose the maximum possible levels for both campaigns. The maximum level is 2.
Set $L_A = 2$ (Amiya's campaign is vigorous).
Set $L_R = 2$ (Ramya's campaign is vigorous).
Maximum percentage for Amiya = $(20 \times 2) + (4 \times 2) = 40 + 8 = 48\%$.
Comparing the maximums from Case 1 (40%) and Case 2 (48%), the overall maximum percentage of votes Amiya can get is 48%.