Practical-1 Functions in Mathematica: A) " " Is Used To Test If One Quantity Is Equal To Another
Practical-1 Functions in Mathematica: A) " " Is Used To Test If One Quantity Is Equal To Another
Functions in Mathematica
1. Testing Symbols
8435 Š H8435L3•2
3
False
50 653 b 225
False
50 653 b 226
True
2 Practical 1.nb
Sin@90 °D
1
Sin@90 DegreeD
1
4. Factoring Integers: the command
“FactorInteger[n]” gives the prime factors
of any integer n.
FactorInteger @324D
882, 2<, 83, 4<<
Practical 1.nb 3
1 + 82, 0, 1, 0<
83, 1, 2, 1<
FromDigits@82, 0, 1, 0<D
2010
Practice Questions
1. Find binomial coefficient of (97,32) and
(127,55).
2. Find Prime Factors of integers a)
3527218133309949276293 b)
Practice Questions
1. Find binomial coefficient of (97,32) and
Practical 1.nb 7
(127,55).
2. Find Prime Factors of integers a)
3527218133309949276293 b)
471945325930166281.
3. construct table for the following nth
prime number a) (3,20) b) (47,60) c)
(97,150).
4. Compute the following expression a) 36
mod 7 b) 36 mod 11 c) 720 mod 21
d) 723 mod 21.