0% found this document useful (0 votes)
43 views3 pages

Faiza PDF

The document contains 10 questions related to mathematical operations in Mathematica such as factorizing polynomials, finding coefficients of terms, expanding algebraic expressions, simplifying expressions, using Apart to separate terms, using Range and Table to generate lists of numbers, solving equations for variables, and using Solve to find solutions satisfying given conditions.

Uploaded by

Faiza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views3 pages

Faiza PDF

The document contains 10 questions related to mathematical operations in Mathematica such as factorizing polynomials, finding coefficients of terms, expanding algebraic expressions, simplifying expressions, using Apart to separate terms, using Range and Table to generate lists of numbers, solving equations for variables, and using Solve to find solutions satisfying given conditions.

Uploaded by

Faiza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

QUESTION #01 Factorize the following equations

In[ ]:= Factor[x ^ 4 - 25]


Out[ ]= - 5 + x2  5 + x2 

In[ ]:= Factor[z ^ 8 - 64]


Out[ ]= - 8 + z4  8 + z4 

In[ ]:= Factor[8 x ^ 4 - 4 x ^ 3 + 10 x ^ 2]


Out[ ]= 2 x2 5 - 2 x + 4 x2 

In[ ]:= Factor[3 x ^ 2 + 10 x + 8]


Out[ ]= 2 + x 4 + 3 x

In[ ]:= Factor[x ^ 5 - 3 x ^ 3 - 2 x ^ 2 + 6]


Out[ ]= - 3 + x2  - 2 + x3 

QUESTION #02  find all the coefficients of the qs1

In[ ]:= CoefficientList[x ^ 4 - 25, x]


Out[ ]= {- 25, 0, 0, 0, 1}

In[ ]:= CoefficientList[z ^ 8 - 64, z]


Out[ ]= {- 64, 0, 0, 0, 0, 0, 0, 0, 1}

In[ ]:= CoefficientList[8 x ^ 4 - 4 x ^ 3 + 10 x ^ 2, x]


Out[ ]= {0, 0, 10, - 4, 8}

In[ ]:= CoefficientList[3 x ^ 2 + 10 x + 8, x]


Out[ ]= {8, 10, 3}

In[ ]:= CoefficientList[x ^ 5 - 3 x ^ 3 - 2 x ^ 2 + 6, x]


Out[ ]= {6, 0, - 2, - 3, 0, 1}

QUESTION #03 expand the following algebric expressions

In[ ]:= Expandx + a + 1 ^ 4


Out[ ]= 1 + 4 a + 6 a2 + 4 a3 + a4 + 4 x + 12 a x + 12 a2 x + 4 a3 x + 6 x2 + 12 a x2 + 6 a2 x2 + 4 x3 + 4 a x3 + x4

In[ ]:= Expand3 x + 1 2 x + 4


Out[ ]= 4 + 14 x + 6 x2

In[ ]:= Expandx + 2 ^ 3


Out[ ]= 8 + 12 x + 6 x2 + x3

QUESTION #04 simplify the following


2 mid.nb

27 2  3 - 2 x ^ 3 - 8 1 - 9 x
In[ ]:= Simplify 
216 x ^ 2
Out[ ]= 1-x

In[ ]:= Simplifyx - 1 x + 1


Out[ ]= - 1 + x2

In[ ]:= Simplifya + b ^ 2 - a - b ^ 2


Out[ ]= 4ab

QUESTION #05 apart the following

a + b + c a - b + c a + b - c
In[ ]:= Apart - - 
3 6 6
b c
Out[ ]= +
3 3

100
In[ ]:= Apart 
10 + x 5 + 8 x
4 32
Out[ ]= - +
3 10 + x 3 5 + 8 x

QUESTION #06 using range funtion create a list of odd numbers from 100 to 200

In[ ]:= Odd = Range[101, 200, 2]


Out[ ]= {101, 103, 105, 107, 109, 111, 113, 115, 117, 119, 121, 123, 125, 127, 129, 131,
133, 135, 137, 139, 141, 143, 145, 147, 149, 151, 153, 155, 157, 159, 161, 163, 165,
167, 169, 171, 173, 175, 177, 179, 181, 183, 185, 187, 189, 191, 193, 195, 197, 199}

QUESTION #07 repeat question8 using table function

In[ ]:= even = Table[n, {n, 0, 20, 2}]


Out[ ]= {0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20}

In[ ]:= odd = Table[n, {n, 1, 20, 2}]


Out[ ]= {1, 3, 5, 7, 9, 11, 13, 15, 17, 19}

In[ ]:= z = Sort[Flatten[Append[even, odd]]]


Out[ ]= {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20}

QUESTION #08 ** using range function create two

seperate lists of ODD and EVEN number from 0 to 20 and then add together

In[ ]:= EvenR = Range[0, 20, 2]


Out[ ]= {0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20}
mid.nb 3

In[ ]:= OddR = Range[1, 20, 2]


Out[ ]= {1, 3, 5, 7, 9, 11, 13, 15, 17, 19}

In[ ]:= Sort[Flatten[Append[EvenR, OddR]]]


Out[ ]= {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20}

QUESTION #09 solve the following for b 

a + b + c a - b + c
In[ ]:= Solve - ⩵ 0, b
3 6
1
Out[ ]= b → (- a - c)
3

Question #10 solve the equation for x greater than zero

In[5]:= Solve[8 x ^ 4 - 4 x ^ 3 + 10 x ^ 2 == 0 && x > 0]


Out[5]= {}

You might also like