0% found this document useful (0 votes)
7 views1 page

Algebra

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)
7 views1 page

Algebra

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/ 1

PSG COLLEGE OF TECHNOLOGY

DEPARTMENT OF APPLIED MATHEMATICS AND COMPUTATIONAL SCIENCES


M.Sc (TCS), 23XT28 Python Programming
PROBLEM SHEET – Algebra

1. Solve the following linear equations

(i) 2𝑥 + 1 = 0 (ii) 5𝑥 − 3 = 2

2. Solve the following non linear equations


(i) 𝑥 2 + 3𝑥 + 2 = 0 (ii) 𝑥 2 + 2𝑥 + 1 = 0 (iii) 𝑥 2 − 4𝑥 + 5 = 0
(iv) 𝑥 3 − 2𝑥 2 + 5𝑥 − 4 = 0 (v) 𝑥 3 + 3𝑥 2 + 4𝑥 + 2 = 0 (vi) 𝑥 3 − 6𝑥 2 + 9𝑥 = 0

3. Sketch and solve the following system of linear equations


(i) 2𝑥 + 3𝑦 = 4; −6𝑥 + 5𝑦 = 1 (ii) −2𝑥 + 4𝑦 = 3; 6𝑥 − 12𝑦 = 9 (iii) −𝑥 − 5𝑦 = 12; 4𝑥 + 20𝑦 = 8
(iv) 𝑥 + 2𝑦 + 3𝑧 = 0; 4𝑥 + 5𝑦 + 6𝑧 = 0; 7𝑥 + 8𝑦 + 9𝑧 = 0

4. Sketch and solve the system of non-linear equations


(i) 𝑥𝑦 = 10; 𝑥 2 + 𝑦 2 = 29 (ii) 𝑥 − 𝑦 = −1; 𝑦 = 𝑥 2 + 1 (iii) 𝑥 − 𝑦 = −2; 𝑦 = 𝑥 2 + 1
(iv) −𝑥 + 𝑦 = −1; 𝑦 = 𝑥 2 + 1 (v) (𝑥 − 3)2 + (𝑦 − 5)2 = 36; 𝑥 2 + 𝑦 2 = 25

5. Factorize the following polynomials


(i) 𝑥 2 + 3𝑥 + 2 (ii) 𝑥 2 + 2𝑥 + 1 (iii) 𝑥 2 − 4𝑥 + 5
(iv) 𝑥 3 − 2𝑥 2 + 5𝑥 − 4 (v) 𝑥 3 + 3𝑥 2 + 4𝑥 + 2 (vi) 𝑥 3 − 6𝑥 2 + 9𝑥

6. Write a program that gets an input of linear equation from the user and solve the equation then prints the
solution.

7. Write a user defined function that takes degree and equation as input and solve the equation and returns
the solution. Call the user defined function into a main program that prints the solution.

8. Write a user defined function that gets an expression as input from the user and returns that expression to
the main program. Let your main program gets an integer as user input and evaluate the expression for the
integer. Execute the program and evaluate the following expressions.
(i) 𝑓(𝑥) = 𝑥 2 + 3𝑥 + 2 (ii) 𝑓(𝑥) = 𝑥 2 + 2𝑥 + 1 (iii) 𝑓(𝑥) = 𝑥 2 − 4𝑥 + 5 (iv) 𝑓(𝑥, 𝑦) = (𝑥 − 3)2 +
(𝑦 − 5)2 (v) 𝑓(𝑥) = 𝑥 3 − 2𝑥 2 + 5𝑥 − 4 (vi) 𝑓(𝑥) = 𝑥 3 + 3𝑥 2 + 4𝑥 + 2 (vii) 𝑓(𝑥, 𝑦, 𝑧) = 𝑥 + 2𝑦 + 3𝑧

* Program should be user friendly.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy