MaplePrimes Questions

f(x, g(x,y)) + f(g(x,y), y) >= f(g(x,y), g(x,y))
f(x, g(x,y)) + f(x, g(x,y)) >= f(g(x,y), y)

f(x, g(x,y)) + f(x, g(x,y)) >= g(f(x,y), y)

f(x, g(x,y))*f(x, g(x,y)) >= f(g(x,y), y)

how to create a combinations of function of another function in maple

I'm writing an algorithm that takes a while and I'd like to print status messages periodically. I typically use the command line interface, and this is no problem. I just do a printf whenever I need.

However, some people who will use this code prefer to use the GUI, and I've found that the GUI tends to buffer the output from printf, printing 20-30 printf statements in clumps instead of as they're called. Is there any remedy for this?

hi.i am a problem with rule solve or fsolve in maple....please see attached file and say your comments

thanks

equ.mw

sum(xj*(sum(yi, i = k .. n)), j = k .. n)

How do I solve this? Can anone help?

Here x and y both are variables.

Hi,

I have a small problem. I want to findout area under a curve. I got the plot from solving a partial differential equation. I want to find out area under the curve with out using interpolation. Are there any methods to find this.

 

here i enclose the method i have done.

Es := 0.117108e12:
Ef := 0.78125e11:
l := 0.150e-6:
s := 0.500000e-3:
f := 0.5898334197e-6:
o := 0.9e-5:
d := 0.10e-17:
cb := 0.1e7/(19.9):
c := l*f/(d*cb):

PDE := diff(u(x, t), t)-(diff(u(x, t), x, x)) = 0:
            
with(plots):
with(plottools):
ys := -0.4245333333e-1:
IBC1 := {u(x, 0) = 0, (D[1](u))(0, t) = 0, (D[1](u))(1, t) = c}:
S1 := pdsolve(PDE, IBC1, numeric, time = t, timestep = 0.1e-2);

p2 := S1:-plot(t = .2525);

p3 := getdata(p2);

p3[3]:
co:=CurveFitting[PolynomialInterpolation](p3[3], x):
Area := int(co, x = x[1] .. x[2]):

So this is the procedure i used to find out, but can there be any other procedure to findout area directly from hte solution of PDE.

Thanks.



 

 

plot(t+1, t); plot(t+1, t = -1 .. 1);

Error, (in plot) incorrect first argument t+1
Error, (in plot) incorrect first argument t+1

Here is my code

restart;
with(LinearAlgebra):
P := unapply(Matrix(4, 4, {(1, 1) = p[w], (1, 2) = p[x], (1, 3) = p[y], (1, 4) = p[z], (2, 1) = -p[x], (2, 2) = p[w], (2, 3) = -p[z], (2, 4) = p[y], (3, 1) = -p[y], (3, 2) = p[z], (3, 3) = p[w], (3, 4) = -p[x], (4, 1) = -p[z], (4, 2) = -p[y], (4, 3) = p[x], (4, 4) = p[w]}),(p[w],p[x],p[y],p[z]));
evalm(P(x,y,z,w));

(y1, y2, y3, y4) -> rtable(1 .. 4, 1 .. 4, {(1, 1) = y1,

(1, 2) = y2, (1, 3) = y3, (1, 4) = y4, (2, 1) = -y2,

(2, 2) = y1, (2, 3) = -y4, (2, 4) = y3, (3, 1) = -y3,

(3, 2) = y4, (3, 3) = y1, (3, 4) = -y2, (4, 1) = -y4,

(4, 2) = -y3, (4, 3) = y2, (4, 4) = y1}, datatype = anything,

subtype = Matrix, storage = rectangular, order = Fortran_order)

 


S:=Matrix(3,5):
for j from 1 to 3 do;
for k from 1 to 5 do;
S[j,k]:=P(seq(RandomTools[Generate](integer(range = 0 .. 4)),i=1..4));;
end do:
end do:
S;
W:=Matrix(3,5):
for j from 1 to 3 do;
for k from 1 to 5 do;
W[j,k]:=Transpose(S[j,k]);;
end do:
end do:
W;

M:=Matrix(3,3,shape=symmetric):
for j from 1 to 3 do;
for k from 1 to j do;
M[j,k]:=P(x[j,k],y[j,k],z[j,k],w[j,k]);
end do:
end do:
M;
N:=Matrix(3,3,shape=antisymmetric):
for j from 1 to 3 do;
for k from j+1 to 3 do;
N[j,k]:=P(u[j,k],v[j,k],q[j,k],r[j,k]);
end do:
end do:
N;
H:=M+N;
(Transpose(W)[2].H.Transpose(Transpose(S)[2]));

I would like the output to be a 4x4 matrix.

my project supervisor has made it mandatory that i build a maple maplet of the bessel equation:

Ok so I managed to get my data into a google spreadsheet by using a google app script (JavaScript in the cloud).
The data is updated daily. I now want to access it from Maple. Axel has helped me write the following
procedure to do just that for (https websites and not just http):

X := proc (Url) local theDLL, URLDownloadToFile, myDirectory, myFile, Destination, DL;

theDLL := "C:\\WINDOWS\\SYSTEM32\\urlmon.dll";

URLDownloadToFile := define_external('URLDownloadToFileA', pCaller::(integer[4]), szURL::string, szFileName::string, dwReserved::(integer[4]), lpfnCB::(integer[4]), 'RETURN'::(integer[4]), LIB = theDLL);

FileTools:-MakeDirectory("C:\\mydir");
myDirectory := "C:\\mydir";
myFile := "data1.csv";
Destination := cat(myDirectory, "\\", myFile);

DL := proc () URLDownloadToFile(0, Url, Destination, 0, 0);
ImportMatrix("C:\\mydir\\data1.csv", source = csv)
end proc;

return DL(), FileTools:-RemoveDirectory("C:\\mydir", recurse = true, forceremove = true)

end proc:


X("https://docs.google.com/spreadsheets/d/1L5-yUB0EWeBdJNMdELKBRmBQ1JJ0QymrtDLkVhHCVn8/edit?usp=sharing");

 

However now I get an error message saying:

Error, (in ImportMatrix) no delimiter found after line 768, column 2


Any ideas how to solve this?

Hoe do you plot two vectors of data as a bar plot or historygram. I tried the statistics package but could not plot a bar plot that shows the proper relation of numbers in vector x to numbers in relation to vector y. Vector x contained years as data, and vector y contained for example crime data per year.

in maplesim 7

when run example below

http://www.maplesoft.com/products/maplesim/modelgallery/detail.aspx?id=120

got error in linear_string and linear_string2

prototype must be a structured record type or a record, but received squeezed

 

2.

http://www.maplesoft.com/products/maplesim/modelgallery/detail.aspx?id=247

 

There is a problem with the modelica code for custom component named CorneringForce
Regenerate or delete this component to correct this porblem....

........Matrix2Euler

i click the web said USD99

but after click into it, academic version is USD1,555

there are commercial version, academic version , what are difference?

i see that there are self balance robot and humanoid walk robot

what are the specification of size, length of components are they?

if simulate robot hand which has a string make a tension to grip object

what kind of string is it? where can buy robots components which fit the simulations it do?

will maplesoft cooperate with 3D printer to fit the reality of robots?

Hi,

I am working on making a population balance model for gas bubbles is a stirred reactor. I have data in excel about the bubble size and need to make a population model to compare the experiment with theoretical findings.

But I have not much experience in population balance modeling. Is there anyone who has an example of a solved population balance model in maple? This would help me greatly in understanding the subject. I would want to use the Luo and Svendsen model as I found it most matching with the result.

Kind regards, Hasselhof

I'm displaying two plots - one a line and one a series of points. The idea is that I'm showing a fit curve onto a set of experimental data. I want the dots, which are fairly fat, to sit on top of the line. But whichever order I display the two plots in, the line is sitting on top of the dots. This looks wrong. Does anyone know how to put it right?

hi, I want calculate lambda(lagrange multiplier) for lane emden type equation, I have made a programme for it but here is error at the end of programme,plz help

lambda.3rd.mw

First 1241 1242 1243 1244 1245 1246 1247 Last Page 1243 of 2429