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()UNSOLVED MTH302 Assignment 1 Solution and Discussion

Re: MTH302 Assignment 1 Solution and Discussion
Assignment No. 1 MTH302 (Spring 2020)
Total Marks: 20
Due Date: June 21, 2020.DON’T MISS THESE: Important instructions before attempting the solution of this assignment:
• To solve this assignment, you should have good command over 115 lectures.
• 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 if needed.
• You should remember that if the solution files of some students are found same (copied) then we will reward zero marks to all those students.
• Make solution by yourself and protect your work from other students, otherwise both original and copied assignments will be awarded zero marks.
• Also remember that you are supposed to submit your assignment in Word format, any other format like scanned images etc. will not be accepted and be awarded zero marksQuestion 1
Sameer took a loan of Rs 10,000 at the interest rate of 12% per annum for 5 years. Show that the compound interest is greater than simple interest on the given amount.Question 2
A retailer purchases items that cost Rs. 40.5 each. He adds a markup of 25% on the selling price. The item is then marked down to 7%. What will be the final selling price of the item. 
@RabiaDar said in MTH302 Assignment 1 Solution and Discussion:
@zaasmi said in MTH302 Assignment 1 Solution and Discussion:
A retailer purchases items that cost Rs. 40.5 each. He adds a markup of 25% on the selling price. The item is then marked down to 7%. What will be the final selling price of the item.
By definition, the markup percentage calculation is cost X markup percentage. Then add that to the original unit cost to arrive at the sales price. The markup equation or markup formula is given below in several different formats. For example, if a product costs $100, then the selling price with a 25% markup would be $125.
Gross Profit = Sales Price – Unit Cost = $125 – $100 = $25
Now that you have found the gross profit, let’s look at the markup percentage calculation:
Markup Percentage = Gross Profit/Unit Cost = $25/$100 = 25%
The purpose of markup percentage is to find the ideal sales price for your products and/or services. Use the following formula to calculate sales price:
Sales Price = Cost X Markup Percentage + Cost = $100 X 25% + $100 = $125

@EhtishamAli said in MTH302 Assignment 1 Solution and Discussion:
@zaasmi said in MTH302 Assignment 1 Solution and Discussion:
Question 1
Sameer took a loan of Rs 10,000 at the interest rate of 12% per annum for 5 years. Show that the compound interest is greater than simple interest on the given amount.
Question 2Let the sum borrowed be Z. Then,
(Zx6x2⁄100) + (Zx9x3⁄100) + (Zx14x4⁄100) = 11400
Therefore, 3Z⁄25 + 27Z⁄100 + 14Z⁄25) = 11400
? 95Z⁄100 = 11400
Z = (11400x100⁄95) = 12000 
@zaasmi said in MTH302 Assignment 1 Solution and Discussion:
A retailer purchases items that cost Rs. 40.5 each. He adds a markup of 25% on the selling price. The item is then marked down to 7%. What will be the final selling price of the item.
By definition, the markup percentage calculation is cost X markup percentage. Then add that to the original unit cost to arrive at the sales price. The markup equation or markup formula is given below in several different formats. For example, if a product costs $100, then the selling price with a 25% markup would be $125.
Gross Profit = Sales Price – Unit Cost = $125 – $100 = $25
Now that you have found the gross profit, let’s look at the markup percentage calculation:
Markup Percentage = Gross Profit/Unit Cost = $25/$100 = 25%
The purpose of markup percentage is to find the ideal sales price for your products and/or services. Use the following formula to calculate sales price:
Sales Price = Cost X Markup Percentage + Cost = $100 X 25% + $100 = $125

@zaasmi said in MTH302 Assignment 1 Solution and Discussion:
Question 1
Sameer took a loan of Rs 10,000 at the interest rate of 12% per annum for 5 years. Show that the compound interest is greater than simple interest on the given amount.
Question 2Let the sum borrowed be Z. Then,
(Zx6x2⁄100) + (Zx9x3⁄100) + (Zx14x4⁄100) = 11400
Therefore, 3Z⁄25 + 27Z⁄100 + 14Z⁄25) = 11400
? 95Z⁄100 = 11400
Z = (11400x100⁄95) = 12000 
Sameer took a loan of Rs 10,000 at the interest rate of 12% per annum for 5 years. Show that the compound interest is greater than simple interest on the given amount plz send me full solution