MaplePrimes Questions

Hello,

I am very new to programming and currently i am taking a course in numerical methods which allows me to get some exercise programming mathematical functions using maple. I am trying to plot a graph and it gives me an error. If anyone can guide me i would really appreciate it.

Also if there are any helpful advise for me to start using this language, it would be a big help.

 

Thank you

Just got Maple 18 on academic license. I've used Maple 15, 16 and 17 before this.

It wont write simple math symbols as + - * and := 

I have tried both document- and worksheet, reinstalling and so on...

 

What is the problem?

Thanks

I am running under Windows 7 and using the following command in a MAPLE .mw file to convert a group of .mw files to WWW format:

MapleWWWW:-Install("S:/MRBwork/Phd/SOFTWARE/MAPLE/R4&5/Conversions to MAPLE WWW/Input/","S:/MRBwork/Phd/SOFTWARE/MAPLE/R4&5/Conversions to MAPLE WWW/Output/","http://digi-area.com/light/MapleWWW/js/maple-www.js");
Error: FileTools:-Text:-ReadFile("file or directory does not exist: %1")
Error: FileTools:-Text:-ReadFile("file or directory does not exist: %1")

As you can see I am getting an error return. I believe I have placed the module in the right directory. As a test I ran the following:

FileTools[IsReadable]("S:/MRBwork/Phd/SOFTWARE/MAPLE/R4&5/Conversions to MAPLE WWW/Input/"); FileTools[IsReadable]("S:/MRBwork/Phd/SOFTWARE/MAPLE/R4&5/Conversions to MAPLE WWW/Output/");
true
true

So both folders are recognised by MAPLE.

Can anyone help debug this please?

MRB

Attached is my sheet.

On my system if just execute the whole worksheet maple return the last statement's integral un evaluated, however at this point if re-execute the statements from the definition of L2, it looks that maple has evaluated the last statement's integral.

 

What am I missing here, any help?

Regards!!

Strange_beh.mw

Consider the following two variable funtion:

f(x,y)=x^2+y^2-5

then we want to draw a contourplot:

contourplot(f,x=-10..10,y=-10..100)

My problem is that I want maple to diplay the value of the function "f" relating to each curve on the contour plot!
How can I do this?

Please see the following code.

Example.mw

I am using Maple 12 in Win 64. I have some difficulties in evaluating expressions in Maple. For example simply writing cos(x) then differentiating it w.r.t x. After writing cos(x) in 2D Math mode, I do right click for selecting diff but it does not work. The pointer turns in to busy mode and nothing comes to select. Also, I tried this operation in the tutorial file teaching differentiation, however problem persists.

Hello,

I'm looking to export the results of calculated variables to cells in a excel sheet.

For that purpose, I have used this code

with(ExcelTools);
Fichier:="Z:\2_Boulot\tabledeparametrage.xls";
Feuille:="Feuil1";
Export(xA1_Fus, Fichier, Feuille, "B3");

The error message is the following :

ExcelTools:-Export called with arguments: Array(1..1, 1..1, {(1, 1) = .3182057489}), Z:2_Boulot tabledeparametrage.xls, Feuil1, B3
#(ExcelTools:-Export,6): streamcall(INTERFACE_EXCEL_EXPORT(R,_params[2 .. -1]))
Error, (in ExcelTools:-Export) file I/O error La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte
locals defined as: d = d, R1 = R1

Do you have idea why I didn't manage to export a result to a cell in excel ?

I think that it is probably because I don't define well the adress of my file. How do you define a the adress of a file which is contained in a folder on a harddrive in Maple?

Thanks a lot for your help.

Dear all,

restart:with(plots):
eq1:=diff(f(y), y$4)-(diff(f(y), y$2));

bcs:=f(h1) = (1/2), f(h2) = -(1/2), (D(f))(h1) = -1, (D(f))(h2) = -1:

h1:= 1+cos(x):h2:=-1-cos(x+g):

db:=eq1,bcs:
d1 := subs(g=1,[db]):
P1:= eval(diff(diff(f(y),y$2)-f(y),y));

for x from 0 to 1 by 0.1 do
F2[x]:=dsolve(d1, numeric,maxmesh=25500,output=listprocedure): 
P2[x]:=subs(F2[x],P1); # subing values into P1 
end do:
Vls:=Vector([seq(P2[x],x=0..1,0.1)]):
XX := `<|>`(`<,>`(seq(x, x = 0..1, 0.1))):
plot(<<XX>|<Vls>>, color=red);

I'm trying to plot P1 vs x but getting empty plot. Please help me out. 

Thanks

 

There was a command that allowed a user to convert a decimal to a fraction, I cannot remember and I cannot find it with help...

Let's say I have 2 functions, the first being y=sin^2(x) and the second one is y=e^(-x)cos(x). When I try to solve on Maple, it only gives me one intersecting point, while I would like to see ALL intersections between the 2 functions. How would I go about doing this?

Good day, can any one help in writing maple programme for the finite difference (FD) formulae define to solve this coupled non-linear  ODEs. See it here FDM_programme.mw Thank you

NOTE: please disregard the earlier link.

Hi. It is be good to be with you after 4 years.

I want to ask about Curvefitting for Data. If I have a numerical data and i want to find a function in x and y for these data.

After I've set my infolevel and used the ProjectionPlot command, is there any way to force Maple to display the information using exact values, instead of decimal approximations? See the attached file for the additional information.


with(Student[LinearAlgebra]):

infolevel[Student[LinearAlgebra]] := 1:

ProjectionPlot(`<,>`(-2, 3, 2), `<,>`(7, -3, -4))

 

``


Download projection_plot.mw

I am plotting a simple rational function. When the denominator is completely factored, the discont command works as expected. However, if the denominator is expanded, discont fails.

Why does this happen?

 

restart

(x-3)/((3*x+1)^2*(x-2)^3)

(x-3)/((3*x+1)^2*(x-2)^3)

(1)

plot((x-3)/((3*x+1)^2*(x-2)^3), x = -3 .. 3, y = -2 .. 2, discont = true)

 

normal((x-3)/((3*x+1)^2*(x-2)^3), expanded)

(x-3)/(9*x^5-48*x^4+73*x^3-6*x^2-36*x-8)

(2)

plot((x-3)/(9*x^5-48*x^4+73*x^3-6*x^2-36*x-8), x = -3 .. 3, y = -2 .. 2, discont = true)

 

``

This behavior also occurs in Maple 17.

Download discont.mw

To me the following behavior of solve is surprising:

restart;
solve(f(0.5)=7,f(0.5)); #Output NULL
solve(f(1/2)=7,f(1/2)); #Output as expected 7

Debugging solve suggested to me that the following might work
solve(f(0.5)=7,f(1/2));
and indeed it did (outout the float 7.).
This behavior seems to have started in Maple 10. I checked Maple V,R3 and several other old versions including Maple 9.5. All behaved as I would have expected. MapleV,R3 gave the float 7. in the first case, the other the integer 7.
I take this to be a bug and shall file an SCR.
Any comments?




First 1375 1376 1377 1378 1379 1380 1381 Last Page 1377 of 2428