Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Plotting Piecewise function

I have a large piecewise function (with 180 equations), how do I plot this on sage? Thanks

heres a sample: (1234, 1234), 0.0], [(1234, 1234), 0.0020259319286871956x + 2.5], [(1234, 1234), 0.0060777957860615869x + 7.5], [(1234, 1234), 0.010129659643435977x + 12.5], [(1234, 1244), 0.0156672069165316x + 19.333333335], [(1244, 1254), 0.015541264738745977x + 19.333333335], [(1254, 1264), 0.015417331208133968x + 19.333333335], [(1264, 1274), 0.015295358651107592x + 19.333333335], [(1274, 1312), 0.015175300890894815x + 19.333333335], [(1312, 1312), 0.014735772358993898x + 19.333333335], [(1312, 1312), 0.022103658536585365x + 29.0]

Plotting Piecewise function

I have a large piecewise function (with 180 equations), how do I plot this on sage? Thanks

heres a sample: (1234, [(1234, 1234), 0.0], [(1234, 1234), 0.0020259319286871956x + 2.5], [(1234, 1234), 0.0060777957860615869x + 7.5], [(1234, 1234), 0.010129659643435977x + 12.5], [(1234, 1244), 0.0156672069165316x + 19.333333335], [(1244, 1254), 0.015541264738745977x + 19.333333335], [(1254, 1264), 0.015417331208133968x + 19.333333335], [(1264, 1274), 0.015295358651107592x + 19.333333335], [(1274, 1312), 0.015175300890894815x + 19.333333335], [(1312, 1312), 0.014735772358993898x + 19.333333335], [(1312, 1312), 0.022103658536585365x + 29.0]

click to hide/show revision 3
No.3 Revision

Plotting Piecewise function

I have a large piecewise function (with 180 equations), how do I plot this on sage? Thanks

heres a sample: sample:

[(1234, 1234), 0.0], [(1234,
1234), 0.0020259319286871956x 0.0020259319286871956*x + 2.5], [(1234, 1234),
0.0060777957860615869x 0.0060777957860615869*x + 7.5], [(1234, 1234), 0.010129659643435977x 0.010129659643435977*x +
12.5], [(1234, 1244), 0.0156672069165316x 0.0156672069165316*x + 19.333333335], [(1244,
1254), 0.015541264738745977x 0.015541264738745977*x + 19.333333335], [(1254, 1264),
0.015417331208133968x 0.015417331208133968*x + 19.333333335], [(1264, 1274),
0.015295358651107592x 0.015295358651107592*x + 19.333333335], [(1274, 1312),
0.015175300890894815x 0.015175300890894815*x + 19.333333335], [(1312, 1312),
0.014735772358993898x 0.014735772358993898*x + 19.333333335], [(1312, 1312),
0.022103658536585365x 0.022103658536585365*x + 29.0]

29.0]
click to hide/show revision 4
retagged

Plotting Piecewise function

I have a large piecewise function (with 180 equations), how do I plot this on sage? Thanks

heres a sample:

[(1234, 1234), 0.0], [(1234,
1234), 0.0020259319286871956*x + 2.5], [(1234, 1234),
0.0060777957860615869*x + 7.5], [(1234, 1234), 0.010129659643435977*x +
12.5], [(1234, 1244), 0.0156672069165316*x + 19.333333335], [(1244,
1254), 0.015541264738745977*x + 19.333333335], [(1254, 1264),
0.015417331208133968*x + 19.333333335], [(1264, 1274),
0.015295358651107592*x + 19.333333335], [(1274, 1312),
0.015175300890894815*x + 19.333333335], [(1312, 1312),
0.014735772358993898*x + 19.333333335], [(1312, 1312),
0.022103658536585365*x + 29.0]