Python

champak
₹2,000.00 ₹300.00
The Python Programming Language at Champak's World
  • 22 students
  • 41 lessons
  • 0 quizzes
  • 10 week duration

Python

Arithmetic Operations in Python — Assignment

  1. Calculate the area of a circle given the radius as an input. Area=PI * r* r.
  2. Calculate the area of a triangle given the 3 sides a,b and c
    s=(a+b+c)/2
    area=((s-a)*(s-b)*(s-c))1/2
  3. Calculate the SI and CI given p, r and t.
    SI=p*r*t/100
    CI=p*(1+r/100)t-p
  4. Solve for the roots of a quadratic equation
    x1=(-b+√ (b*b-4*a*c))/(2*a),x2=(-b-√ (b*b-4*a*c))/(2*a)
  5. Find the total marks and average given the marks in 3 subjects phy, chem and maths.

Leave a Reply

Your email address will not be published. Required fields are marked *