Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
> a := 3 / 5;
|
||||
a := 3/5
|
||||
|
||||
> numer( a );
|
||||
3
|
||||
|
||||
> denom( a );
|
||||
5
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
> b := 4 / 6;
|
||||
b := 2/3
|
||||
21
Task/Arithmetic-Rational/Maple/arithmetic-rational-3.maple
Normal file
21
Task/Arithmetic-Rational/Maple/arithmetic-rational-3.maple
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
> a + b;
|
||||
19
|
||||
--
|
||||
15
|
||||
|
||||
> a * b;
|
||||
2/5
|
||||
|
||||
> a / b;
|
||||
9/10
|
||||
|
||||
> a - b;
|
||||
-1
|
||||
--
|
||||
15
|
||||
|
||||
> a + 1;
|
||||
8/5
|
||||
|
||||
> a - 1;
|
||||
-2/5
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
> evalf( 22 / 7 ); # default is 10 digits
|
||||
3.142857143
|
||||
|
||||
> evalf[100]( 22 / 7 ); # 100 digits
|
||||
3.142857142857142857142857142857142857142857142857142857142857142857\
|
||||
142857142857142857142857142857143
|
||||
Loading…
Add table
Add a link
Reference in a new issue