Christopher2222

MaplePrimes Activity


These are answers submitted by Christopher2222

The reason the lines are fuzzy is because you have multiple lines overlaying one another in the 2d. 

change your range to 0..15 and you will see what I mean. 

It's a windows setting.  Windows -> control panel -> display and change the icon sizes. 

For example

with(ImageTools):
a:=Read("c:/yourimage.jpg"):
plot(x^2,axis=[gridlines=[10,color=black]],background=a) #x^2 is plotted over yourimage.jpg with gridlines

 

So you're saying given 3 equations with 3 unknowns and only have 2 of the solutions can we get the third?

Certainly, substitute the 2 solutions into any one of the equations to find the removed solution.

In terms of Maple, an example

a := 7*x+5*y-3*z = 16;
b := 3*x-5*y+2*z = -8;
c := 5*x+3*y-7*z = 0;
d:=solve({a,b,c})
                                   {x = 1, y = 3, z = 2}

So if the z solution was pulled away finding it just involves substituting into any one of the others, we'll use equation c here

solve(subs({d[1],d[2]},c),{z})
                                                 {z = 2}

 

I think the problem is the use of double if statements, try using elif or else.  Look here on the if help http://www.maplesoft.com/support/help/Maple/view.aspx?path=if

After 4 rides there is really no best possible time, that much variablity in the data you're almost at the limit.  Meaning the spread of times after 4 rides is almost 30 minutes saying it doesn't really matter when you show up after 2 hours, you're just as likely to arrive for a ride as any other time.  Nevertheless, here's one way using random selections from the given data.

monte-carlo_2_test.mw

 

So here's a start, for example x is some function of t

x := t -> t^2+t-3

x(5)
           27

 

and y is some other function of t

y:=t->3*t^3-4*t

y(2)
           16

t going from -n to n could be something like

for i from -5 to 5 do
  x(t):
end do;

or

seq(x(i),i=-5..5)
                   17, 9, 3, -1, -3, -3, -1, 3, 9, 17, 27

 

 

 

writedata is another command you could use.

Sounds like an operating system setting.  On windows you can change the icon setting sizes.

nops will give a basic idea of the number of operands in an expression.

I think readdata is the most efficient way to read a file.

Try grid=[100,100]. 

Use exp(y). 

exp^(y) and e^y mean something different in Maple

You could also use diff from the Pysics package

Physics[diff](L,diff(theta2(t),t))

 

y:=x+k:
plot([seq(y,k=1..4)])

1 2 3 4 5 6 7 Last Page 1 of 38