MaplePrimes Questions

hi there,

this is my first post here, and first time using maple

I do have trigonometric system of equations, and I like to solve for thetas(1-5).

please help me out( how do I inpu them in maple) and how to solve them? 

Hi, so I have few problems here. I need to;

Create a MxN Matrix/Lattice, where N and M can be any positive integer, that contains a random selection of -1/1s at each entry.

Need to sum every entry, then multiply by -1 to find “H”.

Need to multiply each neighbour to find its bond energy, so if it’s the same you get 1 else -1, but only its direct neighbours once, so if it was a 2x2 matrix there would be only 4 values and then sum them.

I don’t seem to be able to set up the code so that it does it for any size matrix, as I only know how to write it out basic for a 2x2. Also, not so important, but I wanted to know if could create a loop that would find every iteration of possible setups i.e. for a 2x1 you can have 1.1, -1.1, 1.-1, -1.-1. And then give the solutions outlined earlier for each of the the possibilities [There being 2MxN ]

Cheers in advance.

Hi.

I have 2 expressions, the first expression cosist of x´s and y´s, the other expression consits only of x´s

I wanna test the relation between those 2 expression to check wether A>B giving the condition that 2y<x

I have tried this:

assume(2y<x);

is(A>B);

the problem is that maple returns FAIL, I could put in values to check and it works, but that is not really what im trying to acomplish.

 

Thanks

Please help me to solve the system of 1st order singular O.D.E  (see uploaded file)....New_Microsoft_Office_Word_Document.docx
 

Hi Maple Primes,

Can this code be improved?

I know that the Goldbach Conjecture has been checked with computer tools above 10^10.

Request for comments.

check_g_conjecture_26_b.mw

check_g_conjecture_26_b.pdf

Regards

Matt

 

Hello,

I am working on a Dirichlet breakdown of primes. I need a way to check if a number is part of anothers number factorization.

Example: 30 = 2*3*5.

2 is therefore part of the ifactor of 30. 4 and 7 are not.
How do I check if, for instance, 7 is part of de factorization of 390?

Thanks in advance.

Hello,

I tried to define the Poisson bracket in this way

restart:
Ps:=proc(f,g)
local P;
P:=simplify(diff(f,P[1])*diff(g,X)-diff(f,X)*diff(g,P[1])+
diff(f,P[2])*diff(g,Y)-diff(f,Y)*diff(g,P[2]));
end;

The problem is that, if I ask Ps(P[1],X) I got 0 which is clearly wrong.

Where is the error?

https://dl.dropboxusercontent.com/u/51122291/Scrreshot.jpeg

Thanks Nicola 

sol_L := dsolve({de_L, ic});

    {x(t) = (-y0 - x0) exp(-2 t) + (y0 + 2 x0) exp(-t),
      y(t) = -2 (-y0 - x0) exp(-2 t) - (y0 + 2 x0) exp(-t)}
How i can plot this?thanks

Hi everybody;

I have a problem with Physics[diff] command. When I run the following code, error messages appear where the Physics[diff] command exist. What is the source of error? How can I fix it?

Thanks in advance

Q1.mw

In response to Markiyan Hirnyks reference to Mathematica's FindDistribution command http://www.mapleprimes.com/questions/219668-Determine-The-Distribution-Function.  It would be nice to have something similar coded in Maple. 

Hello.

I am taking an intermediate mathematics course. Now we are heading towards the finals and I have started to review all the topics we have been visiting during this semester.

Now I came across an excercise I cannot solve, taking into consideration what our lectures looks like and topics on the list my best bet is using lagrange multiplie method to optimize a multivariable function with constraints.

The task gives a shape that is drawn within the circle given by the equation: x^2+y^2=2.

The shape is a hexagon with 2 vertecies on the y-axsis +- the radius 2, the other 4 vertecies are the following [+-x,+-y].

I´m told that this hexagon is spinned around the y-axis to form a solid sylinder with 2 cones. The problem is to choose both radius and hight of the cylinder in order to maximize the volume.

The first problem that I dont know how i can plot this in maple, I would like to plot both the 2d hexagon and the solid spinned around the y-axsis

Also I´m not to confident what the constraint should look like.

I know how to use the lagrange multiplier by hand and can apply that inside maple, however I would like to use this opportunity to get to know the power of maple functionality more in detail.

https://i.gyazo.com/9d9585ddb8eb719d2a5bd24a1ba1671b.png

The link provoided is an image of the hexagon, i didnt find out how to use image tags.

how to configure maple to show every steps it run when solve a equation or system?

if so,

can i run the steps again and return the same result as a solve function do?

solve Derivative in maple

see in photo

 

Hello! 

I want to generate a table in maple, but with generic content. For example, in Mathematica you can do this using 

table=Table[0,{n=10},{m=2}];
 

and this generates a table with 2 columns and 10 rows with zeros in all its elements. I want to do this exactly but in maple. 

Thanks for your time! 

O(t) = 9.2-[(8.93*35.3)/(11.17-8.93)]*(exp(-8.93*t)-exp(-11.17*t))-8.3*exp(-11.17*t)

t betwen 0 and 1

First 1054 1055 1056 1057 1058 1059 1060 Last Page 1056 of 2429