MaplePrimes Questions

with(LinearAlgebra);
CAb := <1, 1, 2;1, 2, 3;1, 3, 1>;
# Get the QR decomposition of CAb:
Q, R := QRDecomposition(CAb); R;

Error in R

Maple Matrix(3, 3, {(1, 1) = 1.7321, (1, 2) = 3.4642, (1, 3) = 3.4642, (2, 1) = 0., (2, 2) = 1.4142, (2, 3) = -.70710, (3, 1) = 0., (3, 2) = 0., (3, 3) = 1.2248})

MathCad Matrix(3, 3, {(1, 1) = 1.7321, (1, 2) = 3.4642, (1, 3) = 3.4642, (2, 1) = 0., (2, 2) = 1.4142, (2, 3) =...

Hello,

I am trying to add an if statement to maple code for example if U(tk) less or equal to 4 then 
the initial condition=0 else the initial condition=value .
 
I am getting this error:
Error, cannot determine if this expression is true or false: U(365)

restart;

 k := 0; B[1] := 0.001/365; B[2] :=0.002/365:

Hi, I'm working on fitting model. For some reason is taking way too long to evaluate it actually hasn't finished it at all. Im running on i7. Thanks for any help. this is my code: 

> X := Vector([0, 170, 0]);
              
> Y := Vector([0, 11, 56]);
               

Q(t) := -(36788*76)*(.28*K*p/(-p-exp(-r*t...

Hey all :)

restart; 
W:=(x,t)->(8*R/Pi^2*sum((1/(2*n-1))^2)*sin((2*n-1)*pi/2)*sin((2*n-1)*pi*x/2*L)*(cos(c*(2*n-1)*pi*t/2*L)),n=1..infinity);

L:=0.25;

T:=2500;

rho:=0.01;

R:=0.005;

c:=sqrt(T/rho);
evalf(W); (this just comes up with W)

I have tried...

Hi,

I'm having a little trouble displaying the desired solution when using what might otherwise be refered to as the 'symbolic toolbox' - I'm a matlab user..

The output from maple is great! so much cleaner than matlab in this instance. The problem I'm having however is displaying the solution of simple algebra pproblems

ex: I would like to verify my handcalculation of cramers rule.

Given

I am currently trying to integrate a long string of fractional sine and cos terms with a cos term on the denominator and other exponential multipliers, but all variables and coefficients are real (and I have put this assumption in Maple).

When I integrate them on Maple it is automatically simplifying the result using Euler's rule to give me a complex fraction with a complex numerator and denominator. This is not very helpful as I need to use the result in further calculation,...

Loading a customised package on my computer I can use all of its functions easily. But I am looking to find the maple code of the procedure that make this function works, I am sure there is a trick but I am struggling to find it. I researched online quite a bit without any success as the threads I found about making your own packages are too technical for me.
Would anyone know how to do that?

Thanks in advance.
P.K

I can't solve probably very easy problem. How to plot a filled semicircle which is rotated across one axis by an angle alpha? I came to the solution which I don't consider as the best one (since e.g. it will not work for alpha=Pi/2*(odd integer)) and I believe someone of you will show me a better approach. Thank you in advance.

My solution:

alpha := (1/6)*Pi:
plot3d([x, y, y*tan(alpha)], x = -1 .. 1, y = 0 .. sqrt(1-x^2)*cos(alpha), axes = normal, labels = ["x", "y", "z"...

I made a prodecure:

with(numtheory);
divs:=proc(k)
local n,q:
for n from 1 to infinity do
q:=tau(n);
if k=q then break;
end if;
end do;
return [q,n];
end proc;
[seq(divs(i),i=1..20)];
 
I have make it for i from 1 to 100 too, but it should work in five minutes. I think it should be made somehow with the integer factorization, but i can't realize it. Can someone help me?
 
Eryndis

hi,

is there a procedure to convert a number (or list of numbers) into its english equivalent?

eg

 1 = "one", 2= "two", ......, 100 = "one hundred"

Preben Alsholm now i take another dynamical system , i found 2 critical points , which one is saddle and other one has too involved eigenvalues , but didn't know how to plot the digrams you did in the worksheet ! i dont know how to define seq() .

 dy.mw

 

Thanks in advance

 

Fine a_{n} of sequence

Hello again Maple forums, it's been a while but I'm confident I came to the right place :)

I'm trying to fit our data (attached: maphelp.mw) to this function of Z:

-(1/2)*Zc^2-a*(Z-Zc)-b*(Z-Zc)^(3/2)-c*(Z-Zc)^2-d*(Z-Zc)^(5/2)+e*(Z-Zc)^3+f*(Z-Zc)^(7/2)

It has the linear parameters a-f...

Hello,

 

First of all I'm French so excuse my English.

I have some questions about Maple 14 on MacOSX,

1- I want to use the "proc()" fuction with an "if" fuction in the "proc()" but it's not workink, I tested many display with the "print" command to evaluate where is the problem and now I can say that the problem is in the "if" fuction. Here his my worksheet :

> suite := proc (n) local u, k, i; u := n; k := 0; for i from 0 to 10 do print(irem(u, 2...

Can somebody, please, try this command in Maple 16 (or at best Maple 16.02)?

Student[Calculus1][FunctionChart](x*exp(1/x));

In Maple 15 I get the graph in about 1s, however in Maple 16.02 it loads about 20s and it is even not as perfect as is in Maple 15. Furthermore, when I try to evaluate

st:=time():
Student[Calculus1][FunctionChart](x*exp(1/x));
time();

it says that it lasted only 1-2s. There is some problem...

First 1652 1653 1654 1655 1656 1657 1658 Last Page 1654 of 2428