MaplePrimes Questions

I'm just getting started with Maple TA (version 5). Playing with making plots based on algorithmic variables.

I would like to choose 2 random variable to use as x and y values...

$a=range(-5,5,1);
$b=range(-5,5,1);

...and plot the point defined by ($a,$b).

 

I can plot a function using this command...

$plot1=plotmaple("plot($a*x+$b,x=-10..10,y=-10..10)");

hi! i have:

deq := {diff(a(t,y),y,y)/a(t,y) + (diff(a(t,y),y)/a(t,y))^2 - ((diff(a(t,y),t))/(n(t,y)*a(t,y)))^2, (diff(a(t,y),y)/a(t,y))*((diff(a(t,y),y)/a(t,y))+(diff(n(t,y),y)/n(t,y))) - (1/n(t,y)^2)*((diff(a(t,y),t,t)/a(t,y))+((diff(a(t,y),t)/a(t,y))*((diff(a(t,y),t)/a(t,y))-(diff(n(t,y),t)/n(t,y)))))};

i've solved it by using a package: "Formal series solutions to non-linear DE (ODE or PDE) or systems of them
(Cauchy problem)". then, i defined three new parameters:

Hello everyone,

 

Please help me with this:

 

I have a given matrix (with numbers size nxn), within this matrix there is also some parameters. I am asked to find all the b vectors that solves this equation. Important: Firstly, I was asked to find the parameters that gives us Determinant(A)=0.

 

I have a difficulty with 2 parameters or more, and how I suppose to solve this if x and b are (x1,x2,x3)', (b1,b2,b3)' i.e not given.

I have an array of points stored in a matrix, and I want to plot them on a graph along with a couple other polygons.  Here is a short snip-it of code that describes the process:

pos := Matrix(3, 241, datatype = float[8]) #the contents of this matrix are filled out in the program

with(plots);

PositionPlot := PLOT3D(CURVES(pos), COLOR(RGB, 0, 0, 1), TEXT([1, 60, 1], 'pitch', ALIGNABOVE));

HomeplatePlot := PLOT3D(POLYGONS([[0, 0, 0], [.7083, .7083, 0...

I try to make calculation with matrix in matix for example

n1 >0 , n2 >0; n1 ,n2 unknow
matirx  A11 := matrix(n1,n1,[unknow variables ]);
matirx  A12 := matrix(n1,n2,[unknow variables ]);
matirx  A21 := matrix(n2,n1,[unknow variables ]);
matirx  A22 := matrix(n2,n2,[unknow variables ]);

A_big := matrix(n1+n2,n1+n2 , [[A11,A12],[A21,A22]]);

how i will sovle

A_big ^ (-1) ;

The wrong answer is
matrix(...

1) Solve the series using the alternating series method:

12 - 6 + 3 - 1.5... 

I know the answer is 8 because it is in the back of my calculus textbook...I just don't know how it is 8.

 

2) Solve the series:  ((2/k) - (2/k+3)) where k = 1 to infinity. 

I know the answer is 11/3...I just don't know how to get there.

I have a loop that will map specific locations of a set of lists into a new set of lists.

Suppose
a1:=[1,2,3,4,5,6,7]
a2:=[9,8,7,6,5,4,3]
a3:=[4,5,4,5,4,5,4]
:
etc ...

for i from 1 to 3 do
  b||i:=map(a||i->a||i[4],a||i[6],a||i):  #map positions 4 and 6 from a into b
end do:

I get Error, invalid parameters for inline function.

 

 

Hi,

I want to plot a 3D function which is a summation of some other 3D functions (i.e. g(x,y) = f1(x,y) + f2(x,y) + ...). If I add them parametrically as they are, it will be a big parametric function of (x,y) and plotting takes a long time. To overcome the problem, I am thinking of calculating each function (e.g. f1(x,y)) and store its results in a matrix  for each, and then sum up all stored results. First of all, please let me know if there is an alternative...

I've been trying to evaluate another integral, like exp(-(alpha*x)^2) from 0, to infinity;

 

However it expresses the answer as a limit of some function(alpha), how do I get the integral to come out more exactly?

 

Thanks

Hello,
I have to find the internal of
E_field := conjugate((-.7147663039-.8729430992*I)*exp((9.123185068*I)*cos(phi))*cos(phi)+(0.3187576278e-1+0.3371906130e-1*I)*sin(phi)*exp((4.561592534*I)*(-1.*sin(phi)+cos(phi)))+(0.7062621752e-1+.1302618973*I)*cos(phi)*exp((2.000000000*10^(-11)*I)*(53.*cos(phi)+1.570796328*10^11))+(-0.3187599160e-1-0.3371906130e-1*I)*sin(phi)*exp((4.561592534*I)*(sin(phi)+cos(phi))))*sin(phi):

I try to solve by
evalf(simpson(E_field, phi = 0..2*Pi));

How does one read in files with incremental names?

I have

for i from 1 to 10 do
   a||i:=readdata(`c:/test/i.txt`,string,7): 
end do:

I don't know how to escape the i out of the quotes so it can be used in the loop. 

 

I was trying to evaluate a 2-dimensional integral, but my answer contained an expression like pi/pi^2;  even trying to simplify this did not reduce the fraction properly. Why does this happen, and how can I get it to display the answer properly?

 

Thanks

Hey everyone,

I've been using nonisomorphicgraphs for a while now, and my professor would really like to know if there is a pattern in the order in which it spits out the graphs. I've noticed that they pair them up in complements of each other(or as close as possible), but has anyone found the order in which they come out, and what the reason for this order is?

Hello,

 

I have an issue while permanently deleting students from the system, the MapleTA 4.0 enviroment report this error:

An unknown error occurred when uploading the roster file: "com.maplesoft.mapleta.persistence.service.profiles.exception.ProfileServiceProviderException: org.hibernate.exception.ConstraintViolationException: could not execute update query". Please see the roster.log file for more details. 

I got two columns of data in excel: current (I) and voltage (V). What i want to do the following things:

1. read the data set into Maple 12.

2. plot the current vs voltage

3. Fit the plot to the function with polynomial form:  I=aV^2+bV

4. find the R-squared value of the fitted function.

Could anyone kindly tell me the detailed code to achieve this, thanks a million.

 

First 1987 1988 1989 1990 1991 1992 1993 Last Page 1989 of 2434