I'm trying to use julia to solve a forced oscillator function my′′(t)+cy′(t)+ky(t)=−mg but im not sure how to set up the function for julia to solve it. m, c, k, and g are constants
I tried moving the -mg to the left side as I would to follow what I would've done to a homogeneous equation