Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove and update placeholder equations #579

Merged
merged 11 commits into from
Nov 11, 2024
18 changes: 10 additions & 8 deletions utils/constants/referencesheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const referenceSheet = {
'$6.67\\times10^{-11}\\:\\mathrm{Nm^2/kg^2}$',
"Acceleration due to gravity at Earth's surface":
'$g = 9.809\\:\\mathrm{m/s^2}$',
"Avogadro's number": '$N_0 = 6.02\\times10^{23}\\:\\mathrm{mol^{-1}}$',
"Avogadro's number": '$N_A = 6.02\\times10^{23}\\:\\mathrm{mol^{-1}}$',
'Universal gas constant': '$R = 8.31\\: \\mathrm{J/(mol\\cdot K)}$',
"Boltzmann's constant": '$k_B = 1.38\\times10^{-23}\\:\\mathrm{J/K}$',
'1 electron volt':
Expand All @@ -69,34 +69,36 @@ const referenceSheet = {
},
Chemistry: {
Equations: {
'Henderseon-Hasselbach': 'hm',
'Henderseon-Hasselbach': '$pH = pKa + \\log{\\frac{[A^-]}{[HA]}}$',
},
Constants: {
"Faraday's Constant": '96485 [unit]',
"Faraday's Constant": '$96485 \\:\\mathrm{s\\cdot A \\cdot mol^{-1}}$',
},
},
Biology: {
Equations: {
'Hardy-Weinberg Equilibrium': '$p^2+2pq+q^2=1$',
},
Constants: {
'Karring Kapasity': 'something',
'Avogadro\'s number': '$N_A = 6.02\\times10^{23}\\:\\mathrm{mol^{-1}}$',
},
},
ESS: {
Equations: {
'Hardy-Weinberg Equilibrium': '$p^2+2pq+q^2=1$',
'Darcy\'s Law': '$q = -\\frac{k}{\\mu} \\Delta p$',

},
Constants: {
'Karring Kapasity': 'something',
'Earth\'s Average Density': '$\\rho = 5.51 \\:\\mathrm{g/cm^3}$',
'Earth\'s Radius': '$R = 6.371\\times 10^6 \\:\\mathrm{m}$',
},
},
USABO: {
Equations: {
'Hardy-Weinberg Equilibrium': '$p^2+2pq+q^2=1$',
'': '',
},
Constants: {
'Karring Kapasity': 'something',
'': '',
},
},
};
Expand Down
6 changes: 3 additions & 3 deletions views/private/train/displayQuestion.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<% choiceIndex++; %>
<% }) %>
<% if(!(typeof disabled != 'undefined' && disabled)) { %>
<input class="btn btn-primary mt-4" type="submit" value="Submit" id="submit">
<input class="btn btn-primary mt-4 mb-3" type="submit" value="Submit" id="submit">
<% } %>
</div>
<input type="hidden" name="id" value="<%= newQues._id %>">
Expand Down Expand Up @@ -143,7 +143,7 @@
<% choiceIndex++; %>
<% }) %>
<% if(!(typeof disabled != 'undefined' && disabled)) { %>
<input class="btn btn-primary mt-4" type="submit" value="Submit" id="submit">
<input class="btn btn-primary mt-4 mb-3" type="submit" value="Submit" id="submit">
<% } %>
</div>
<input type="hidden" name="id" value="<%= newQues._id %>">
Expand All @@ -166,7 +166,7 @@
<div class="form-group">
<input type="text" class="form-control" id="fr-answer" placeholder="Enter your answer here" name="freeAnswer" value="">
</div>
<input class="btn btn-primary" type="submit" value="Submit" id="submit">
<input class="btn btn-primary mb-3" type="submit" value="Submit" id="submit">
<% } %>
</div>
<input type="hidden" name="id" value="<%= newQues._id %>">
Expand Down
Loading