Is there any way I can simplify or optimize the following piecewise statements?

(both variables need to be stored for different reasons)

(A>264)+(A(A<264)+1 -> A

(264+A-C)(A-C≤0)+(A-C)(A-C>0) -> B

—Wolfgang

- Membership
- Editing Pages
- Site Information
- Related Sites

Change these two lines:
seq(3I-int(3rand),I,1,5→L₁
For(I,1,5
Simply replace the 5's with how...

(by Trenly 20 Apr 2018 04:34, posts: 12)

(by Trenly 20 Apr 2018 04:34, posts: 12)

The whole think i want to programm is, a self generating maze.
My idea:
Start at a random point...

(by Gaptosm Meyer 19 Apr 2018 23:08, posts: 12)

(by Gaptosm Meyer 19 Apr 2018 23:08, posts: 12)

You beat me to it Myles. Although the way I presented it won't tell it whether to test the...

(by Trenly 19 Apr 2018 20:12, posts: 12)

(by Trenly 19 Apr 2018 20:12, posts: 12)

((A-R)>0)
This tests to see if the X coordinate value minus the radius is greater than 0....

(by Myles_Zadok 19 Apr 2018 20:05, posts: 12)

(by Myles_Zadok 19 Apr 2018 20:05, posts: 12)

H
Can u go in depth with this?
If ((A-R)>0)((A+R)<94)((B-R)>0)((B+R)<63)
Dont...

(by Gaptosm Meyer 19 Apr 2018 19:07, posts: 12)

(by Gaptosm Meyer 19 Apr 2018 19:07, posts: 12)

Recent Threads

(Started 19 Apr 2018 12:32,
Posts: 12)

(Started 18 Apr 2018 14:04,
Posts: 2)

(Started 15 Apr 2018 03:16,
Posts: 3)

(Started 13 Apr 2018 21:41,
Posts: 0)

(Started 13 Apr 2018 21:38,
Posts: 3)

(Started 13 Apr 2018 19:19,
Posts: 1)

(Started 13 Apr 2018 16:11,
Posts: 4)

(Started 12 Apr 2018 14:51,
Posts: 4)

(Started 12 Apr 2018 02:58,
Posts: 4)

(Started 11 Apr 2018 17:38,
Posts: 1)

(Started 11 Apr 2018 14:12,
Posts: 2)

(Started 10 Apr 2018 17:02,
Posts: 8)

**CHAR**- → ⸤ ⁻
- × ÷ ±
- √ Σ ≠
- ≥ ≤ π
- Δ χ ▶
- ֿ¹ ² ³
- L₁ L₂ L₃
- L₄ L₅ L₆
- ≅ ℕ º
- θ ∠ ∞
- ♦ ⇧ ∫
- ∏ ©

Piecewise Simplification/Optimization