← 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.
rational-functions · MIT License
Overview
Classify a rational function as having y-axis symmetry, origin symmetry, or neither by comparing numerator and denominator coefficients under x replaced by negative x.
Calculator simulation
Try the DuckieDai calculator screen
Follow the reviewed program prompts and calculation 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.
TI-84 Plus CE Python · screen preview
JavaScript is required for the optional browser simulation. Source viewing and downloading remain available without it.
Usage
Inputs
- Numerator polynomial degree and coefficients
- Denominator polynomial degree and coefficients
Outputs
- Y-axis symmetry, origin symmetry, or neither
Units: Polynomial coefficients and degrees; no physical units.
Assumptions and limitations
Assumptions
- Coefficients are entered from the highest power down to the constant term.
Constraints
- The program tests symmetry from entered coefficients; it does not factor or simplify the rational function.
Known failures
- Equivalent expressions can appear different until common factors are simplified first.
Compatibility and review
- Review status
- Tested on a TI calculator
- Tested on
- Creator-owned TI-84 Plus CE Python calculator; exact .py transferred and launched individually
- What happened
- Passed: creator personally tested the exact Rational Symmetry Checker program on a TI 84 Plus CE Python calculator.
- Dependencies
- No imports
- Suggested calculator name
SYMCKR— 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.
Exact reviewed bytes
Source code
"""DuckieDai Rational Symmetry Checker for TI-84 Plus CE Python."""def duckiedai_intro(program_name,wait=True):title=program_name[:16];e=16-len(title);l=e//2;r=e-lprint("+----------------------+\n| "+" "*l+title+" "*r+" |\n| |\n| __ |\n| ___(o )> quack! |\n| \\ <_. ) |\n| `---' |\n| by DuckieDai |\n+----------------------+\nLoading...")if wait:input("Press enter to start ");print("\n"*8)def clear_screen():print("\n"*8)def number(prompt):while True:try:return float(input(prompt))except ValueError:print("Enter a number")def read_poly(name):clear_screen();print(name+"\n");degree=int(number("Degree: "));values=[]for power in range(degree,-1,-1):values.append(number("Const: " if power==0 else "x: " if power==1 else "x^"+str(power)+": "))return degree,valuesdef run_test():nd,n=read_poly("NUMERATOR");dd,d=read_poly("DENOMINATOR")flip=lambda degree,values:[-v if (degree-i)%2 else v for i,v in enumerate(values)]nn=flip(nd,n);dn=flip(dd,d);same=lambda a,b:all(abs(x-y)<.0000001 for x,y in zip(a,b));neg=lambda a,b:all(abs(x+y)<.0000001 for x,y in zip(a,b))clear_screen();print("SYMMETRY\n--------")if (same(nn,n)and same(dn,d))or(neg(nn,n)and neg(dn,d)):print("Y-AXIS")elif (neg(nn,n)and same(dn,d))or(same(nn,n)and neg(dn,d)):print("ORIGIN")else:print("NEITHER")duckiedai_intro("Rational Sym")while True:run_test();print("")if input("Again? y/n: ").lower()!="y":breakclear_screen();print("DuckieDai says: done!")
- Filename
SYMCKR.py- Size
- 1549 bytes
- SHA-256
57b36b2aa18b189807704db92a5d501f50e5ba80ec683923f3b4d52003bbffdf
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.
SYMCKRis 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.