MaplePrimes Questions

I wish to find the slope of the tangent line to the graph of y=(3x)/(x-2) at the point x=3, y=9. Then I want to plot both the tangent line and the graph on the same plot with the tangent line with a green solid line, and the original graph with a blue dashed line. So far I've gotten: v := proc (x) options operator, arrow; 3*x/(x-2) end proc; vprime := D(v); eval(diff(3*x/(x-2), x), {x = 3, y = 9}); plotv:=plot(v); plotvprime:=plot(D(v)); Then I'm not sure how to add the colors in the plot. I can get both graphs on the same set of axes by using: plots[display](plotv,plotvprime); Anyone know how to add the appropriate colors? (Also is what I have done correct?) Thanks.

I have an equation x2y-3y3x=0. I want to find the slope of the graph at the point (3,1) , that is the derivative at that point. I was told it was possible to do this in one line of command, so I was just wondering if anyone knoew how to do this. Any ideas would be helpful. Thanks in advance.

Hi

I have entered two functions and got a solotion for them:

Now i want to know if there is someway Maple can do this automaticly:

 

So that i not have to do like i did here, manuel copy-paste the values into the function, or re-enter them.

 

Using Maple 17.02 on Windows 64-bit, but i guess that makes no differance, since it's java :) 

 

Try makeing it simple, i'm new with Maple.

 

Thanks in advance!

Emil Kristensen

 

Hello, everyone!
Yesterday I accidentally rechecked the value of the integral of the function (below) and realized that it’s wrong:

f:= (x) -> (140.63530552419235473*x^4-681.04317103471061441*x^3+1204.2531184722204895*x^2-918.72829449327961838*x+254.16640660607969646)*x^10*(-5.985078986*10^(-7)*x^60+1.993612326*10^(-7)*x^61+5.369283226*10^(-8)*x^62-3.905639782*10^(-9)*x^64-1.659594038*10^(-8)*x^63+1.136103415*10^(-9)*x^65+2.247893270*10^(-10)*x^66-9.859204804*10^(-12)*x^68-6.233393896*10^(-11)*x^67+1.592005934*10^(-15)*x^73+2.636562187*10^(-12)*x^69+5.984365418*10^(-17)*x^74+3.098099702*10^(-13)*x^70-1.518364555*10^(-17)*x^75-6.215495764*10^(-15)*x^72-8.072161759*10^(-14)*x^71+7.108000000*10^(-7)-6.487695780*x^35-1.360148323*x^34+5.274954197*x^37+.278832666*x^36-.7198386404*x^43-3.348539406*x^39+.4203371703*x^38+.2531612707*x^45-.1973755246*x^44+1.711371118*x^41-.5547081746*x^40-0.7529286752e-1*x^47+0.7791628267e-1*x^46+.3904150312*x^42+0.1908735114e-1*x^49-0.2492657821e-1*x^48-0.4145806290e-2*x^51+0.6590414121e-2*x^50-0.4207722840e-4*x^56-0.1240685054e-3*x^55+0.7736126808e-3*x^53-0.1455570281e-2*x^52+0.1706676905e-4*x^57+0.5498382671e-5*x^58+0.2699386379e-3*x^54-0.2004264239e-5*x^59+.2715685673*x^10+.1111862378*x^8+.1883518910*x^9+0.2403811424e-1*x^6+0.5607230320e-1*x^7+0.8649081345e-2*x^5-3.880498062*x^31+5.968690982*x^33+2.038776931*x^32-1.725063618*x^30+1.669644062*x^29+.9016766288*x^28-.1370795088*x^25-.396947214*x^27-.348231765*x^26+.11698597*x^23+.2531405922*x^22+.1735045534*x^20-0.42936268e-1*x^19-0.39439553e-1*x^24-.3711884921*x^16+.28461699*x^21-.2677594262*x^18-.3961103119*x^17-.2103764104*x^15+0.113596644e-1*x^14+.205907773*x^13+.3148084900*x^12+.3274995670*x^11+0.5980983565e-3*x^3+0.1044830939e-3*x^2+0.2555141074e-2*x^4+0.1216249880e-4*x):

The notorious integral value:
int(f(x), x=0..2);
Maple 17 returned -2.552045317*10^6.  And what is more awkward that the result is changing over time. Despite the fact that some other computer algebra system tells me that the value must be about 6.0857912022, you can enjoy the plot of f(x):

How can we fix it?

Dear Experts,

 

I would like to evaluate the following integral

Integrate(BesselJ(0,x)^2, x=0..Infinity).

 

However, it is not being evaluated in Maple.

 

Appreciate your response.

PDE.mw

Hi i attach the file that i have problem with.I guess it is not the first problem with datatype=float[8], but i will appreciate if someone could help me with it.

After calling pdsolve i get the answer in the module "structure", i try to plot it and i get :

Error, (in pdsolve/numeric/plot) unable to compute solution for t<HFloat(0.0):
unable to store [.02091392039809]-5.00000000000000 when datatype=float[8]

 

I am not sure how to interpret it and what should i change to make it work.

My PDE is a Bellman equation and my problem is that i actually know only one boundary condition "icond", is there a way to solve it without other conditions?

Thank you

Find the value: P=sin(10)sin(30)sin(50)...sin(890) ?

I gave this function:

g := -2-k[1](lambda*alpha[2]*k[2]+alpha[1](-2-2*k[2]+k[2]*lambda^2))+k[1](lambda*alpha[2]*k[2]+alpha[1](-2-2*k[2]+k[2]*lambda^2))*lambda(lambda*alpha[2]*k[2]+alpha[1](-2-2*k[2]+k[2]*lambda^2))^2

I would like to factor out or to collect:   (lambda*alpha[2]*k[2]+alpha[1](-2-2*k[2]+k[2]*lambda^2))

I use following command: collect(g, lambda*alpha[2]*k[2]+alpha[1](-2-2*k[2]+k[2]*lambda^2))

Nevertheless, I receive an error ...

Error, (in collect) cannot collect lambda*alpha[2]*k[2]+alpha[1](-2-2*k[2]+k[2]*lambda^2)

 

Could you help me to solve my issue ? 

What am I doing wrong ? Do I have to use another command for this ?

I would like to thank you in advance.

Best regards,

D.L.

 

I've just upgraded from Maple 15 to Maple 17, and discover that I cannot any longer write curly right braces in math mode. I use an international (Norwegian) keyboard, where curly right braces should be available by Ctrl+Alt+=, but nothing happens when I try to write this. I can work my way around it by using Copy and Paste, but this is inelegant, particularly when I want to demonstrate Maple for my class of 400 students.

Looking at older posts, I found this question, which concerns inline evaluation with international keyboard in Maple 16. Inline evaluation works fine for me, using Ctrl+Shift+=. So was this fixed at the expense of Ctrl+Alt+= ?

How to write the product  A_i=prod(s_j/{s_i-s_j},j=1..50, j not=  i)

I would like to find the derivative for f(x)=min(x^2 +1, 2x+3) and plot f(x) and its derivative on the same graph. I know the "diff" command works on functions, but I'm not sure how to use it on this one. Suggestions would be appreciated. Thanks!

It seems Maple has no Clear(variable); function build in, and one must type

         variable := 'variable`; 

for each variable to be cleared. This is a little too verbose. In Mathematica one types "Clear[variable1,variable2]" which requires much less typing than the Maple way of doing it. (About 1/2 as much, if one has to clear few variables each time).

Doing restart is not a good solution all the time, since that will clear everything.

Strange why Maple can not provide such a function, and inside it, it can do these calls.

So, I was wondering if someone has written such a function. I can try to write one myself, but I am not very good in Maple, and I think a professionally written one by an expert would be more robust and will do more checking as needed to make sure it works correctly.

So, my question is, why Maple does not provide such a function as build-in? And does one know of a good implementation of one that exist?

Fail to do Volume of Revolution when rotate in y-axis by using student calculus 1 packege.

It is good in any x-axis thorugh.

the erorr looks like this, I follow the direction on Maple website and enter axis = vertical, but it give me something like this.

I type vertical := x = 0 somewhere, I was wondering the Maple think vertical = x = 0, so O change the
vertical := x = 0 to v := x = 0(like first image), but after I run the whole thing it still give me same error.

The weirdest part is I actually run the second one scuccess first time, but second time it failed and I don't know why. I input exactly samething but it failed, weird!!


How do you express sin(4x)^2 in terms of powers of cos(x) in Maple 17?

Different evalf results.

evalf(3/Pi);
                         .9549296583

evalf(3/Pi,1);
                         .9

evalf(3/Pi,2);
                         .96

evalf(3/Pi,3);
                          .954

 

evalf(.9549296583,1)
                                    1.

evalf(.9549296583,2)
                                    0.95

evalf(.9549296583,3)
                                    0.955

 

This is probably a floating point issue but shouldn't the results be the same?

 

 

 

First 1513 1514 1515 1516 1517 1518 1519 Last Page 1515 of 2427