Author Topic: Graphing looping lines in parametric mode  (Read 3842 times)

0 Members and 2 Guests are viewing this topic.

Offline ColdHeartedOrb

  • LV0 Newcomer (Next: 5)
  • Posts: 2
  • Rating: +0/-0
    • View Profile
Graphing looping lines in parametric mode
« on: May 03, 2019, 01:26:40 pm »
I will post pictures in a couple hours, currently I do not have access to them.

I've been experimenting with the basic parametric graphing mode and am trying to write an equation that sets the x value back to the beginning when it reaches an edge.

Specifically, I am using this to try and graph a rudimentary satellite ground track.

Currently, I have it written so whenever it completes a period it will subtract the length of the whole window, resetting the x value to -180.
It is written as such:

X1T=((2CT/B)-(2C(int(T/B))-C
C = 180 (the distance from the origin to the edge)
B = the period

Essentially, the graph starts at x=-180 and whenever (T/B) returns an integer value (meaning enough time has passed to cover 2C, the entire window) it will subtract that integer value multiplied by the window and reset to x=-180.

This equation generally works, it gets the job done, but is there a better way to do this? Possibly a more general way with logic or combining equations? Perhaps a way that could be used to generate a flat torus window?

However, my biggest problem with this equation is that it produces annoying lines whenever the x position resets kind of like asymptotes in function mode when detectAsymptotes is disabled. I'm struggling to find a good way to fix this. My current solution is to graph with a dotted line but that requires a small and slow Tstep to look presentable.

TLDR: How can I prevent lines being graphed in parametric mode when graphing an equation that suddenly jumps to another position?

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Graphing looping lines in parametric mode
« Reply #1 on: May 03, 2019, 03:38:24 pm »
While I don't know of a solution for any calc, what calculator is this for?

Offline ColdHeartedOrb

  • LV0 Newcomer (Next: 5)
  • Posts: 2
  • Rating: +0/-0
    • View Profile
Re: Graphing looping lines in parametric mode
« Reply #2 on: May 03, 2019, 04:04:59 pm »
TI-84 Plus CE!