Ask Your Question

Revision history [back]

I am not sure there is anything wrong in the picture: P2 is the graph of a function that is nearly constant:

sage: soln2(30).n()
9.80000000000513
sage: soln2(40).n()
9.80000000000000
sage: soln2(4000).n()
9.80000000000000

So, when you put it on the same plot as P1, since soln1 ranges from 0 to more than 64, the graph of soln2 looks flat.

sage: soln1(0).n()
0.000000000000000
sage: soln1(30).n()
64.6075455595015

I am not sure of what you are expecting at x=30, but you can join the endpoints of the two plots as follows:

sage: P1 + P2 + line2d([(30,soln1(30)), (30,soln2(30))])