JessyOw

55 Reputation

5 Badges

8 years, 216 days

MaplePrimes Activity


These are questions asked by JessyOw

>M1:=146996733613391:

>M2:=1348471408813:

>teks:=numtheory[cfrac](M1/M2,'quotients');

tekssifer:=[109,101,115,115,97,103,101]

 

Hi, how should i rewrite my command to decrease the execution time?

Thank you~=]]

H, how i need to write my command to get n times of the sentences i insert.

For example, 

>teksbiasa:= `Hello Bob`;

Hello Bob

So, if i want 5 times of `Hello Bob` like 

Hello Bob Hello Bob Hello Bob Hello Bob Hello Bob 

What should i write?

Thank you ~=]]

How i need to write 

>teksbiasa:=`Hello! Bob`;

in button Action When Clicked at simple graphical interface instead of

Do(teksbiasa=%txtTeksBiasa);

because when i enter Hello! Bob in %txtTeksBiasa, system pop up ERROR

 

Error

Error in Component button with caption "Botton":

(in unknown) incorrect syntax in parse: missing operator or

`;`(near 7th character of parsed string)

 

Thank you~=]]

>message:=`67A`;

67A

>P:=convert(message, bytes);

[54, 55, 65]

>with(Bits):

>bitP1:=Split(P1);

[0, 1, 1, 0, 1, 1]

>bitP2:=Split(P2);

[1, 1, 1, 0, 1, 1]

>bitP3:=Split(P3);

[1, 0, 0, 0, 0, 0, 1]

>with(Statistics):

>b1:=Count(bitP1);

6

>b2:=Count(bitP2);

6

>b3:=Count(bitP3);

7

>totalBits=b1+b2+b3;

19

 

Hi, how i need to modify my command so when i write any message with any lenght, i can get the totalBits directly..

Thank you~=]]

>tekssifer:="Qnuux*#Huh";

tekssifer:=Qnuux*#Huh

 

Hi, how i need to continue my command to get the size of tekssifer in bytes? 

Thank you~=]]

1 2 3 Page 1 of 3