MaplePrimes Questions

 

Hello

I have Problem with the Maple command plotsetup, it does not seem to work within an if-statement.

What i would like to do is this:

1. Make a matrix with 0 or 1 as enteries

2. convert this matrix into a list where the 1's are points. (So the Matrix entery Matrix[1][1]:=1 would give the listvector:=[1,1]

3. plot these vectors as graphs and store them with the help of plotsetup

4. changing the matrix and rinse and repet 2,3,4 until satisfied

Hi,

i have to make an iteration in the following way, but i have a problem to plot the result. Has someone an idea how to plot?

 

s_1 := 0.779e-1*t^2-.1345*t+.2031:
s_2 := 1.3502*t-6.8742:
s_3 := .1112*t^2-1.5108*t+11.527:
s_4 := 1.9322*t-15.099:
s_5 := -0.178e-1*t^2+2.648*t-22.312:
V_0 := .3*.15:
p_0 := 100000:

t:= 0:
tmp:= p_0:
S := 0:

while t do

if t >= 0 and t if t > 9.5 and t if t > 12.875...

here is the code that shows the error message

are there anyone can help me a little bit and check it why?

Dear Primers

I have an integral equation of the form below:

exp(-(1/2)*(x-u0)^2/s0^2)-sqrt(Pi)*(int(f(y)*exp(-(1/2)*(y*u1-x)^2/ys1^2)/(sqrt(Pi)*ys1), y = 0 .. infinity)) = 0;

In this equation, u0,u1, s1, s2 are konwn constants and f(y) is a function with a certain exact form. I want to get the analytical solution

Hello,

 

I have a very important question that I can't seem to find anywhere in the literature.  I am trying to create a procedure to do something that would be seeminly impossible by hand.  In doing so, I need to create exactly 729 variables, which I would like to simply call x_i for i=1...729.  Yet the problem is that I don't know how to define the variable x_i during the procedure.  For example, I would like to do something of the sort:

Hi all,

I am trying to implement boundary conditions in MAPLE, but I don't know how to implement them,  I am attaching a maple file for your kind comments.  An example of similar kind will be of real help.

Thanks in advance

A.Q

Soton

mapleprimes1.mw

q3.mw
Hi!

I have a problem:

Graph a (in blue) and graph c (in red) are plotted, the value of ax,ay and cx, cy are in list.

program as follows:(also in file q3.mw)

with(plots); ax := [13300, 17400, 12500, 20300, 12100, 22100, 11800, 23100, 11600, 23800, 11400, 24300, 11300, 24700, 11200, 25100]; ay := [.2, .2, .3, .3, .4, .4, .5, .5, .6, .6, .7, .7, .8, .8, .9, .9]; cx := [17700,...

Dear Maple Users,

I'm solving quite a complicated task, so I tried to simplified an example.

There is an equation:

SOL := fsolve(Nz+int(int(StrssCctXY(x, y), x = -(1/2)*b .. (1/2)*b), y = -(1/2)*h .. (1/2)*h) = 0, {C1 = -(1/2)*h .. (1/2)*h})

 StrssCctXY(x,y) is piecewise function containing C1 variable, to solve an equation I had to use assumptions on C1 via assume(C1<num1, C1>-num2) command, after that C1 becomes C1~;

 

 Have to solve and ODE in the domain of [-infnity +infinity ] via specific analytical method but due to some restrictions it could not be solved. In order to solve it, I have separated the domain into [-infinity 0 ] and [0 infinity]. So, I have to add some boundary values at x=0 to the problem. Assuming the solution of the mentioned ODE in  [-infinity 0 ] is g(x) and in [0 infinity]  is f(x), I added the boundary values of f(0)=g(0)=a and f ' (0)=b and obtained f(x...

hi. i sometimes want to see how a subset A of the complex plane behaves under a certain mapping f. i plot A in red and f(A) in blue into the same plot. no problem so far.

 

but i also want to see how certain points are mapped to better understand the mapping. in some old maple version (like 5) i hacked that in by running through the plot structure and add green lines from z to f(z) for like every 10th entry to the plot.

 

now in maple...

hi. i am regularly plotting subsets of the complex plane. but i have not figured out yet how i can have the vertical axis labeled with i, 2i, 3i, ... instead of 1, 2, 3, ...

 

how do i do it?

this error message hapened,but  i try process agin ,this erro disappeared, the proce is perfect, but  then it appear agin. is this a bug?  i use maple 16.

> restart;
> with(plots);
> with(DEtools);
> pendulums := proc (L, angle, velocity, a, b, n) local i, deq, X, Y, inits, slnnf, ACF1, ACF2, ACF3, ACF4; deq := L*(diff(theta(t), `$`(t, 2)))+(diff(X(t), `$`(t, 2)))*cos(theta(t))+(diff(Y(t), `$`(t, 2))+9.81)*sin(theta(t)) = 0; inits := {theta(0...

I think I have come across with what it looks like a very basic bug using the member function. I get the error message: "Error, cannot determine if this expression is true or false: (3) < 100"  after the execution of the last line to the next code:

>Test:=Array(1..3,[1,2,3]);
>member(3,Test,'l');
>if l<100 then print("yes"); end if;

am I doing something wrong ?? I even checked the type of the variable 'l' and it is indeed an integer...

(1) Does ModuleCopy, when automatically called from Object,  really get the a shallow copy of the object

as the first parameter in its parameter list? See below, which is copied directly from ?object,create. The

ModuleCopy has first argument new::Dollar but ModuleApply only passes its two arguments not three. I

couldn't find a reference to this feature in the docs.

hey

 

I have wired problems with maple !!!

 

I run a code twice, I get 2 different answers !!!

 

I have uploaded the code ! just run it twicw and see the numerical values of alpha and beta at the end ! new_idea_gf.mw

First 1721 1722 1723 1724 1725 1726 1727 Last Page 1723 of 2430