sage: soln1 = lambda t: 196/3-196exp(-3t/20)/3 sage: P1 = plot(soln1(t),0,29,plot_points=1000) sage: soln2 = lambda t: 1/10470(102606e^t + 573835)*e^(-t) sage: P2 = plot(soln2(t),30,50,plot_points=1000)
    |  1 |    initial version    |    |  
sage: soln1 = lambda t: 196/3-196exp(-3t/20)/3 sage: P1 = plot(soln1(t),0,29,plot_points=1000) sage: soln2 = lambda t: 1/10470(102606e^t + 573835)*e^(-t) sage: P2 = plot(soln2(t),30,50,plot_points=1000)
The plots P1 and P2 below are correct,
but when I combine them using P1 + P2,
there is a break. How to solve it?
sage: t = SR.var('t')
sage: soln1 = lambda t: 196/3-196exp(-3t/20)/3
196/3 - 196*exp(-3*t/20)/3
sage: P1 = plot(soln1(t),0,29,plot_points=1000)
plot(soln1(t), 0, 29, plot_points=1000)
sage: soln2 = lambda t: 1/10470(102606e^t 1/10470*(102606*e^t + 573835)*e^(-t)
sage: P2 = plot(soln2(t),30,50,plot_points=1000)plot(soln2(t), 30, 50, plot_points=1000)
 The plots P1 and P2 below are correct,
but when I combine them using P1 + P2,
there is a break. How to solve it?
sage: t = SR.var('t')
sage: soln1 = lambda t: 196/3 - 196*exp(-3*t/20)/3
sage: P1 = plot(soln1(t), 0, 29, 30, plot_points=1000)
sage: soln2 = lambda t: 1/10470*(102606*e^t + 573835)*e^(-t)
sage: P2 = plot(soln2(t), 30, 50, plot_points=1000)
P1# the figure is right
 The plots P1 and P2 below are correct,
but when I combine them using P1 + P2,
there is a break. How to solve it?
sage: t = SR.var('t')
sage: soln1 = lambda t: 196/3 - 196*exp(-3*t/20)/3
sage: P1 = plot(soln1(t), 0, 30, plot_points=1000)
sage: soln2 = lambda t: 1/10470*(102606*e^t + 573835)*e^(-t)
sage: P2 = plot(soln2(t), 30, 50, plot_points=1000)
P1# the figure is right
 The plots P1 and P2 below are correct,
but when I combine them using P1 + P2,
there is a break. How to solve it?
sage: t = SR.var('t')
sage: soln1 = lambda t: 196/3 - 196*exp(-3*t/20)/3
sage: P1 = plot(soln1(t), 0, 30, plot_points=1000)
sage: soln2 = lambda t: 1/10470*(102606*e^t + 573835)*e^(-t)
sage: P2 = plot(soln2(t), 30, 50, plot_points=1000)
P1# the figure is right
P2# the figure is also right
P1+P2 # the figure is wrong in the point (t=30)
 The plots P1 and P2 below are correct,
but when I combine them using P1 + P2,
there is a break. How to solve it?
sage: t = SR.var('t')
sage: soln1 = lambda t: 196/3 - 196*exp(-3*t/20)/3
sage: P1 = plot(soln1(t), 0, 30, plot_points=1000)
sage: soln2 = lambda t: 1/10470*(102606*e^t + 573835)*e^(-t)
sage: P2 = plot(soln2(t), 30, 50, plot_points=1000)
P1# the figure is right
P2# the figure is also right
P1+P2 # the figure is wrong in the point (t=30)
 
 
                
                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.