February 2020
Beginner
621 pages
19h 34m
English
Find
>> gcd(23456,987654)ans =2
If larger integers are used, they should be expressed in symbolic mode; otherwise, only the first 16 digits of the entries are used accurately. The present calculation could have been done as
>> gcd(sym(’23456’),sym(’987654’))ans =2
Solve in integers .
>> [a,b,c]=gcd(23456,987654)a =2b =-3158c =75
This means that 2 is the gcd and .
Compute .
>> mod(234*456,789)ans =189
Compute .
>> powermod(sym(’234567’),sym(’876543’),sym(’565656565’))ans =5334
Find the multiplicative inverse of
Read now
Unlock full access