MaplePrimes Questions

Hello Guys,

I am having a problem plotting a graph from some sets of point. Please how do I plot a graph having some set of point.

Thanks. 

Dear friends:

I am facing to search the command which zoom a sactor of graph, I know it can be done by using maple tools whose present tool bar but I need a command for zooming please help me to fix this problem (attached) I want to see th sactor eta=0.8 to eta=1.2.

graph_phi_varies.mw

Please see the problem and correct as soon as possible. I am waiting your positive respone.

Muhammad Usman

School of Mathematical Sciences 
Peking University, Beijing, China

 

Greetings to all.

My apologies if this is a repeat, I could not ascertain if this question has been asked before. I am not able to enter a tilde in my home page URL in my profile. I used the escape sequence %7E as a workaround. This does not work in all browsers however, e.g. the page displays correctly in Chrome but not in Firefox. How to enter the tilde into my profile URL? (The tilde is commonly used to indicate the directory public_html in a user's home directory by the Apache web server.) Thank you.

Marko Riedel

Is there are way in maple to check if two expressions are equal for certain intervals for each variable?
I tried to create a formula to give me some propabilities in a card game scenario. I used two different methods to find it, and ended up with these two formulars that seems to give me the same results, but I don't know how I would go about showing by hand if they are equal.

All variables are whole numbers.
I added a picture with the variable intervals and the two formulas.

Not used to these kind of notations, so tell me if anything is unclear.
Thanks.

 

 

A man walks to different points.

I have to find the point that has a minimal length.
Perhaps through the Repetition Statement (for...while...do)

 

 

For the space curve in the linked worksheet, RadiusOfCurvature and Binormal give incorrect results. Why?

TNB_anomalies.mw

Please tell me if the above link doesn't work.

I have a function which calculates a number for [x,y] inside a matrix, which depends on the values surrounding said initial cell (from [x-1,y-1] yo [x+1,y+1]). However, for the values on the border, the idea is to go around to the opposite side, creating a Torus of the sort.
The solution I seemed to have found was to create 4 indices: 2 controled with 'for' and 2 which were modified accordingly to be used as imputs for the function:

x:=x0;y:=y0;
for r from x-1 to x+1 do
    print("r",r);
    for t from y-1 to y+1 do
        print("t",t);
        if r=0 then i:=N; else i:=r; fi;
        if t=0 then j:=N; else j:=t; fi;
        if r=N+1 then i:=1; else i:=r; fi;
        if t=N+1 then j:=1; else j:=t; fi;
        print("i",i);print("j",j);
        function(i,j);
od; od;
 

(the print commands are for the tests I have been running so see where the potential error lied).
If you run this script, you can clearly see for x0,y0<>1 that it works perfectly, even for x0,y0=N where it succesfully goes around and changes to 1. However, for x0,y0=1 it isn't able to detect that r&t=0 and so it doesn't change it to N; creating an error where it tries to find the value 0 of an Array.

Thanks in advance,
Enrique

how to read a jpg picture and draw mesh on it?

mesh generator in maple

how to get all points and lines from this mesh on jpeg picture?

How can i answer iv on Maple?

The problem I am trying to solve requires a significant amount of computation time. I am unaware if a solution to the problem exists. If a solution does exist, I only need one solution, not the set of every possible solution. Is there a way to restrict the solve function such that when (if) one solution is found, the computation halts and the solution is outputted?

I can't seem to plot the second derivative graph for f'' versus y. Is it possible to use the fdiff command twice in a line?

Open to all opinions. Any help would be greatly appreciated :)

fyp3.mw

Hi

I have a set of differential equations which I have solved for a specific value, and would like to use the second answer (F__A(V)) in my next calculations

 

What command can I use to retrieve that value?

sol(0.1e-4);
     [V = 0.00001, F__A(V) = HFloat(3.498873118476744e-6), 

       F__B(V) = HFloat(1.9101126881523255e-5), 

       F__C(V) = HFloat(9.550563440761627e-6)]
 

Regards

how to define VertexWeight in Graph Theory package

I have tried to do it by the following command "File/Modelica/Import Modelica Library" in MapleSim GUI. An error appears saying "Modelica is a reserved name".

I think you can also reproduce it by downloading the Modelica library from the following web site: "https://www.modelica.org/libraries". And then importing it in the usual way by openning the package.mo file at the root directory.

I think I am missing something here, so any advise/information/minimal commentary would be greatly appreciated.

Cheers, Ovle

Hello!

I am working in a simulation, which requires me to create a checkerboard of values which I paint afterwards according to its value. The idea is to create a sequence of images (which I could export for every iteration and create into a gif/timelapse afterwards). The problem I am encountering is that when I try to plot it, I only obtain a difuse coloring scheme, without having a specific color for every pixel.

if you search for the color command in plots (http://www.maplesoft.com/support/help/Maple/view.aspx?path=plot/color) one of the examples is more or less the result I want, but I would like to have it without the gridlines and being able to control the color according to the value of the matrix in said position.

 

My current attempt, and the one closest to the solution is:

 

R:=Matrix(1..N,1..N, datatype=integer); for x from 1 to N do for y from 1 to N do R[x,y]:=P[x,y,2]*18+P[x,y,3]: od: od:R;
#P is the matrix where I do the calculations and R is the matrix I want to plot after every step of the calculation.

surfdata(Matrix(R), 1..N, 1..N, style=surface,
         dimension=2, labels=["x", "y"],
         gridsize=[100,100],
         colorscheme=["zgradient",
                      ["Indigo","Blue","Cyan","Green","Yellow","Orange","Red"]]);
#the surfdata I resqued from another proyect I had. I know it is not thought for this tipe of grafs, but it was the closest I could come by.

 

I do not know if it is a better idea to use an Array or a Matrix to plot this. While the P array isn''t touched, I do not mind modifying in any way the R matrix

Thank you,

Enrique
 

First 1008 1009 1010 1011 1012 1013 1014 Last Page 1010 of 2428