Maple Questions and Posts

These are Posts and Questions associated with the product, Maple


plot([Y2(t),-X2(t),0...100],numpoints=100);


Error, (in plot) procedure expected, as range contains no plotting variable

Completely new to maple. Not even sure where to start with this. Can't get the Simpson's or Trapezoidal Rule to work for me. Any help would be much appreciated

dear all

 

how do i do for deletion of some columns? example:

A:=Matrix([[1,2,3],[4,5,6],]);

change to this: A:=Matrix([[1,2],[4,5]]).

 

i have a Matrix 8*12 and i want change it to 8*8

 

plz help me.

 

and

 

 

and

Here is a serious achievement of the Roots command:


Student[Calculus1]:-Roots(2^x+3^x+6^x-x^2);

                              [-1]

plot(2^x+3^x+6^x-x^2, x = -6 .. 2, gridlines = false);





Download Roots.mw

The solve command also does the job here:

sol := solve(2^x+3^x+6^x-x^2);



allvalues(sol);


evalf(%):

The RealDomain:-solve command fails here.

I wonder how Maple solves it. It would be kind of Maple developers and experts to explain that.

PS. I tried printlevel:=10, but understood the output a little.

 

 

if I plot the equation (x^2-4=0) . how can I add the fixed point (-2,0),(2,0) to this curve?

daer all

how can i calculate eigenvalue and eigenvectors for a big Matrix?

example Matrix 12*12.

 

thank you

Here it is:

 

 

 

 

I'd like to input it as 2-D and solve for x as a function of t.

 

HPM_4.mwhi, I am using homotopy perturbation technique but there is arising an error in comaring coeffecient of p^0, p^1,.... plz help me

 

I am looking for a thread that had the animation of a house with transverse earthquake waves.

Can someone point me to that thread?

Hello

I want to solve this equation in Maple, but I can't - please help me.

 

60=18+69*e(-0,0491t)

 

Thanks.

I want to plot two functions on the same 3D plot. X axis is Pa, Y axis is Pb, and Z axis is the value of each functions. (Profit1 an Profit 3)

I want to see dots (preferably different color) for each function's values based on different Pa and Pb combinations. So, it will be easy to navigate how these functions approach (or drift apart) based on Pa and Pb. 

I attached the maple file. My functions are Profit1 and Profit3.

Pa and Pb are probability values ranging 0 to 1, with 0.01 increment. I have the condition that Pa<Pb, always.

So, Pb = 0:0.01:1

      Pa = 0:0.01:(Pb - 0.01)  (This the for loop I use in MATLAB, I am not sure it is the same in Maple)

The constant values are:

c = 0;
p = 1;
wu = 0.8;
w = 0.5;
Ha = 100;
Hb = 200;

How should I plot these functions on 3D? I also wonder that if it is possible to plot this scenario on 2D. scenario1.mw

Can i make a system of equations like this in maple?

 

What i am trying to do is i want to get all system of equations. For example when n=2, then we should get 8 equations like D(1,1,1), D(1,1,2),D(1,2,1),D(1,2,2),D(2,1,1),D(2,1,2),D(2,2,1) and D(2,2,2). If n=3 then the number of equations is 27 and so on. Can someone please advice me on this?

thanks

witribm

Maple’s Code Generation makes it possible to translate your Maple code to various other programming languages including C, Python, and several others. In Maple 2015, we added a new Code Generation target to one of my other personal favourite languages, R. R is a programming language designed for statistical computing and graphics, so no code translation from Maple to R would be complete without attempting to translate as many commands as possible from Maple’s Statistics package. 

Translating code from one language to another is tricky business. Maple 2015 represented the first time that any Code Generation target language added the ability to translate commands from the Statistics package. With R, we found that many common statistics commands had almost a one-to-one mapping, such as Statistics:-Mean = mean, but several others were much more complicated, including several commands for dealing with probability functions that did not have direct mappings due to differences in how the systems handle symbolic probability functions.

A list of statistics commands that can be translated from Maple to R can be found here.

In addition to assisting me recall the correct syntax in R, having worked with CodeGeneration[R] for several months now, I find that one of my most common uses for Maple’s code generation to R is simply to pass data between the systems. A simple example:

 CodeGeneration:-R( LinearAlgebra:-RandomMatrix( 5, 2 ) );

translates to the following in R:

 cg <- matrix(c(-4,27,8,69,99,29,44,92,-31,67),nrow=5,ncol=2)

To see a couple more short examples, here’s a short video that I recorded on Code Generation to R:

A little known fact about Code Generation is that the translation files can be viewed in from the “samples” directory in your Maple install directory. Similar to many of Maple’s packages, you can view all of the source code that Code Generation uses for its translations. For example, you can view the translations for the commands that I mentioned above from the “FunctionTable.mm” file inside of your “%MapleInstallDir%/ samples/CodeGeneration/R” directory.

Should you have any feedback on this translation, or any other, please feel free to contact us. We’re also on the hunt for our next code generation targets, so let us know what other languages you would like to see added as Code Generation targets.

Hi Mapleprimes,

I have a conic section that is parametric.  Namely,

x(t) = 9t^2 + 3t  + 367
y(t) = 3t^2 + 2t + 122

How can I find the Vertex and Foci of this curve?
Also, How can I do this for the general case?

Regards,

Matt

First 1211 1212 1213 1214 1215 1216 1217 Last Page 1213 of 2228