MaplePrimes Questions

I am solving a PDE coupled with an ODE, as following:

pde1:=diff(RR(tau), tau) = dRdt                                                                               (1)

Hi I'm trying to do something that looks very simple, but I don't find a simple way to do it. In my program I've a procedure which pass to another procedure a variable that can in one of these form: 1) A:= 5*f^a * ln(f) 2) A:= 5*ln(f with "a" real (his value change and I don't know it in advance) and a real coeff (5 in this exemple) The next procedure, that use this variable should be capable to understand if f^a is present with a<>0 or with a=0 (ie not present), and should make different choices in the two cases. I don't know how to make this test. I've tried

I have to generate a set of antihermitian matrices and the entries the non-zero entries have to be randomly generated. i can generate one antihermitian matrix. but now i want to generate many of them and store them in an array.

my code is:

Hello I need to find the eigen vectors for eight solutions of an eighth order equation in the parameter 'm' .

This is simple, however I have a 'do' command that generates 2 of these equations, with two values of lambda which you can see in the attached file

View 11295_TEST3.mw on MapleNet or Download 11295_TEST3.mw
View file details

Would You help me? How to export results (numeric data) from Maple to program Origin after solving system of ordinary differential equations by odeplot– function?

Hello, I've already posted a similar Problem, but didn't get any answers. Now I think I got the solution, but now there pops up another problem.

I try to run the openMaple sample java code from the samples folder in Maple. I'm running Windows 7 with Maple 13.

When I run test.java, a Popup appears with:

"Error launching OpenMaple splash screen"

with an OK button.

After this, a Popup appears with

"Fatal Error, unable to open C:\Program Files\ Maple 13\bin.win\libgmp-3.dll. This library is required for Maple to run."

hi, i need help with some maple code.

i want to evaluate a function at a number of points from a set (i have done this using a loop), and then sort the resulting values in a set (done with the inbuilt sort function), and finally convert the sorted results back to their original values so i can establish which values give the highest and lowest function values.

if i use the solve function, i get more than one solution for each function value, but i only want the specific original value which led to that function value.

i hope this makes sense, thanks for any help!

The first question: Is it possible in a procedure to combine datatypes ie

zz:=proc( X:: Matrix(datatype = [integer[2], float[8], float[8] ] ))

The second question :  If we assume that q is a floating number is convert( q, rational)  the
best way to convert a float to a integer ?

I have a simple loop and a couple of questions

a:=1:
n:=30:
for i from 1 to n do
   a := nextprime(a),i:
od;

Why didn't the colon supress the output?  And how do I get the output in the form i,a ?  I tried what I thought might have worked i,a:=nextprime(a):

 

Hello,

I want to calculate the limit of the function f1 at the point z1=-I , but  I can't , it is of the form 0/0 but by hopital we can calculate it

can you help me to do this, because it is important for my procedure to construct a continued fraction

Thanks

I found in the Advanced Engineering Mathematics we have the statement: qq3 := map(int,qq2,x)+(0=a); 1 - ln(2 y(x) + 1) = ln(x) + a 2 which integrates the expression qq2 and then adds a constant. What does (0=a) mean and why does it differ from just adding a? Whenever I try and use it I get this: > int1 := (2*x^2+4)*sin(x): > ans1b := map(int, int1, x)+(0 = c); -(2/3*x^3 + 4 x)*cos(x) = c - (2/3*x^3 + 4 x)* cos(x)

Hi, I've performed a for/while/do loop in Maple 12 and have generated a list of twenty solutions. Now I'd like to sum these solutions and I have no idea how to do this or if it's possible. I'd really appreciate some help, thanks.

Could someone please help me with this procedure please. Testing weather numberss are prime of not.

restart:
Miller_Rabin:=proc(a,n)
local minus1, d, test,r,p,q,i,w:
minus1:=n-1:
d:=minus1:

while ((d mod 2) = 0) do
d:=d/2:
end do;

test:=Power(a,d) mod n:
r:=minus1/d:
p:=ifactor(r):
q:=op(2,p):
for i from 0 to q do
w:=a^(2^(i)*d) mod n:
od:

if (test = 1) and ( w = minus1 or w = 1) then

1) -How do i write a " do " loop to store the sequence [1, 5 , 10 , 15 , 20] in a 1-dimensional array in maple ??

and one more question please

2)-how do i write a pair of nested " do" loops to store the following 4x4 array in Maple :

Hi, I'm trying to solve a kinetics system of equation and I keep getting this error. Could anyone help me figure out what I'm doing wrong? > eq1; {diff(A(t), t) = -0.1e-1*A(t)*B(t)^.5, diff(B(t), t) = -0.1e-1*A(t)*B(t)^.5}; print(`output redirected...`); # input placeholder / d 0.5 d 0.5\ { --- A(t) = -0.01 A(t) B(t) , --- B(t) = -0.01 A(t) B(t) } \ dt dt / > ic := {A(0) = 1.0, B(0) = 3.0}; print(`output redirected...`); # input placeholder
First 2045 2046 2047 2048 2049 2050 2051 Last Page 2047 of 2431