MaplePrimes Questions

I am also having trouble with limits when I have indexed
variables.   That is, how do I tell Maple to assume every element of
an indexed variable is positive?

uxb3% maple < te7a

    |\^/|     Maple V Release 3 (Governors State University)



Here, I show that normal limits work.
> int (exp(-x^2),x=3..infinity);

                                1/2         1/2

                          1/2 Pi    - 1/2 Pi    erf(3)



> assume(a>0);

> int(exp(-a*x^2...

When I was programming on Python, the "up arrow" key could copy a previous command line that I have entered, but I'm not sure if such a shortcut exists in Maple.

For example:

INPUT: 2+2

OUTPUT: 4

Presses "up arrow key"

2+2

 

 

Thanks,

Say I want to find the derivative of x^2+2x-3 when x = 2

i.e. f'(2) where f(x) = x^2+2x-3

How would I do this?

 

Thanks.

New user. How do I launch the clickable math interface as in the demo video in maple 17 student? I also need help with entering/ solving simultaneous equations step by step.

how can i define a matrix as a sunction of a variable so that when i chande the independet variable,the elements of the matrix also change?

A(t):=[a[t],b[t],c[t]] ; i want to define a function like this,so that by changing the time t,the elements of the matrix also change,what should i do?

How does one take the gradient of a expression involving sums in terms of a set of indexed variables.

I am trying to find the maxima for the satisfaction for a public good from a tax code. The sum represents the total revenue. The tax code is defined as a piecewise linear function of income and indexed variables. The indexed variables represent the points of the kinks and the marginal tax rate for each income bracket. (The set of indexed variables will vary...

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:

First 1572 1573 1574 1575 1576 1577 1578 Last Page 1574 of 2430