Skip to content

Commit

Permalink
fixed broken occurences of wrt
Browse files Browse the repository at this point in the history
  • Loading branch information
Ant13731 committed May 17, 2021
1 parent 214a95c commit 8689aaf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions code/drasil-example/Drasil/DblPendulum/GenDefs.hs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ velocityIXDerivSent2 = S "We also know the" +:+ phrase horizontal +:+ phrase pos
velocityIXDerivEqn2 = sy xPos $= sy lenRod * sin (sy pendDisplacementAngle)
velocityIXDerivSent3 = S "Applying this,"
velocityIXDerivEqn3 = sy xVel $= deriv (sy lenRod * sin (sy pendDisplacementAngle)) time
velocityIXDerivSent4 = E (sy lenRod) `S.sIs` S "constant" `wrt` S "time, so"
velocityIXDerivSent4 = E (sy lenRod) `S.sIs` S "constant" `S.wrt` S "time, so"
velocityIXDerivEqn4 = sy xVel $= sy lenRod * deriv (sin (sy pendDisplacementAngle)) time
velocityIXDerivSent5 = S "Therefore, using the chain rule,"

Expand Down Expand Up @@ -99,7 +99,7 @@ velocityIYDerivSent2 = S "We also know the" +:+ phrase vertical +:+ phrase posit
velocityIYDerivEqn2 = sy yPos $= negate (sy lenRod * cos (sy pendDisplacementAngle))
velocityIYDerivSent3 = S "Applying this again,"
velocityIYDerivEqn3 = sy yVel $= negate (deriv (sy lenRod * cos (sy pendDisplacementAngle)) time)
velocityIYDerivSent4 = E (sy lenRod) `S.sIs` S "constant" `wrt` S "time, so"
velocityIYDerivSent4 = E (sy lenRod) `S.sIs` S "constant" `S.wrt` S "time, so"
velocityIYDerivEqn4 = sy yVel $= negate (sy lenRod * deriv (cos (sy pendDisplacementAngle)) time)
velocityIYDerivSent5 = S "Therefore, using the chain rule,"

Expand Down
2 changes: 1 addition & 1 deletion code/drasil-example/Drasil/SSP/Assumptions.hs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ monotonicF, slopeS, homogeneousL, isotropicP, linearS, planeS, largeN,
waterSIntersect, negligibleSlopeEffect, hydrostaticFMidpoint :: Sentence

monotonicF = foldlSent [S "The", phrase slpSrf,
S "is concave" `wrt` S "the" +:+. phrase slopeSrf, S "The",
S "is concave" `S.wrt` S "the" +:+. phrase slopeSrf, S "The",
sParen (ch slipDist `sC` ch slipHght) +:+ S "coordinates", S "of a",
phrase slpSrf, S "follow a concave up function"]

Expand Down
2 changes: 1 addition & 1 deletion code/drasil-example/Drasil/SWHS/TMods.hs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ latentHtENotes :: [Sentence]
latentHtENotes = map foldlSent [
[ch latentHeat `S.isThe` S "change" `S.sIn` phrase thermalEnergy,
sParen (phrase latentHeat +:+ phrase energy)],
[E latHtEEqn `S.isThe` phrase rOfChng `S.sOf` ch latentHeat `wrt`
[E latHtEEqn `S.isThe` phrase rOfChng `S.sOf` ch latentHeat `S.wrt`
phrase time, ch tau],
[ch time `S.isThe` phrase time, S "elapsed" `sC` S "as long as the",
phrase phaseChange, S "is not complete"],
Expand Down

0 comments on commit 8689aaf

Please sign in to comment.