- #1
kingwinner
- 1,270
- 0
Hi,
I'm working on an assignment which requires me to superimpose the graphs of 10 different discontinuous functions on the same graph. Can someone please explain step-by-step how to do so in MAPLE? By the way, I have absolutely no experience in any computer programming in any form and I've never used Maple before...sigh.
The horizontal axis is time (t) and the vertical axis is foward rate (f(t)).
Function 1: (Jan 20 data)
For 0<t<1, f(t)=t+2
For t=1, f(t)=4
For 1<t<2, f(t)=2t+3
For t=2, f(t)=9
For 2<t<3, f(t)=2t+7
Function 2: (Jan 21 data)
For 0<t<1, g(t)=t+3
For t=1, g(t)=5
For 1<t<2, g(t)=2t+4
For t=2, g(t)=10
For 2<t<3, g(t)=3t+6
etc...I have similar functions, 10 in total, and I need to superimpose all of them on the same graph.
Furthermore, how can I add a legend clearing labelling each graph as "Jan 20" for graph of function 1, "Jan 21 "for graph of function 2,..., and "Jan29" for graph of function 10?
Any help would be very much appreciated! :)
I'm working on an assignment which requires me to superimpose the graphs of 10 different discontinuous functions on the same graph. Can someone please explain step-by-step how to do so in MAPLE? By the way, I have absolutely no experience in any computer programming in any form and I've never used Maple before...sigh.
The horizontal axis is time (t) and the vertical axis is foward rate (f(t)).
Function 1: (Jan 20 data)
For 0<t<1, f(t)=t+2
For t=1, f(t)=4
For 1<t<2, f(t)=2t+3
For t=2, f(t)=9
For 2<t<3, f(t)=2t+7
Function 2: (Jan 21 data)
For 0<t<1, g(t)=t+3
For t=1, g(t)=5
For 1<t<2, g(t)=2t+4
For t=2, g(t)=10
For 2<t<3, g(t)=3t+6
etc...I have similar functions, 10 in total, and I need to superimpose all of them on the same graph.
Furthermore, how can I add a legend clearing labelling each graph as "Jan 20" for graph of function 1, "Jan 21 "for graph of function 2,..., and "Jan29" for graph of function 10?
Any help would be very much appreciated! :)