MaplePrimes Questions

Im have alittle trouble with my secant method code. and was wondering if could get some help on the matter.

Secant:=proc(f,x0,tol)
fp=diff(f,x);
fp2=diff(f,x)-1;
guess0=x0;
guess1:=evalf(guess0-subs(x=guess0,fp)/subs(x=guess0,limit((fp-fp2)/guess0-guess1),x=guess1)); count:=1;
while abs(guess0-guess1)>tol do
guess0:=guess1;
guess1:=evalf(guess0-subs(x=guess0,fp)/subs(x=guess0,limit((fp-fp2)/guess0-guess1),x=guess1)); count:=count+1;
end;
guess1;count;
end:

im sort of new with numercal analysis.

The Maple command

int(exp(-z^2*sin(z)^2), z = 0 .. infinity, numeric, epsilon = 0.1e-1);
outputs
                          2.835068335

However, I am not sure if the answer is correct.

AOA... I want to plot the following function which is continuous in [0,3]

f:=x^2+1  for x belong to [0,1]

f:=x^2-1  for x belong to [1,2]

f:=x+1  for x belong to [2,3]

Kindly help...

Trying to call matrix from escel spreadsheet by command

M=ExcelTools:-Import("Book1.xlsx")

and getting error      M=?"Book1.xlsx"?  in red box and message error.

What is wrong? I do not understand. file Book1.xlsx is present in the same directory as my maple worksheet and not empty.

Please advise.

I have found the value of t1 and T, but I am unsure of the value. t1 and T in this case is the initialization time at the which the inventory level to zero in Reaches
warehouse. whether possible negative value? is there a lack of proper writing of parameters in this case? so that the output of t1 and T is negative? thanks a lot

> TC := (p*A*((lambda-sigma)*(exp(lambda*t2)-1)+lambda*(exp((lambda-sigma)*T)-exp((lambda-sigma)*t2)))/(lambda*(lambda-sigma))-Ca-A*exp(lambda*t1)*((beta*a2+b2)*(exp(beta*t1)-1)/beta^2-(lambda*a2-b2)*(1-exp(-lambda*t1))/lambda^2)/(beta+lambda)+A*exp(lambda*t1)*b2*t1/(lambda*beta)-W*((alpha*a1+b1)*(1-exp(-alpha*t1))-alpha*b1*t1*exp(-alpha*t1))/alpha^2+A*(exp(lambda*t2)*((a1+b1*t2)*lambda*alpha+b1*(lambda-alpha))-exp(lambda*t1)*(b1*(alpha^2-lambda^2*exp((lambda+alpha)*(t2-t1)))-(a1+b1*t1)*lambda*alpha*(alpha+lambda*exp((lambda+alpha)*(t2-t1))))/(lambda+alpha))/(lambda^2*alpha^2)+Cs*A*exp((lambda-sigma)*t2)*((T-t2)*(lambda-sigma)-exp((T-t2)*(lambda-sigma))+1)/(lambda-sigma)^2-L*A*((exp(lambda*T)-exp(lambda*t2))/lambda-(exp((lambda-sigma)*T)-exp((lambda-sigma)*t2))/(lambda-sigma))-C*(A*(exp((beta+lambda)*t1)-1)/(beta+lambda)+W+A*(exp((lambda-sigma)*T)-exp((lambda-sigma)*t2))/(lambda-sigma)))/T;
>
> TC2 := subs(t2 = (ln(W*(lambda+alpha)/A)+(lambda+alpha)*t1)/(lambda+alpha), TC);
>
> x1 := diff(TC2, t1) = 0;
>
> x2 := diff(TC2, T) = 0;
>
> x3 := evalf(simplify(lhs(eval(subs(A = 200, lambda = 0.3, a2 = 2.4, b2 = 0.01, a1 = 0.9, b1 = 0.01, alpha = 0.01, beta = 0.04, W = 100, Ca = 90, L = 7, C = 10, p = 15, Cs = 3, sigma = 0.25, x1)))));
>
> x4 := evalf(simplify(lhs(eval(subs(A = 200, lambda = 0.3, a2 = 2.4, b2 = 0.01, a1 = 0.9, b1 = 0.01, alpha = 0.01, beta = 0.04, W = 100, Ca = 90, L = 7, C = 10, p = 15, Cs = 3, sigma = 0.25, x2)))));

> x5 := fsolve({x3, x4}, {T, t1});
          x5 := {T = -15.72808468, t1 = -12.55374671}

Hi,

Maybe a good question.

Write  f(x)=ln(abs(cos(x)))   with infinite serie cosine(2*n*x).

Thank for your remark.

 

 

Hi everybody,

i don't understand when i use these examples from the help:

 

DE1 := {diff(z(x), x) = y(x)*x, diff(y(x), x, x) = y(x)*z(x)};
DEplot3d(DE1, [y(x), z(x)], x = -2 .. 2, [[y(0) = 1, (D(y))(0) = 2, z(0) = 1]], y = -4 .. 4, obsrange = true, stepsize = 0.5e-1, iterations = 3, orientation = [-124, 72]);

 

and when i look on my screen i have a white cube without phase portrait so i don't understand...

 

Thanks! and sorry for my english i'm french...

You have clickable calc. Today I saw in your email that you have clickable physic but in french. Do you have it in english too>?

Thank you

manolo

Hi everybody.

 

There are several weeks I'm on a school project and for it we need a Maplesim Simulation. It contains a sine voltage (source), a diode bridge (simplify), a condenser and a resistor. The problem is : when I want to simulate it, an error message appears : System is undetermined. I dopn't understand why I've this and from where's the problem...

 

If you could help me asap, it will be very very nice.

 

Have a nice day.

Hi

I'm using Maple 17 on Windows 8 (64-bit).

I have noticed that when I use the 'spacecurve' command and try to display it with the 'display' command, nothing shows up. I made sure that I used 'with(plots)' and 'with(plottools)', still nothing. However 'plot3d' works fine. I think it has something to do with the version of Java I'm using but I don't know what. Any help is welcome, thx

Specifications of my laptop:

Graphics: NVIDIA Geforce GT 740m

Processor: Intel(R) Core(TM) i7-3630QM (2.40GHz)

Ram: 6,00 GB

OS: Windows 8.1

AOA... I wan to plot the following piecewise function

 

f := x^2+1         if x belongs to (0,1)

f := x-x^2          if x belongs to (1,2)

f := x+1-x^2       if x belongs to (2,3)

Hello,

I have this expression on image below and I would like to do multi taylor in these variables. The maple says that the expansion is not possible to do. Does somebody know where the problem could be ? Thank you very much for help.

Equation:

Taylor series:

 

 

Hi All,

I would like to request information the representation of the following result from Mathematica :

Mathematica result:    MeijerG[{{0, 1/2}, {}}, {{0, 1}, {-1, -1}}, a, 1/2]

Maple is able to take: MeijerG[{{0, 1/2}, {}}, {{0, 1}, {-1, -1}}, a] which is represented as
                                MeijerG([[0, 1/2], []], [[0, 1], [-1, -1]], a)

Could you please advise me on how to implement this function in maple. I would be grateful if you also include matlab in the discussion.

The matiematica output is a result of the following integration:

Integrate[r*(BesselI[1, al*r]* BesselK[1, al*r]), r]

 

Looking forward to your reply. Thanks in advance.

Regards

Raj

Hi guys, I am new on maple I have a simple question for you.

Let's say  A:=b^2*c

Then let's say D:=A*x

Maple give me as result something like D:=b^2*c instead of D:=A*x

And let's say E:=D*F I get E:=b^2*c*x*F instead of E:=A*x*F

My equation is more complicated than these but the problem is the same.

I hope I was clear in the explanation of the problem :)

Thanks :) 

Hi all;

Hope all of you  be in good health

I want to construct a special function b_{nm}(t) like:

with piecewise command i did it but the result is incorrect.

any one can help me to do it?

Best wishes

 

Mahmood   Dadkhah

Ph.D Candidate

Applied Mathematics Department

First 1440 1441 1442 1443 1444 1445 1446 Last Page 1442 of 2434