Open alexwlchan opened 11 years ago
There’s a coefficient of +1y here: http://nrich.maths.org/mathmoApp/#/mathmo/Alex/C33/1007 and is should just be +1y.
Also this one is a bit off: http://nrich.maths.org/mathmoApp/#/mathmo/Alex/C33/1023
We need to fix the routing. None of these shared URLs are working.
M
On 11 Jul 2013, at 17:28, Alex Chan wrote:
There’s a coefficient of +1y here: http://nrich.maths.org/mathmoApp/#/mathmo/Alex/C33/1007 and is should just be +1y.
Also this one is a bit off: http://nrich.maths.org/mathmoApp/#/mathmo/Alex/C33/1023
— Reply to this email directly or view it on GitHub.
Mike Pearson +44 (0)1223 764244 +44 (0)7742 6418207 MMP, Centre for Mathematical Sciences, Cambridge CB3 0WA
Add unit tests to account for the edge cases in parallel/perpendicular line equations.
Thankyou!
M
On 15 Jul 2013, at 15:19, Alex Chan wrote:
• Matrices are fixed in 4bdafa0 • Spacing in figures of revolution is fixed in 0b317e4 • Stationary points are fixed in 866235d — Reply to this email directly or view it on GitHub.
Mike Pearson +44 (0)1223 764244 +44 (0)7742 6418207 MMP, Centre for Mathematical Sciences, Cambridge CB3 0WA
Of the points discussed above, these remain:
In addition, I’ve found some more items:
gerwrite()
doing in polys.ls
? It’s commented out at the moment, so right now, not a lot.stats.ls
stats.ls
complex.ls
makeChiSquare
Most of the qa files are now in LiveScript, which I’ve been doing as I integrate them into CMEP. I’ve not pushed them yet, because I still need to work out a few bugs (related to the fact that LS doesn’t have the ternary operator).
Spewing out nasty decimals is usually best solved by appealing to Number.toPrecision or Number.toFixed. These return strings so are safe. LS ternary operator is 'if x then a else b' rather than the usual 'x ? a : b'. Not sure why they chose to be more verbose than js there. No idea about gerwrite().
I think the decimals should be fractions, so I need a peek to see why the frac
object is turning into a decimal. I’m not sure if Number.toPrecision
or Number.toFixed
would be useful here.
Yep. I’m doing a few workarounds, and I suppose their ternary is more LiveScript-like. Hmm.
shrug It’s still in there, commented out, so we can get it out if needs be.
A few more:
<li>
for makeCircle
I’ll be out of Cambridge for the next few days, and only making sporadic fixes. I’m making this list for personal reference, but having it here might be useful too.
In rank 2 and rank 3 matrices, it might be nice to pull common fractions outside the matrix. e.g. $$\frac{1}{17}\begin{pmatrix}1 & 2 \ 3 & 4\end{pmatrix}$$ as opposed to $$\begin{pmatrix}\frac{1}{17} & \frac{2}{17} \ \frac{3}{17} & \frac{4}{17}\end{pmatrix}.$$ Not sure how easy it would be to implement.I have a typo to fix in further vectors.Formatting of $dx$ in integration by substitution.Also spacing in the denominator.Spacing in figures of revolution.In differential equations, if the term on the RHS is negative, then pull it over so the RHS is zero. ExampleIn stationary points, write a full sentence for the answer.In implicit differentiation, correct the formatting of $\frac{dy}{dx}$ and some wording.In vector equations, fix a typo that I made.List here to account for the stack of commits I’ll push over the next few days, but also for other people to contribute to. Put other small fixes or minor issues with Mathmo in this thread, and I’ll work my way through the list over the next few days.