Christopher2222

5785 Reputation

24 Badges

16 years, 348 days

MaplePrimes Activity


These are answers submitted by Christopher2222

What they mean is, instead of always using geometry[distance] as the command by using with(geometry) the abbreviated form distance only need be used.

Try the numeric formatting dialog

The short answer is yes we sure can.  What you meant to say was..  Are there still bugs in Maple?  Yes there is, as much as there still are bugs in Mathematica.  

zip is another way

zip(`+`, kekuncirahsia, nilaiASCII)

 

map(parse, StringTools:-Explode(convert(mylist, string)))

 

Try here as an example, maybe this will help what you're after.

http://www.mapleprimes.com/questions/87735-Animation-Of-Nonlinear-Waves-With-Maple

Maybe

plottools[getdata](E) is what you want?

@mattcanderson1 just add color=blue option in the plot

Here's a little proc that converts a decimal into the closest fraction of a chosen 8th, 16th, 32 or whatever you choose.

closest:=proc(a,b)   #a-a decimal number, b-denominator of the fraction
  floor(a*b)/b,a;        #show closest fraction and the decimal you were trying to the closest fraction of
end proc:

closest(.391,32)  #closest to .391 in 32nd's
                                

closest(.391,64)  #closest to .391 in 64th's

                               

 

I first read your question as how many times does the number 3 appear from 1 to 1000

with(StringTools);
a := convert([seq(i, i = 1 .. 1000)], string):
CountCharacterOccurrences(a, "3")
                              300

Then I read it as if we have a randomly chosen number from 1 to 1000 what is the probability of getting a 3?

An answer I don't have yet.


u := proc (x) options operator, arrow; sin(x)+cos(x)-4*x+(alpha-4)*x end proc

proc (x) options operator, arrow; sin(x)+cos(x)-4*x+(alpha-4)*x end proc

(1)

v := proc (x) options operator, arrow; sin(x)-cos(x)+beta end proc

proc (x) options operator, arrow; sin(x)-cos(x)+beta end proc

(2)

a := int(u(t)+v(t), t = 0 .. Pi)

4+(1/2)*Pi^2*alpha-4*Pi^2+beta*Pi

(3)

b := int(u(t)-v(t), t = 0 .. Pi)

(1/2)*Pi^2*alpha-4*Pi^2-beta*Pi

(4)

solve({a, b}, {alpha, beta})

{alpha = 4*(2*Pi^2-1)/Pi^2, beta = -2/Pi}

(5)

``


Download value1.mw

You can use the maple player to view any worksheets for maple created by other people.  Specifically worksheets found in the maplesoft application center http://www.maplesoft.com/applications/index.aspx Or the maple cloud http://maplecloud.maplesoft.com/

The maple player is mainly a viewer but will also be interactive depending on the created worksheet. 

If you want to experiment on your own math problems, you need to purchase the actual Maple software.

The only thing I can think of is something to do with style sets and color and the information was lost somehow after it was saved.

@Mac Dude I've never seen this before.  In the file as notepad the second section Linear motion and action angle variables just before the execution I see

 for the 1-dimensional linear Hamiltonian is as follows:</Text-field>
</Input>
</Group></Presentation-Block><Presentation-Block>
<Group view="presentation" hide-input="false" hide-output="true" inline-output="false" labelreference="L686" drawlabel="true">
<Input>
<Text-field style="Text" layout="Normal"></Text-field>
</Input>
</Group></Presentation-Block><Presentation-Block>
<Group view="presentation" hide-input="false" hide-output="true" inline-output="false" labelreference="L19" drawlabel="true" redirect-target="L17">
<Input>
<Text-field prompt="&gt; " style="Maple Input" layout="Normal"><Equation executable="true" style="2D Input" input-equation="H = Physics:-Vectors:-`+`((1/2)*px^2, (1/2)*k(s)*x^2);"

Not sure if that helps anyone locate the issue. 

First 11 12 13 14 15 16 17 Last Page 13 of 47