Hidden WordScanner
Private scans · No account required

DuckieDai Centripetal Force

Solve centripetal force, mass, speed, or radius from Fc = m*v^2/r with guided inputs and paginated results.

Version 1.0.0 · Tested on a TI calculator

← Back to Calculator Program Library

Independent compatibility resource: Hidden Word Scanner is independent and is not affiliated with or endorsed by Texas Instruments. TI product names describe compatibility only.

Action-count privacy: Successful downloads, preview starts, and preview completions increment same-origin aggregate counters. No entered values, source text, IP address, account, cookie, device identifier, or fingerprint is stored with these counts.

physics · MIT License

Overview

Solve centripetal force, mass, speed, or radius from Fc = m*v^2/r with guided inputs and paginated results.

Usage

Inputs

  • Requested unknown: force, mass, speed, or radius
  • Three known positive values in consistent SI units

Outputs

  • Requested centripetal quantity with formula and labelled unit

Units: Use kilograms, metres per second, metres, and newtons consistently.

Assumptions and limitations

Assumptions

  • Motion is circular and the supplied values describe the same instant.

Constraints

  • Mass, speed, radius, and force inputs must be positive and below 1e100.

Known failures

  • Zero or negative inputs are rejected.
  • Inconsistent units produce an incorrect numerical result.

Compatibility and review

Review status
Tested on a TI calculator
Tested on
TI-84 Plus CE Python; OS 5.8.3; Python App 5.8.3.0048; exact paginated .py transferred through TI Connect CE into RAM and tested individually
What happened
Passed: branded intro, paginated menu, force/mass/speed/radius workflow, formula display, and answer screen ran on the physical calculator
Dependencies
math
Suggested calculator name
CENFORCE — you can give it another valid, unique name when you transfer it
Desktop test cases
Not available for this interactive-only source

This exact source auto-launches an interactive calculator session, so compatibility evidence comes from the recorded physical-device review rather than an importable desktop fixture.

Browser preview

Try the DuckieDai calculator screen

Follow the reviewed program's real menu, prompts, validation, calculation, and result flow before downloading.

Simulation boundary: This preview uses a reviewed browser adapter. It does not execute the downloaded Python and does not prove TI-Python or calculator compatibility.

JavaScript is required for the optional browser simulation. Source viewing and downloading remain available without it.

Exact reviewed bytes

Source code

Download .py

View source below, copy it when JavaScript is available, or download the exact .py bytes.

  1. """DuckieDai Centripetal Force for TI-84 Plus CE Python."""
  2. from math import sqrt
  3. def duckiedai_intro(program_name, wait=True):
  4. """Show the reusable DuckieDai program opening."""
  5. title = program_name[:16]
  6. empty = 16 - len(title)
  7. left = empty // 2
  8. right = empty - left
  9. print("+----------------------+")
  10. print("| " + " " * left + title + " " * right + " |")
  11. print("| |")
  12. print("| __ |")
  13. print("| ___(o )> quack! |")
  14. print("| \\ <_. ) |")
  15. print("| `---' |")
  16. print("| by DuckieDai |")
  17. print("+----------------------+")
  18. print("Loading...")
  19. if wait:
  20. input("Press enter to start ")
  21. print("\n" * 6)
  22. def positive_number(prompt):
  23. """Require a value greater than zero."""
  24. while True:
  25. try:
  26. value = float(input(prompt))
  27. if value > 0 and value < 1e100:
  28. return value
  29. except ValueError:
  30. pass
  31. print("Enter a number above 0.")
  32. def nonnegative_number(prompt):
  33. """Allow zero or positive values."""
  34. while True:
  35. try:
  36. value = float(input(prompt))
  37. if value >= 0 and value < 1e100:
  38. return value
  39. except ValueError:
  40. pass
  41. print("Enter 0 or greater.")
  42. def show_answer(name, value, unit):
  43. input("Press enter for answer ")
  44. print("\n" * 6)
  45. print("ANSWER")
  46. print(name + " = " + str(value))
  47. print(unit)
  48. def main():
  49. duckiedai_intro("CENTRIPETAL")
  50. print("CENTRIPETAL FORCE")
  51. print()
  52. print("Formula:")
  53. print("Fc = m*v^2/r")
  54. input("Press enter for menu ")
  55. print("\n" * 6)
  56. print()
  57. print("What do you need?")
  58. print()
  59. print("1. Centripetal force")
  60. print("2. Mass")
  61. print("3. Speed")
  62. print("4. Radius")
  63. print()
  64. choice = input("Choose 1-4: ")
  65. print()
  66. # ==========================================
  67. # 1. SOLVE CENTRIPETAL FORCE
  68. #
  69. # Fc = m*v^2/r
  70. # ==========================================
  71. if choice == "1":
  72. mass = positive_number("Mass (kg): ")
  73. speed = nonnegative_number("Speed (m/s): ")
  74. radius = positive_number("Radius (m): ")
  75. force = (
  76. mass * speed ** 2 /
  77. radius
  78. )
  79. print()
  80. print("Using:")
  81. print("Fc = m*v^2/r")
  82. print()
  83. print("Fc = " + str(mass))
  84. print("x " + str(speed) + "^2")
  85. print("/ " + str(radius))
  86. show_answer(
  87. "Fc",
  88. force,
  89. "newtons"
  90. )
  91. # ==========================================
  92. # 2. SOLVE MASS
  93. #
  94. # m = Fc*r/v^2
  95. # ==========================================
  96. elif choice == "2":
  97. force = positive_number("Force (N): ")
  98. radius = positive_number("Radius (m): ")
  99. speed = positive_number("Speed (m/s): ")
  100. mass = (
  101. force * radius /
  102. (speed ** 2)
  103. )
  104. print()
  105. print("Using:")
  106. print("Fc = m*v^2/r")
  107. print()
  108. print("Rearranged:")
  109. print("m = Fc*r/v^2")
  110. show_answer(
  111. "m",
  112. mass,
  113. "kg"
  114. )
  115. # ==========================================
  116. # 3. SOLVE SPEED
  117. #
  118. # v = sqrt(Fc*r/m)
  119. # ==========================================
  120. elif choice == "3":
  121. force = nonnegative_number("Force (N): ")
  122. radius = positive_number("Radius (m): ")
  123. mass = positive_number("Mass (kg): ")
  124. speed = sqrt(
  125. force * radius /
  126. mass
  127. )
  128. print()
  129. print("Using:")
  130. print("Fc = m*v^2/r")
  131. print()
  132. print("Rearranged:")
  133. print("v = sqrt(Fc*r/m)")
  134. show_answer(
  135. "v",
  136. speed,
  137. "m/s"
  138. )
  139. # ==========================================
  140. # 4. SOLVE RADIUS
  141. #
  142. # r = m*v^2/Fc
  143. # ==========================================
  144. elif choice == "4":
  145. mass = positive_number("Mass (kg): ")
  146. speed = positive_number("Speed (m/s): ")
  147. force = positive_number("Force (N): ")
  148. radius = (
  149. mass * speed ** 2 /
  150. force
  151. )
  152. print()
  153. print("Using:")
  154. print("Fc = m*v^2/r")
  155. print()
  156. print("Rearranged:")
  157. print("r = m*v^2/Fc")
  158. show_answer(
  159. "r",
  160. radius,
  161. "meters"
  162. )
  163. else:
  164. print("Invalid choice.")
  165. print()
  166. print("DuckieDai says: done!")
  167. # TI-Python imports the selected AppVar rather than
  168. # setting __name__ to main.
  169. main()
Filename
CENFORCE.py
Size
4928 bytes
SHA-256
f4aa188d0e10e5cb6b6afa22fbb6354da2a86a61a467ec0fa1db78eee7e43e67

Transfer and launch

  1. Confirm that your calculator is the Python-capable model named above. Check that its OS and Python App versions match the reviewed record.
  2. Download the .py source above and verify its SHA-256 digest if your computer provides that option.
  3. Use TI Connect CE to send the Python file to a compatible calculator. CENFORCE is a suggested name; you may choose another valid, unique calculator name.
  4. Open the Python App, select the program, and check sample inputs before relying on other results.

Read the complete installation, launch, troubleshooting, and removal guide.

Availability does not mean a teacher, school, or exam permits this program. Follow the applicable rules.

Version history

Any source change requires a new immutable version and digest. Historical downloads remain available only while their review records remain valid.