Mon Feb 16 10:53:00 MST 1998 aquarius% mupad *----* MuPAD 1.4.0 -- Multi Processing Algebra Data Tool /| /| *----* | Copyright (c) 1997 - 98 by SciFace Software GmbH | *--|-* All rights reserved. |/ |/ *----* Licensed to: Michael Wester >> # ----------[ M u P A D ]---------- # >> # ---------- Initialization ---------- # >> TEXTWIDTH:= 80: >> read("../../Time.mupad"): >> # ---------- Mathematics vs Computer Science ---------- # >> # Is k really treated as a local variable in the following situations where it &> is clearly a mathematically local variable? # >> sum(k, k = 1..4); 10 Time: 540 msec Type: DOM_INT >> product(k, k = 1..3); 6 Time: 260 msec Type: DOM_INT >> limit(k, k = 0); 0 Time: 16880 msec Type: DOM_INT >> int(k, k = 0..1); 1/2 Time: 170 msec Type: DOM_RAT >> k:= 1: >> sum(k, k = 1..4); Error: invalid arguments [sum] >> product(k, k = 1..3); Error: invalid argument [product] >> limit(k, k = 0); Error: invalid limit variable [limit] >> int(k, k = 0..1); Error: integration variable expected, but got 1 [int] >> # ---------- Quit ---------- # >> quit real 21.48 user 20.67 sys 0.71