These are answers submitted by
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
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
a := convert([seq(i, i = 1 .. 1000)], string):
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.
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>
<Group view="presentation" hide-input="false" hide-output="true" inline-output="false" labelreference="L686" drawlabel="true">
<Text-field style="Text" layout="Normal"></Text-field>
<Group view="presentation" hide-input="false" hide-output="true" inline-output="false" labelreference="L19" drawlabel="true" redirect-target="L17">
<Text-field prompt="> " 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.
I renamed your data to data.csv I could have overlapped the faster sine wave on the slow sine wave at the end but I was running out of time. I think some parts I did could have been done easier. The only difficulty was getting having to rerun the Fit with trial initialvalues to see what fits best. I think it would be nice if Maple could just pick out the slow sine waves first in the FIT data as a default .. although I think it's actually harder to implement than I think.
you could use dualaxisplot, but you have to include your function twice and it doesn't put tickmarks at the top of the axis.
or you could use axis=[gridlines] option
display(seq(plot(sin(m*x)), m = 1 .. 2))
The icons across the top of your screen are controlled by your graphics card - you can adjust those settings separate from maple through windows control panel - display. The plot size I believe is also affected by this setting.
The rest of the worksheet size is can be changed by holding crtl and a pressing a number (default size is 2)
The reason I ask is because the latest maple bug http://www.mapleprimes.com/posts/201844-Possible-Bug-In-Maple- appears to be fixed in Maple 2015 by first loading the Physics package. But it needs to be loaded right after a restart.
I was hoping your Physics addons would also fix earlier versions of Maple since I don't think Maplesoft would be providing updates to earlier Maple versions.
I tried a few other packages but only the Physics package seemed to rid Maple (only 2015) of the bug. Also I only tried the second option of loading the Physics package into a user library rather than the system library for Maple18 to see if it worked in an earlier version which unfortunatley did not.
Using map2 should get what you want
L := [[1, 2, 3], [4, 3, 2]]:
map2(map, `^`, L, 2)
One more way