## 1450 Reputation

17 years, 75 days

```--------------------------------------
Mario Lemelin```
```Maple 14.00 Win 7 64 bits
Maple 14.00 Ubuntu 10,04 64 bitsmessagerie : mario.lemelin@cgocable.ca
téléphone :  (819) 376-0987```

## LeviCivita function...

Maple 18

Hi,

I want to compute the determinant of a matrix A with this formula:

Can someone help me to do it.  Of course, here I am using Einstein's convention.

```--------------------------------------
Mario Lemelin```
```Maple 18 Ubuntu 14.04 LTS - 64 bitsMaple 18 Win 7 Pro -  64 bits
messagerie : mario.lemelin@cgocable.ca
téléphone :  (819) 376-0987```

## I have to familiarize myself with the Ph...

Maple

Hello everybody,

I will start a course in mastering QM in a MOOC format (Massive Open Online Course).  Up to now, I always do the calculation by hand and sometimes with the LinearAlgebra package.  But now I need to do the calculation more rapidly.  So I decided to learn how to use this package for this course.

The help system give a too generalized way to do it.  Even by looking the example, I didn't find praticle example to it.  So is there a generous person who could take a little bit of hi time to show me how to do it by using an exemple that yo will find attach to this post.

Besgt regards.

quantum_mechanics_DIRAC.mw

```--------------------------------------
Mario Lemelin```
```Maple 18.2 Win 7 and Ubuntu 14.04 - 64 bitsMapleSim 7 Win 7 and Ubuntu 14.04 - 64 bits
messagerie : mario.lemelin@cgocable.ca
téléphone :  (819) 376-0987```

## Simple code for MonteCarlo approximation...

Maple 18

Hello everybody,

But for starting easy, I try this:

with(RandomTools[MersenneTwister]);
directpi := proc (n)
local i, x, y, N;
N := 0;
Digits := 2;
for i to n do
x := GenerateFloat();
y := GenerateFloat();
if x^2+y^2 < 1 then
N := N+1:
end if:
end do:
N;
end proc;

evalf(directpi(4000)/(1000.0), 4);

3.176

I would like to know if this code is appropriate and if it is possible to have a random number between -1 to 1 so it will be easier to plot the points in the square with the circle inside.

Thank you.

```--------------------------------------
Mario Lemelin```
```Maple 18 Ubuntu 13.10 - 64 bitsMaple 18 Win 7 -  64 bits
messagerie : mario.lemelin@cgocable.ca
téléphone :  (819) 376-0987```

## Units conversion problem...

Maple 18

This is an addition to the following post:

http://www.mapleprimes.com/questions/141795-Unit-Conversion-Problem

But I use the clickable facilities of Maple.  Here is the problem:

>32[[degC]];

32[[degC]]
right-click -> Units -> Replace units -> degF

288
--- [[degF]]
5

>evalf[5]( (2) );
57.600[[degF]]

but if I do that:

>convert(32, 'temperature', 'degC', 'degF');

448
---
5

>evalf[5]( (4) );
89.600

Why the conversion is bad when you try to do it by the clickable way????????????

```--------------------------------------
Mario Lemelin```
```Maple 18 Ubuntu 13.10 - 64 bitsMaple 18 Win 7 -  64 bits
messagerie : mario.lemelin@cgocable.ca
téléphone :  (819) 376-0987```

## I am so close to plot what I need but......

Maple 18

Hi everybody,

In quantum mechanics, I want to draw the wave  of the electron in the hydrogen atom.  So in 3D, you will have a cricle and along the circle, there will be a cosine function that will meet after a full cercle (the standing wave that is possible).  The blue one and the red one at the same time.  But in 3D

The closest that I come to succes is with this commands:

But as you will see, the wave end at the same place as it started.  But instead of going in a cercle, is as a funny shape.

Thank you in advance for you trouble.

```--------------------------------------
Mario Lemelin```
```Maple 18 Ubuntu 13.10 - 64 bitsMaple 18 Win 7 -  64 bits
messagerie : mario.lemelin@cgocable.ca
téléphone :  (819) 376-0987```
 3 4 5 6 7 8 9 Last Page 5 of 20
﻿