Sponsored links: Algebra eBooks
 

Related

absolute_real_time-expand-factor-product-random-time

n:random(3)+4;

p:product (i*x-random...

e:expand(p);

Calculate

absolute_real_time-expand-factor-product-random-time

n:random(3)+4;

p:product (i*x-random...

e:expand(p);

Calculate

absolute_real_time-expand-factor-product-random-time

n:random(3)+3;

p:product (i*x-random...

e:expand(p);

Calculate

absolute_real_time-false-make_random_state-set_random_state-time-true

set_random_state(make...

set_random_state(make...

random(10);

Calculate

absolute_real_time-expand-factor-product-random-time

n:random(3)+3;

p:product (i*x-random...

e:expand(p);

Calculate

absolute_real_time-expand-factor-product-random-time

n:random(3)+4;

p:product (i*x-random...

e:expand(p);

Calculate

absolute_real_time-false-make_random_state-set_random_state-time-true

set_random_state(make...

set_random_state(make...

random(10);

Calculate

absolute_real_time

Run Example
(%i1)n:random(3)+2;
(%o1)                                  4
(%i2) p:product (i*x-random(3), i, 1, n);
(%o2)                   x (2 x - 2) (3 x - 2) (4 x - 1)
(%i3) e:expand(p);
                              4       3       2
(%o3)                     24 x  - 46 x  + 26 x  - 4 x
(%i4) f:factor(e);
(%o4)                   2 (x - 1) x (3 x - 2) (4 x - 1)
(%i5) absolute_real_time ();
(%o5)                             3755298356
(%i6) 
Run Example
absolute_real_time ();
(%o1)                             3572028537
(%i2)  1900 + absolute_real_time () / (365.25 * 24 * 3600);
(%o2)                          2013.190753954673
(%i3) 
Run Example
n:random(3)+2;
(%o1)                                  4
(%i2) p:product (i*x-random(3), i, 1, n);
(%o2)                   x (2 x - 2) (3 x - 2) (4 x - 1)
(%i3) e:expand(p);
                              4       3       2
(%o3)                     24 x  - 46 x  + 26 x  - 4 x
(%i4) f:factor(e);
(%o4)                   2 (x - 1) x (3 x - 2) (4 x - 1)
(%i5) absolute_real_time ();
(%o5)                             3755298567
(%i6) elapsed_run_time ();
(%o6)                                 0.3
(%i7) 

Related Help

Help for Absolute_real_time