## 5800 Reputation

16 years, 63 days

## elif or else...

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

## One way...

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

## functions...

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

writedata is another command you could use.

## Linux settings...

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

## graphics 256 colors...

Definitely some sort of graphics issue.  Looks like it's gone to 256 colors.  See if you can manually change your graphics in windows.

On what system are you using and what operating system?  It looks like windows 7.  Maybe you used some sort of compatibility mode or something.

## nops...

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.

## grid=[m,n]...

Try grid=[100,100].

## exp(y)...

Use exp(y).

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

## Physics package...

You could also use diff from the Pysics package

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

## seq...

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

## try map or transform...

You could try a couple of ways

1/ Alter the data going into the plot on the fly with map

```a:=[[2,4],[5,6],[2,8],[13,65]]:

with(plots):

pointplot(map(a-> [a[1], -a[2]], a))```

2/ transform the plot with plottools

```coordchange:=plottools:-transform((x,y)->[x,-y]):

coordchange(pointplot(a))

```

## palletes...

Oh, I see custom components are in the pallete off to the left side.  So then all I do is drag and drop a component in the cell and modify from there.  I was looking in the file insert and everywhere but the pallete and couldn't find anything.

## I posted to this effect already, but I g...

I posted to this effect already, but I got no responses or no one cared, I don't know.

It happened I believe Friday or Saturday during an update to mapleprimes - there was a period of time when the site was inaccessible at which time I believe an update was being applied.

Maplesoft should reply to these effects.  As a workaround I copy paste in Paint and copy from there.

 First 8 9 10 11 12 13 14 Last Page 10 of 47
﻿