MaplePrimes Questions

Good day,

I have plotted a family of lines in one graph, and now I want to shade an area between two horizontal (parallel) lines, for example 2 and 5.
So what I did was to use the command 'filled'. First I shaded the area in vertical direction from 0 to 2 white. After that I filled the area in vertical direction from 0 to 5 for example blue.
This results in a shaded area between 2 and 5 in the color blue, what I like to have.

Question: Is there a way (a command) to fill an area between two horizontal lines more easily? So that I shade it between 2 and 5 in just one commandline. Now I first make a part white, and then the next 'layer' behind is in the color I'd like to have.

Another thing is that when I shade an area in the color white, my gridlines disappear! Is there a way to avoid this?

I have found information about shading area between two intersecting lines (can be done relatively easy), but between two horizontal (parallel) lines I still can't find a simpler way to do it.

Somebody got a suggestion?

Greetings,
Frank

 

Hi there,

i would like to know, how can i change the x-axis labels of an graph?

Currently i read data from text file in format like this:

0 10

1 11

2 14

3 15

 

This values i plot in a graph with this commands:

averagedValues := readdata("mytextfile.txt", [integer, float]);
plot({averagedValues}, x = 0 .. averagedRowCount)

 

My problem is, that each x value has a date label....

Hello,

 

I think the answer to my question is not there yet.

So I would like to save some variables in a .m file in an another folder without using the whole C:/.../ thing.

The reason why is that I am using a windows and a mac so if work on my mac I can still execute my reading and my writting commands on my mac.

 

the file I want to write from is located in :

/Maple_projet/Code/Timoshenko/

and the folder I want to write to is in

I'm using maple 16 to do a surface plot w/ plot3d of a fairly complex integral. The integral involves a number of nested functions. The plot ends up taking a very long time. The surface appears to have many holes in it. In fact, only about half of the surface is plotted, and the rest looks like empty space. I know that the integral/function is defined at these empty points, because I can evaluate it there and get a real number. What can I do to fix this? I've tried different...

My problem is that I have two functions in two variables, say x and y. The functions are both polynomials in x, but sometimes y appears in an exponent. What I want to do is find the gcd of these functions as if they are viewed as polynomials in x. However, when I use the gcd command it says it can not do it because the arguments must be polynomials. I have tried redefining the functions as just functions in x (i.e. h(x) = f(x,y)), but it still does not work. So is there anyway...

hey friends please help me out of this error hmm_working.mw

thanks

Hi,

 

I'm trying to develop a new notation and am having problems with lists vs. sets.

Basically I have things of the form [[a,b]],[[c,d,e]],[[f],[f,h]] and I want to change them to the form [{a,b}],[{c,d,e}],[{f},{f,h}].

I start from a flat list [a,b,c,d,e,f,f,h] and then divide it up, so using sets initially would lose repeated elements. But then once it has been divided up, I need the innermost brackets to be sets.

 

I recently purchased a new MacBook Pro (retina) with Mountain Lion and found that my Maple 12 programs would not run.  So I updated to Maple 16.  Initially all seemed to work well.  But now when i try to open a Maple .mw file, I get the message

"File acm23test.mw could not be found.  Please select a different file."

What has happened and how can I get my programs working again?

DavidR

Hello guys , i have a matrix that i want to find its eigenvalues , i have its answer but maple calculations didnt give its anwer.

answer:3(1+q),{-3m+sqrt(m*(256m^3+160m^2-31m-16)}/4m(m+1),{-3m-sqrt(m*(256m^3+160m^2-31m-16)}/43(m+1)

m and q can bu any number

maple calculation :

eigen.mw

 

 

 

thank you guys

Ok, so here's my first question on Mapleprimes.  

I have the following procedure:

BlocksLSymm:=proc(stringLength) 
local i, j, V;
global vars_set;
V:=Vector(2^(stringLength)+1,symbol=x):
# Create List
vars_set:={};
x[1]:=x[2];
for i from 0 to stringLength do 
 for j from 0 to i do
  vars_set:={op(vars_set), x[2^i-2^j+1]};
 end do; 
end do;
end proc: 

BlocksLSymm(5);

vars_set; 

Is it possible when solving a differential equation to get the corresponding recurrence relation of the series expansion instead of the actual solution?

e.g.

ode:=y''=omega^2*y(x)

the solution is obviously exp(\pm omega*x)

But I want

a_(n+2) = omega^2/(n+1)(n+2) * a_n

or something like that

1. nonlinear ODE with parameter "epsilon"

(x^n +epsilon*y(x))dy/dx + n*x^(n-1) * y(x) =m*x^(m-1) ; y(1)=b>1

where n=2,3,4,.. and m=0,1,2,3,...

 

2. Duffing equation with parameter "epsilon"

d^2 y(x)/dx^2 + y(x) + epsilon*y(x)^3=0 ; y(0)=A ; y'(0)=0

Hi

I want to make my maple.ini file so that it sets plotoptions(discont=true) as starndard, so that I don't have to write it all the time.

I did it a couple of years ago, but can't make it work now.

Hope some of you can help me.

Regards

Michael

I don't think the geom3d package can be used symbolically it needs specific values.  Maybe I'm wrong, am I?

First 1566 1567 1568 1569 1570 1571 1572 Last Page 1568 of 2434