Repository navigation
fix: proofread solutions for Part Hotel - #88
Merged
Merged
Conversation
Closes #65. - napkin-ring solution: the sphere equation was given in Cartesian form (x^2+y^2+z^2=R^2) despite being introduced as "using cylindrical coordinates"; corrected to r^2+z^2=R^2. - average-distance-to-line solution: a missing line break (\) caused two separate equation rows to be joined onto one line. - hemisphere-gravity solution: "and @eqn-sph-G3 and again" was a corrupted copy of the phrasing "and @eqn-sph-G3 just says" used at the original example this solution mirrors in src/sph.typ. - paraboloid surface-area solution: the displayed cross product vec(-2x, 2y, 1) had a sign error in the y-component; the formula derived directly above it gives -2y (and the magnitude computed in the next line already correctly uses (-2y)^2). Verified by recompiling the full book with typst 0.15.0 (placeholder SVGs standing in for Asymptote figures) and running codespell on the file. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UhTkuZP6KAGaumueKWZexB
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 #65.
Proofread
src/sol-hotel.typ(solutions for Part Hotel). Found and fixed:x^2+y^2+z^2=R^2. Corrected tor^2+z^2=R^2, consistent with the cylindrical-coordinate bounds (a<=r<=R,r^2+z^2<=R^2) used immediately afterward.\) in a multi-line equation caused two separate equation rows to be merged onto the same line.src/sph.typ(@sec-sph-gravity).vec(-2x, 2y, 1)had a sign error in theNo large mathematical errors were found; the napkin-ring, sphere-line-distance, hemisphere-gravity, parametrized-surface (
exer-psurf,exer-surf-tangent), and Archimedes hat-box-theorem solutions were all independently re-derived and check out correctly.Test plan
typst0.15.0 and the@local/evan:1.0.0package plus 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 by Claude Code