← 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
Find final velocity from initial velocity, constant acceleration, and elapsed time using vf = vi + a*t.
Usage
Inputs
- Initial velocity in m/s: any signed number with magnitude below 1e100
- Constant acceleration in m/s^2: any signed number with magnitude below 1e100
- Elapsed time in seconds: 0 or more, below 1e100
Outputs
- Final velocity in m/s, using vf = vi + a*t
Units: Use m/s for initial velocity, m/s^2 for acceleration, and seconds for time; the result is m/s.
Assumptions and limitations
Assumptions
- Acceleration is constant over the entered time.
- Signed values describe direction along one chosen axis.
Constraints
- Elapsed time cannot be negative.
- Inputs and result must remain within the program's finite numeric range.
Known failures
- Non-numeric, NaN, infinite, or out-of-range input is requested again.
- A negative time is requested again; an excessively large final result stops with an error.
- The answer is not automatically rounded to significant figures.
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; transferred through TI Connect CE as PTEST
- What happened
- The program ran successfully on the calculator: the duck opening appeared, Enter started the prompts, and the final velocity answer displayed. Edge cases were checked on desktop only.
- Dependencies
- No imports
- Suggested calculator name
FINALVEL— you can give it another valid, unique name when you transfer it- Desktop test cases
- 5 cases
The desktop tests cover calculations and error handling. The calculator review above records what was actually checked on the device.
Browser preview
Try the DuckieDai calculator screen
See the DuckieDai opening, enter initial velocity, acceleration, and elapsed time, then follow the result.
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.
TI-84 Plus CE Python · screen preview
JavaScript is required for the optional browser simulation. Source viewing and downloading remain available without it.
Exact reviewed bytes
Source code
"""DuckieDai Final Velocity prototype for TI-84 Plus CE Python.Standalone source. Not yet verified on a physical calculator."""def duckiedai_intro(program_name, wait=True):"""Show the same small opening as the Rectangle Area program."""title = program_name[:16]empty = 16 - len(title)left = empty // 2right = empty - leftprint("+----------------------+")print("| " + " " * left + title + " " * right + " |")print("| |")print("| __ |")print("| ___(o )> quack! |")print("| \\ <_. ) |")print("| `---' |")print("| by DuckieDai |")print("+----------------------+")print("Loading...")if wait:input("Press enter to start ")print("\n" * 6)def is_finite_input(value):"""Reject NaN, infinity, and magnitudes impractical for the calculator."""return value > -1e100 and value < 1e100def number(prompt):"""Allow positive, negative, or zero velocity and acceleration."""while True:try:value = float(input(prompt))if is_finite_input(value):return valueexcept ValueError:passprint("Enter a valid number.")def nonnegative_number(prompt):"""Elapsed time can be zero, but not negative."""while True:value = number(prompt)if value >= 0:return valueprint("Enter 0 or above.")def final_velocity(initial_velocity, acceleration, time):"""Return vf = vi + a*t for constant acceleration in SI units."""if not is_finite_input(initial_velocity) or not is_finite_input(acceleration):raise ValueError("velocity and acceleration must be finite")if not is_finite_input(time) or time < 0:raise ValueError("time must be nonnegative and finite")velocity = initial_velocity + acceleration * timeif not is_finite_input(velocity):raise ValueError("final velocity is too large")return velocitydef main():duckiedai_intro("FINAL VELOCITY")print("FINAL VELOCITY")print("Formula: vf = vi + a*t")print()vi = number("Initial v (m/s): ")acceleration = number("Accel (m/s^2): ")time = nonnegative_number("Time (s): ")vf = final_velocity(vi, acceleration, time)print()print("vf = " + str(vi) + " +")print("(" + str(acceleration) + " x " + str(time) + ")")print("Final velocity =")print(str(vf) + " m/s")print()print("DuckieDai says: done!")# TI-Python imports a selected AppVar instead of setting __name__ to main.main()
- Filename
duckiedai_final_velocity.py- Size
- 2664 bytes
- SHA-256
82f7574b4ab96769f6b83867c3a9ce41d9c849f5f3f1065853d1f42febf49dcb
Transfer and launch
- Confirm that your calculator is the Python-capable model named above. Check that its OS and Python App versions match the reviewed record.
- Download the
.pysource above and verify its SHA-256 digest if your computer provides that option. - Use TI Connect CE to send the Python file to a compatible calculator.
FINALVELis a suggested name; you may choose another valid, unique calculator name. - 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
- 1.0.0 — current version, published . Download this reviewed version
Any source change requires a new immutable version and digest. Historical downloads remain available only while their review records remain valid.