MaplePrimes Questions

Basically what I'm trying to do is use Newton's method to find the root of f(x)=sqrt(x)+ln(0.1x) starting at x0=5 within a tolerance of 0.001.

 

f := proc (x) options operator, arrow; sqrt(x)+ln(.1*x) end proc

> xk := 1.0;
print(`output redirected...`); # input placeholder
                              1.0
> for k to 6 do xk1 := xk-f(xk)/(D(f))(xk); xk := xk1 end do;
 

 

When I do that, Maple barfs out pages of nonsense when I'm looking for it to give numerical values. It seemed to work fine with a different function, so maybe that's part of the problem? But I need to do it with the function I asked about.

Respected member!
Please help me to find the solution of attached problem,  I am a new user so please forgive any mistakes.maple.mwmaple.mw

Hello,

I have been trying to solve a simple nonlinear equation. Im interested in the solution per say rather than the plot but when I browsed about the commands to use, this came up. I tried it in my case and it is giving me the following errors:

ode.mw
 

``

restart;

``

with(plots);

[animate, animate3d, animatecurve, arrow, changecoords, complexplot, complexplot3d, conformal, conformal3d, contourplot, contourplot3d, coordplot, coordplot3d, densityplot, display, dualaxisplot, fieldplot, fieldplot3d, gradplot, gradplot3d, implicitplot, implicitplot3d, inequal, interactive, interactiveparams, intersectplot, listcontplot, listcontplot3d, listdensityplot, listplot, listplot3d, loglogplot, logplot, matrixplot, multiple, odeplot, pareto, plotcompare, pointplot, pointplot3d, polarplot, polygonplot, polygonplot3d, polyhedra_supported, polyhedraplot, rootlocus, semilogplot, setcolors, setoptions, setoptions3d, shadebetween, spacecurve, sparsematrixplot, surfdata, textplot, textplot3d, tubeplot]

(1)

eq5:=C*sqrt(y(x)*((diff(y(x),x))^2+1))-y(x)=0;

C*(y(x)*((diff(y(x), x))^2+1))^(1/2)-y(x) = 0

(2)

C:=1;

1

(3)

bcs:=y(-1)=1, y(1)=1;

y(-1) = 1, y(1) = 1

(4)

dsys:={eq5,bcs};

{(y(x)*((diff(y(x), x))^2+1))^(1/2)-y(x) = 0, y(-1) = 1, y(1) = 1}

(5)

dsol:=dsolve(dsys, numeric); odeplot(dsol,[x,y(x)],0..1,color=red,axes=box);

Error, (in dsolve/numeric/bvp/convertsys) unable to convert to an explicit first-order system

 

Error, (in plots/odeplot) input is not a valid dsolve/numeric solution

 

``


 

Download ode.mw

 

The question explores the family of differential equations dy/dx = sqrt(1+(a*x)+(2*y)) for various values of the parameter a.

This figure shows the tangent field in the case a=1.

sketch a tangent field in the case a=-2.

need the following diagram on maple:

 

hello,

Given f(x)=2x^2-4x, how do I define and plot the functions f(x), 2f(x), 4f(x), -f(x) and -4f(x) in maple 15?

Thank You.

 

How wired icon of motor to icon of sources?thanks

Can anyone solve,

eqn := diff(x(t), t, t)+omega^2*x(t)-epsilon*mu*(diff(x(t), t))+epsilon*alpha*x(t)^2*(diff(x(t), t))+epsilon*Zeta*cos(Omega*t)*x(t)=0;

This equation using MMS (Method of Multiple Scales) in maple.

Pls use Polar transformation function as (1/2)*a(t)*exp(-I*beta(t))

Please reply.

Hi, I try expand in serie this function:

mtaylor(tanh(B*J*sqrt(q)*z+B*Jo*m), [q, m], 9)

 

But this is error.

 

How can i do?

Best Regards

Compare seq(-GAMMA(k+1, x), k = 0 .. -2) and seq(-GAMMA(k+1, x), k = -2 .. 0)

sum(-GAMMA(k+1, x), k = -2 .. 0) = -1/x*Ei(2,x)-Ei(1,x)-exp(-x) may be what you expect

I am trying to see the solution to a PDE that I am coding with initial and boundary conditions. I know with the ODE, it shows the solution, but with the PDE I cannot seem to see it. Any suggestions?

Dear all,

I would like to evaluate a double integral numerically. The integrand is a complicated function of the variables beta and s, with complex values. The computation lasts for decades without obtaining a result.

I was wondering whether there exists subroutines / methods / tricks that could be helpful to accelerate the integration process. I have attached a Maple script of the double integral of interest. Rough precision would be fine (4 or 5 digits).

Any help would be highly appreciated.

Thanks

Federiko

Question.mw

Hi Dears,

I'm have a code like this:

sum(-GAMMA(k+1, x), k = 0 .. -2) and Maple give me : Ei(1, x).

How to check that answer is correct?

 

Thank you in advance.

I am looking forward to hearing from you.

Hi, i try resolve this equations numerical for the boundary between the spinglass and ferromagnetic phases:

 

how?

Regards.

 

 

Hi

I have the ODEs: x'=x

ode:=diff(x(t),t)-x(t);

 

sketch the phase space and extended phase space of previous ode.

 

theta := a-(1/2)*beta*a*y^2+(1/24)*beta^2*a*y^4-(1/720)*beta^3*a*y^6+(1/40320)*beta^4*a*y^8-(1/3628800)*beta^5*a*y^10+(1/479001600)*beta^6*a*y^12-(1/87178291200)*beta^7*a*y^14+(1/20922789888000)*beta^8*a*y^16-(1/6402373705728000)*beta^9*a*y^18+(1/2432902008176640000)*beta^10*a*y^20-(1/1124000727777607680000)*beta^11*a*y^22+(1/620448401733239439360000)*beta^12*a*y^24

Pls, anyone with useful informations on how to convert a series just like the one above to trigonometry or hyperbolic form. Need response as soon as possible. Thankin you in anticipation for your favorable response. 

First 1013 1014 1015 1016 1017 1018 1019 Last Page 1015 of 2434