Python Forum
Help with initial conditions
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with initial conditions
#1
Hello, I am very new to this and need help with a pycharm program I am working on. I am making a freefall program using solve_ivp that is working great but I would like to have sets of initial conditions instead of just Y0=100 and V0=0. I wanted to make them into lists and be able to run a for loop that calls on the tuples for each set of the initial conditions and graph all 4 conditions on one.

So far I have Position vs time, time vs velocity and position vs velocities all with initial conditions Y0=100 and V0=0. Any help as to the best way to do this?

Thanks in advance

Chad
Reply


Messages In This Thread
Help with initial conditions - by Dantooine - Oct-18-2019, 06:31 PM
RE: Help with initial conditions - by UGuntupalli - Oct-18-2019, 07:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Changing the initial worksheet name in an MS Excel file azizrasul 3 1,098 Oct-02-2022, 07:56 PM
Last Post: azizrasul
  How to move multiple columns to initial position SriRajesh 4 1,541 Jul-02-2022, 10:34 AM
Last Post: deanhystad
  Variables being overridden to initial values. p2bc 6 2,849 Oct-10-2020, 09:03 PM
Last Post: p2bc
  Differential equations with initial condition in Python (change a working code) Euler2 1 1,930 May-29-2020, 04:06 PM
Last Post: Euler2

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020