MaplePrimes Questions

Im asked on one of my problem sheets to write a procedure to inverse a square matrix using LU factorization and using partial pivoting. I can do all of these using simple pen and paper but am struggling towrite the procedure, especially to involve the partial pivoting and to then solve the linear system. Any ideas how I can do this question?

Hi all,

I have data which I want to give a simpler and a smaller interpolation function. Not necessary with Cubicspline as in the code attached (polynomial, exponential, etc..).

Thanks in advance

interpolation.mw

have a list of lists, and I would like to write each of these lists on a separate file, *on a single line*.

For instance consider the following trivial example:

P := [[-.3819660120, .6180339880, -10000, -2], [.6180339880, 1.618033988, -10000, -1], [1.618033988, 10000, -10000, -.5], [2.618033988, 10000, -.5, -0.1e-3], [2.618033988, 10000, 0.1e-3, .5]]

I would like to create
 + a file named  P1.dat containing the line
     ...


Hi,

I have two equations. I need the value of beta2. Can any body help me? I am getting error message like "Warning, solutions may have been lost". Any co-operations will be appreciable.

Nurul ISLAM

nislamce@yahoo.com


Hi everyone.

I have a problem with Maple 15. I have an equation, but when i write in into Maple, it says: "Warning, solutions may have been found". I don't know what to do. I've tried to solve it on paper, but without any luck. Could someone please help me?

 

Equation: ((x+1)2/3) - ((x+2)(x-2)/2) = ((x+3)/2) - ((x-2)2)/6) 

or when i copy paste from Maple...

(1/3)*(x+1)^2-(1/2)*(x+2)(x-2) = (x+3)*(1/2)-(1/6)*(x-2)^2

Hi

I've got a small problem:

how can i calculate with units AND show variables and its untits on both axles of a plot in the same worksheet?
and is there a way to give the range for each axle at the same time too?

This one only works for one axle:

restart;
with(Units);
d := 40*Unit(m);
a := .25*Unit(m/s^2);
x := d+(1/2)*a*(t*Unit('s'))^2;
plot(x, t = -10*Unit(s) ..10*Unit(s),useunits);

has anyone any ideas how to show "x[m...

Hi everybody,

during testing the physics package I tried the following example

with(Physics):

Setup(anticommutativeprefix = {Q});

G:= Intc(Q1(x),Q2(y),x,y);

Fundiff(G,Q2(u));

The output of the last command seems to be wrong. The Maple Help does not say anything about functional derivatives with respect to anti commuting functions.

Is there a possibility to perform such functional derivatives with respect to anti commuting functions in Maple?...

Hello,

I was wondering if anyone could help me with my problem.

I have an equation where I have an arbitrary function that I have been calling h(y^2-k^2*x^2) where h can be any function (e.g. sin, ln, ...).

I have to perform a few operations on the equation and I end up with a pde equal to 0. The operations I perform on my original equation leads maple to differentiate h at times with respect to x or y and so, for example, I end up with terms like D(h)(y^2-k^2*x^2)*2*y

Dear Maple users

 

My question is pretty basic: How do I put a "hat" on top of a variable, for example putting ^ on top of say x? It is useful for me even though the solution might not have any computational meaning, since I only need to write it as "written math" in 2D-notation. The Accents palette does have several symbols, but not the one I am looking for. In certain areas of mathematics A hat or the like does have a...

From http://www.maplesoft.com/view.aspx?SF=87640/0 \ Simple_Harmonic_Moti.mws
In several attempts I have downloaded the maple worksheet Simple_Harmonic_Moti.mws.
When I try to open I get the following message:

link imagen

How to proceed to execute the worksheet?

Dear,

I have problem that after using assume(...) and then use label such as (1.1)... then the assumptions are lost. Is it a bug?

Below is my attached worksheet (I used Maple 13 , I don't know if later version is better?)

label_and_assume.mw

Actually , the lost of assumptions will cause some problems such as make integration become unevaluated.... and will take you a hard time to debug...

Hi I'm trying to write a proc to takes a character and a string as inputs and as output tells you how many times the character shows up in the string.
I don't know what is wrong with the code


 s:=proc(Z)

local counts,C,i,L:

for C from "a" to "z" do
counts[C]:= 0:
end do:
L:=length(Z):
for i from 1 to L do
C:=Z[i];
if C >= "a" and C <= "z" then
counts[C] := counts[C] + 1
end if;
print(C,counts):

Please help me to check this procedure for solving complex DAE, I want to plot this error figures

There are some errors for the initial conditions?

restart;
with(plots);
w := 10;
L :=0.001;
R :=1;
u(t) :=exp(I*w*t) + 2* exp(I * 2 * w * t);
daesys:={diff(I3(t),t) = 1/L*u(t), I1(t) = I3(t) + 1/R * u(t), I1(0)=0, I3(0)=0};
dsys1:= map(eq -> (evalc(Re(eq)), evalc(Im(eq))), eval(daesys, {x(t) = xre(t) + I*xim(t), y(t) = yre(t) + I*yim(t)}));

Why doesn't Maple evaluate ln(x) assuming x<0 to ln(-x) instead of ln(x).  I know that it can evaluate negative operands into complex numbers, but sometime I would just like it to say ln(-x).  It seems to work OK for sqrt(x) assuming x<0. 

Ratch

Digits:=20;

p:=proc() global Digits; Digits:=Digits+5;end proc;

Digits;

Obtained 20 at the end. Which variables has also such property of "recoveriability" after proc call?

First 1786 1787 1788 1789 1790 1791 1792 Last Page 1788 of 2434