MaplePrimes Questions

Hello,

I have found numerous ways of plotting PDEs, but I am trying to ask Maple to calculate the simple analytical solution of one.

Now, Maple is very happy to solve the following with one initial condition:

restart;
with(PDEtools);

pde := diff(u(z, t), t)+c*(diff(u(z, t), z)) = A;
IBC := (u(z, 0) = f(z));

sys:=[pde,IBC];

ans:=pdsolve(sys); 


However, when we take, 
IBC := (u(z, 0) = f(z), D[1](u)(0, t) = 0, D[1](u)(-h, t) = 0);

I want to use for do loop and the print statement. print(h, AA) gives two columns left for h and right for AA separeted by comma. How to change this two column presentation so that I can get the sequence of h and sequence of AA. Note that print(h) and print(AA) gives two separate columns. But I want to convert print(h, AA).

 

for h from 0.01 by .1 to 5 do
AA := (1+h)/h^2;
print(h, AA) end do:

In the attached worksheet there are 2 numbers. The first is the answer a got, the second is the offical correct answer.Ther look entirely different. Numerically they are the same. I wondering is there a way to simplify my answer?Rationalize_ans.mw 

The general formula of GHR (Gazis-Herman-Rothery), the most well known car following model, is given by

an - acceleration of vehicle n implemented at time t
v - speed of follower vehicle
deltax and deltav - relative spacing and speeds respectively between follower and leader vehicle at a
     ...

Hello,

I have currently trouble running existing C-code in a new Linux (64 bit) system with Maple16. I have code that used work just fine, now it fails to evaluate. As an example, statements like

EvalMapleStatement(kv,"1+1+2^3;");

still work as expected and return a number. However, code like

EvalMapleStatement(kv,"int(x, x=0..1);");

returns int(x, x=0..1), i.e. a string, which causes my program to crash, because a number is expected.

Hey Guys

I`m looking for a maplet that shuts down the entire program. A maplet that interrups the following steps and goes back to the beginning of the program.

Thanks for answers

Andrea

i have a very simple question that has made trouble for me,how can i factor this easy expression with respect to x?

nn := .1689228391e12*x^2-5539558.102*a[17][t]*x+23266721.99*a[18][t]*x+9251036.956*a[15][t]*x-6275707.162*a[16][t]*x+.4614468816e11*x*a[14][t];

factor(nn);

collect(nn,x,factor);

non of these expressions does not give me the answer which i want, i just want to write this expression in this way :

nn:=x*(...);

could anyone help me?thnx. 

Hi,

     So I'm having a little trouble with command-line Maple 16 on Ubuntu 12.04, 64-bit.  I can enter the commands

plotsetup(gif, plotoutput="testing.gif");
plot3d(sin(x)*exp(y), x=0..5,y =0..5):

and a .gif file will be created with the graph. However, if I save this as a text file "testing.txt" and run it via the terminal command

maple testing.txt

it does not save the graph. Any idea why this is?

So far I've tried

Hello,

Please when i solve a list of equation with fsolve i get a list of result:

How to copy maple output equation in word such that in word 2003  we can edit the equation

A1:=(-exp(-alpha*x))/(2*eta^3);

thanks 

 I am trying  to solve a system of equations which involeves differentiation or partial differentiation of unknown functions that I want theis strick expressions. but maple gives me this error

Error, (in solve) cannot solve expressions with diff(alpha(r, t), r) for alpha(r, t)

Is there any way for solving such equations?

I am trying to solve a three-point BVP, but Maple returns the error:

Error, (in dsolve/numeric/process_input) boundary conditions specified at too many points: {0, 100, 150}, can only solve two-point boundary value problems

Is Maple just not able to solve 3-point BVP's or is there another way?

how can i convert these equations to the vector mode ? 

eq1[t] := .4614468816e11*a[13][t]*a[14][t]+2291210.983*a[16][t]^2-.2842690977e11*a[17][t]^2-.1782456232e12*a[18][t]^2+.1689228391e12*a[13][t]^2+6406045.412*a[14][t]^2-4317791.317*a[15][t]^2+.9846526429e12*a[1][t]+.2533881291e12*a[2][t]+.3076607771e11*a[3][t]+8105875.203*a[4][t]-5054889.363*a[5][t]-34561.30764*a[6][t]-6275707.162*a[16][t]*a[13][t]-20873274.82*a[14][t]*a[16][t]-27435155.86*a[16][t]*a[15][t]-5539558.102*a[17...

hi

I have metric tensor, how can i calculate covariant derivative of an arbitrary  contravariant tensor of rank 2?

Hy, 

I'm trying to display a list value in a maplet. But I can only manage to get textboxes, checkboxes and textfields. I know that in textfields I can display the evaluation of a function, but I tried many different ways and I still don't get the desired result. 

I designed a maplet with a button and 6 rows with a checkbox at the end of each row. When clicking the button I would like that the values of a list ("lstx", 6 values) are displayed in the 6 rows. Can you help me? thanx!!

First 1570 1571 1572 1573 1574 1575 1576 Last Page 1572 of 2427