Solution:
class Product: Name = "NULL" Brand= "NULL" Price= 0 Quantity= 0 def __init__(self, na, br, pr, qty): print print "" print "Pametarized Constructor called:" print "" self.Name = na self.Brand = br self.Price = pr self.Quantity=qty def setName(self, n): self.Name = n def setBrand(self, b): self.Brand=b def setPrice(self, p): self.Price=p def setQuantity(self, q): self.Quantity=q def getName(self): return self.Name def getBrand(self): return self.Brand def getPrice(self): return self.Price def getQuantity(self): return self.Quantity P1= Product("Computer","DELL",48000,5) print print "Object values initialized through Constructor:" print print "Name: " , P1.getName() print "Brand: ", P1.getBrand() print "Price: ", P1.getPrice() print "Quantity: ", P1.getQuantity() P1.setName("Cloths") P1.setBrand("Bonanza") P1.setPrice(4500) P1.setQuantity(10) print print "" print print "Object values assigend thorugh setter functions:" print print "Name: " , P1.getName() print "Brand: ", P1.getBrand() print "Price: ", P1.getPrice() print "Quantity: ", P1.getQuantity()MTH701 Assignment 1 Solution and Discussion

ASSIGNMENT#1
Fall 2019
MTH701Total marks: 20 Due Date: 17 Nov, 2019
DON’T MISS THESE: Important instructions before attempting the solution of this assignment:
• To solve this assignment, you should have good command over 110 lectures.
• Try to get the concepts, consolidate your concepts which you learn in these lectures with these questions.
• Upload assignments properly through LMS, No Assignment will be accepted through email.
• Write your ID on the top of your solution file.
• Don’t use colorful back grounds in your solution files.
• Use Math Type or Equation Editor etc for mathematical symbols.
• You should remember that if we found the solution files of some students are same then we will reward zero marks to all those students.
• Try to make solution by yourself and protect your work from other students, otherwise you and the student who send same solution file as you will be given zero marks.
• Also remember that you are supposed to submit your assignment in Word format any other like scan images etc will not be accepted and we will give zero marks correspond to these assignments.Question 1: Marks 10
Solve the differential equation by undetermined coefficients (Annihilator Operator Approach).
Question 2: Marks 10
Solve the given differential equation by method of variation of parameters.

@zareen said in MTH701 Assignment 1 Solution and Discussion:
Solve the given differential equation by method of variation of parameters.

@zareen said in MTH701 Assignment 1 Solution and Discussion:
Solve the differential equation by undetermined coefficients (Annihilator Operator Approach).
Recent Topics

CS606 Assignment 3 Solution and Discussion
CS606  Compiler Construction48 
MTH603 Quiz 1 Solution and Discussion
MTH603  Numerical Analysis29 
CS508 Quiz 2 Solution and Discussion
CS508  Modern Programming Languages20 
ENG101 Assignment 2 Solution and Discussion
ENG101  English Comprehension10 
MTH603 Quiz 2 Solution and Discussion
MTH603  Numerical Analysis9 
PSY610 Assignment 2 Solution and Discussion
PSY610  Neurological Bases of Behaviour8 
CS431 Assignment 3 Solution and Discussion
CS431  Wireless Communication8 
CS315 Assignment 3 Solution and Discussion
CS315  Network Security6 
CS315 Assignment 2 Solution and Discussion
CS315  Network Security6 
CS314 Assignment 3 Solution and Discussion
CS314  Introduction to Cellular Networks6 
EDU431 Assignment 3 Solution and Discussion
EDU431  Test Development & Evaluation5 
BT603 Assignment 2 Solution and Discussion
BT603  Fermentation Technology5 
SOLVED SOC101 Assignment 1 Solution and Discussion
SOC101  Introduction to Sociology5 
Why http url auto redirect to https?
Development Troubleshooting5 
CS605 Assignment 3 Solution and Discussion
CS605  Software EngineeringII4 
PAK301 Assignment 2 Solution and Discussion
PAK301  Pakistan Studies4 
CS507 Assignment 3 Solution and Discussion
CS507  Information Systems4 
ENG505 Assignmnet 2 Solution and Discussion
ENG505  Language Learning Theories4 
ENG301 Assignment 2 Solution and Discussion
ENG301  Business Communication4 
CS411 Assignment 3 Solution and Discussion
CS411  Visual Programming4