## 1505 Reputation

18 years, 244 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```

## Thank you to you......

You took the time to help me and I am very thankful to you.

## You have sharp eye and......

I create a matrix M as you told me (55x1).  Now I did :

And get exactly the average number of counts = 100484.309.  Witch is the answer given.  Then I did the:

>StandardDeviation(M)

and BINGO, I get the 1.2891675

Congratulation Carl!  You save my day.  Thank you very much. :-)

## Now I see...

It is the first time I try that way and in fact, it did create a matrix.  Wow!

Thank again,

## Ho did you do that?...

Can you tell me how you have made a link for your two files.  I don't see no icons that I can use to link a document in my question.  Thank you for your help.

OH!  I think that you use the green upward arrow.  I remember now.  :-)

## Sorry......

But I have no idea how he arrive at that.  I will think about it.  Have you been able to make the worksheet that I have included to work?  More over, waht do you mean to «simply paste» the data in a Matrix?

## It did not give the right result....

But first thing first, thank you for you quick response.

You will find the data file «DataFrequence.txt» with the 55 numbers.  Then the file I have been trying to make work «FrequencyCount»

You will note that I added a last line to close the data file.

I the text that I read, it is said that the RMS deviation from the mean of thenumber of counts = 1.28 counts.

Maybe I can place the problem in the contexte.  It is a system that count the number of  maximum of a sin wave during 1 sec.  It use an electronic wave crest counter.  The goal is to introduce the uncertainty principle.

Oups, I have just realise that I cannot attach my two files.  So here is the code:

*************

>restart;
>FileTools[Text][Open]("DataFrequence.txt");

«Error, (in FileTools:-Text:-Open) permission denied»
# I have close the file before.
>for i to 55 do A[i] := FileTools[Text][ReadFloat]("DataFrequence\
.txt")
od;

>for i to 55 do A[i] od;

>stats[describe, quadraticmean]([seq](A[i], i = 1 .. numelems(A)))
>FileTools[Text][Close]("DataFrequence.txt");
%;
Error, (in FileTools:-Text:-Close) file DataFrequence.txt is not open

**********

and the data:

100404
100485
100486
100484
100485
100485
100485
100485
100485
100485
100485
100485
100485
100485
100485
100486
100485
100484
100484
100485
100485
100484
100485
100484
100486
100485
100484
100479
100482
100482
100483
100483
100484
100482
100483
100484
100482
100482
100484
100483
100484
100485
100485
100485
100485
100485
100484
100485
100484
100485
100484
100486
100485
100485
100486

If there is another way to proceed to give you acces to those files, don't hesitate to tell me how.

```--------------------------------------
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```

## Font size...

Thank you both of you for your answers.  I will try zooming first and if it is not working for me, I will change it permanently.

```--------------------------------------
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 agree!...

First of all, thank you acer for those manipulations.  I think that it confirm that sometimes, the students must do his part too.  I agree with the fact that sometthing should be done in that direction.  For instance, it would be praticle to be able to load the package RealDomain and then see automatic simplification (like in the equation (9) of your document).

What I will do in my webinar is to show the manipulations you did (thank you again) and then show that in some cases, you have to use your own brain.  That is the power of our mind onver the machine.

Regards,

## subs...

Hum!

Maybe this was not working because I was writng (in Document mode):

subs(x´(t)=v,eqn)

Anyway, your way work exactly  as I wanted.  Thank you!

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

## Not really...

First, the result show a (2) term under the square root.  And notice that if you do the first command, you will have:

sqrt((2))*sqrt(g/b)    (a)

But look at what happen then if I multiply (before the combine command) this result (a) by sqrt(2) :

sqrt(2)*sqrt((2))*sqrt(g/b)  (b)

Not a pretty result.   But thank you for that try.

## That explain everything!...

Your are right.  I did not see it.  Thank you.

```--------------------------------------
Mario Lemelin```
```Maple 17.01 Win 7 -  64 bits
Maple 17.01 Ubuntu 12.04 LTS - 64 bitsmessagerie : mario.lemelin@cgocable.ca
téléphone :  (819) 376-0987```

## That explain everything!...

Your are right.  I did not see it.  Thank you.

```--------------------------------------
Mario Lemelin```
```Maple 17.01 Win 7 -  64 bits
Maple 17.01 Ubuntu 12.04 LTS - 64 bitsmessagerie : mario.lemelin@cgocable.ca
téléphone :  (819) 376-0987```

## Yep, you are right!...

"We choose to use Maple as often we can and do the other things, not because they are easy, but because they are hard, because that goal will serve to organize and measure the best of our energies and skills, ..."

So I shall complete the task inside Maple ... for the pleasure too :-)

## Yep, you are right!...

"We choose to use Maple as often we can and do the other things, not because they are easy, but because they are hard, because that goal will serve to organize and measure the best of our energies and skills, ..."

So I shall complete the task inside Maple ... for the pleasure too :-)

## Now it work but......

Both method (yours and Christopher2222) worked.  But I had to do some changes in the source file first.  Looking at the first three characters of str (after I saved it as one line of 2024 characters in utf-8), I realized that they were not part of the initial line that start in fact with a m (so it was a false location - 935 instead of 932).  So I went back to the source file and realize that, in the line, they were a bunch of "space" characters.  So with Notepad++, I delete them and save the file again by converting the line with ANSI code this time.  Reloading  and executing the Maple file seams to have solve the problem.

I am happy to have use the StringTools package.  All I need to do is to check if it's working under Linux and a way to see, say, the five letters befor and after the Qxp+zr6km.  But I can do it with my text editor so why bother in Maple?  By the way, the command:

StringTools[HasControlCharacter](str);

give false.  OUF!

Thank you both!

```--------------------------------------
Mario Lemelin```
```Maple 15.01 Win 7 -  64 bits
Maple 15.01 Ubuntu 11,04 - 64 bitsmessagerie : mario.lemelin@cgocable.ca
téléphone :  (819) 376-0987```
 4 5 6 7 8 Page 6 of 8
﻿