Mariner

662 Reputation

9 Badges

19 years, 229 days

MaplePrimes Activity


These are replies submitted by Mariner

George, The key phrase for y(x) given under Parameters in dsolve,details is: "required if ODE contains derivatives of more than *one* such function". This is reinforced further down the page under Input and Output, with an important exception. But you are quite right that the Help pages could be a lot clearer and better indexed. I also believe that the Help search engine needs improvement. If these things were done, many of the questions that appear on MaplePrimes would vanish. More importantly, those asking the questions could be doing their work instead of trying to figure out how particular commands work, or what command is needed. Regards, J. Tarr
Please see ?dsolve,details under Parameters. Hope this solves the puzzle. J. Tarr
Please see ?dsolve,details under Parameters. Hope this solves the puzzle. J. Tarr
Please see ?VectorCalculus,int. That help page should help you to understand your problem which is shown as example #12 near the bottom of the page. Hope this helps. J. Tarr
Please see ?VectorCalculus,int. That help page should help you to understand your problem which is shown as example #12 near the bottom of the page. Hope this helps. J. Tarr
AFAIK it is not possible to persuade Maple to express your eq1 in the form of eq2. Maple tends to see and do things differently from us humans, which can be very irritating at times. J. Tarr
For information on assigning a solution set, please see the help page ?assign and look for the example numbered 2.4 and 2.5 near the bottom of the page. This is based on your example: restart; k := 0.125; a := 1; eq1 := (1+k)*a-k*b = 0; eq2 := c-(1+k)*b+k*a = 0; solutions := solve({eq1,eq2}, {b, c}); assign(solutions); sqrt_b := sqrt(b); sqrt_c := sqrt(c); Hope this helps. J. Tarr
On re-opening the worksheet with the entries shown in my previous post, a whole bunch of errors appeared, and I am not sure what happened. However, this works consistently with 2D input: restart; with(Statistics); U := PDF = (t->(piecewise(t<0,0,t<3,1/3,0))); Z := RandomVariable(U); PDF(Z, t); Mean(Z); Hope this is what you want. J. Tarr
On re-opening the worksheet with the entries shown in my previous post, a whole bunch of errors appeared, and I am not sure what happened. However, this works consistently with 2D input: restart; with(Statistics); U := PDF = (t->(piecewise(t<0,0,t<3,1/3,0))); Z := RandomVariable(U); PDF(Z, t); Mean(Z); Hope this is what you want. J. Tarr
Axel, Many thanks for the references and link. J. Tarr
Axel, Many thanks for the references and link. J. Tarr
What you are asking can be achieved as in the following example: restart; p := plot(sin(r), r=-0.5..3.2, labels=["f", ""], labelfont=[SYMBOL],title="A sine Function",titlefont=[TIMES,14]): txt := plots[textplot]([-0.5,0.5,"y"]): plots[display]([p,txt]); However, you will need to spend time positioning the textplot and will likely have to adjust the view option, or the function's range (r in the example) to get the vertical axis label in the right place. Changing the size of the plot usually messes up all your careful work positioning the textplot. It is usually better to re-think the way of presenting the information in your plot. Hope this helps. J. Tarr
What you are asking can be achieved as in the following example: restart; p := plot(sin(r), r=-0.5..3.2, labels=["f", ""], labelfont=[SYMBOL],title="A sine Function",titlefont=[TIMES,14]): txt := plots[textplot]([-0.5,0.5,"y"]): plots[display]([p,txt]); However, you will need to spend time positioning the textplot and will likely have to adjust the view option, or the function's range (r in the example) to get the vertical axis label in the right place. Changing the size of the plot usually messes up all your careful work positioning the textplot. It is usually better to re-think the way of presenting the information in your plot. Hope this helps. J. Tarr
AFAIK it is not possible to use subscripts for axis labels. You can though, use Greek characters - the option to use is labelfont=SYMBOL. For a title, do something like title="My Curves". If you have a very long title, you can put it on two lines by inserting \n at the appropriate point in the title. The help page plot,options can answer most questions about plots, but it takes a while to know where to look in it. Hope this helps. J. Tarr
AFAIK it is not possible to use subscripts for axis labels. You can though, use Greek characters - the option to use is labelfont=SYMBOL. For a title, do something like title="My Curves". If you have a very long title, you can put it on two lines by inserting \n at the appropriate point in the title. The help page plot,options can answer most questions about plots, but it takes a while to know where to look in it. Hope this helps. J. Tarr
First 9 10 11 12 13 14 15 Page 11 of 18