Repository navigation
fix: proofread solutions for Part India - #90
Merged
Merged
Conversation
Closes #67. Proofread src/sol-india.typ (solutions for Part India). Found and fixed: - exer-gravity-div1: the quotient-rule denominator was written as (r^6) instead of (rho^6) (r is never defined; only rho is used throughout). Also, the divergence sum applied partial/partial x to all three terms instead of partial/partial x, partial/partial y, partial/partial z respectively. - exer-parabola-1 and exer-parabola-3: the C2 line-integral and flux-integral setups both displayed the bounds as t=-1 to 1 (copy-pasted from the C1 computation) before immediately correcting to t=0 to 2 on the next line; fixed the first line's bounds to match. - exer-parabola-3 (Green's theorem method): the flux formula was written using the curl form (partial Q/partial x - partial P/partial y) instead of the correct divergence form (partial P/partial x + partial Q/partial y) used for flux; the numeric substitution that followed already used the correct divergence value, so only the displayed formula was wrong. Also restored a missing factor of 1/2 in the x^2/2 antiderivative term (this didn't change the boxed answer, since it cancels by symmetry over the [-1,1] bounds, but the displayed antiderivative was still incorrect). - exer-mt3-log: a sign error when distributing the bracket evaluation [e^(2y)/2 - 2e^y] from 0 to 1 led to subtracting instead of adding the y=0 term; fixed so the algebra is internally consistent (the boxed answer (e^2-3)/2 was already correct). No large mathematical errors were found; all other solutions in the file (touch grass, poster, work-given-angle, conservativeness check, work-boring, shoelace formula, flux-triangle, mt3-butterfly, mt3-green, mt3-chvar, mt3-polar, mt3-consv) were independently re-derived and check out correctly. Test plan: - Installed typst 0.15.0 plus the @local/evan:1.0.0 package and required @Preview deps (gentle-clues, linguify), then ran `typst compile lamv.typ` end-to-end (with placeholder SVGs standing in for Asymptote figures, since asy isn't available in this environment) -- compiles cleanly with no errors. - Ran codespell on the file -- no issues. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AhCH61DaZuipXvCWk8mA3f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #67.
Proofread
src/sol-india.typ(solutions for Part India). Found and fixed:exer-gravity-div1: the quotient-rule denominator was written as(r^6)instead of(rho^6)(ris never defined; onlyrhois used throughout). Also, the divergence sum appliedpartial/partial xto all three terms instead ofpartial/partial x,partial/partial y,partial/partial zrespectively.exer-parabola-1andexer-parabola-3: thet=-1to1(copy-pasted from thet=0to2on the very next line; fixed the first line's bounds to match.exer-parabola-3(Green's theorem method): the flux formula was written using the curl form(partial Q/partial x - partial P/partial y)instead of the correct divergence form(partial P/partial x + partial Q/partial y)used for flux; the numeric substitution that followed already used the correct divergence value, so only the displayed formula was wrong. Also restored a missing factor of1/2in thex^2/2antiderivative term (this didn't change the boxed answer, since it cancels by symmetry over the[-1,1]bounds, but the displayed antiderivative was still incorrect).exer-mt3-log: a sign error when distributing the bracket evaluation[e^(2y)/2 - 2e^y]from0to1led to subtracting instead of adding they=0term; fixed so the algebra is internally consistent (the boxed answer(e^2-3)/2was already correct).No large mathematical errors were found; all other solutions in the file (touch grass, poster, work-given-angle, conservativeness check, work-boring, shoelace formula, flux-triangle, mt3-butterfly, mt3-green, mt3-chvar, mt3-polar, mt3-consv) were independently re-derived and check out correctly.
Test plan
typst0.15.0 plus the@local/evan:1.0.0package and required@previewdeps (gentle-clues,linguify), then rantypst compile lamv.typend-to-end (with placeholder SVGs standing in for Asymptote figures, sinceasyisn't available in this environment) — compiles cleanly with no errors.codespellon the file — no issues.🤖 Generated with Claude Code
Generated by Claude Code