Python for Engineers

Solve Problems by Coding Solutions - A Complete solution for python programming

Blog Pages

▼

Temperature Conversion Table

›
def Fah():     F=int(input('Enter the temperature on Fahrenheit(F)'))     C=(F - 32) * 5/9     K=(F - 32) * 5/9 + 273.15     pri...

Newton Raphson Method

›
#  Newton Raphson Method # The Newton-Raphson method (also known as Newton's method) is a way # to quickly find a good approximation f...

To read a coordinate point in a XY coordinate system and determine its Quadrant

›
x=int(input('Enter the values for X'))   y=int(input('Enter the values for Y')) if x > 0 and y > 0:   print (...

Reading files into Python

›
f = open("1.txt") #create a text file which consists of names of students in class # Printing file all the names print("File ...

Multiplication of two Matrices

›
X = [[4,1,7],[2,1,8],[3 ,7,1]]; Y = [[6,8,1],[9,7,5],[2,3,1]]; result = [[0,0,0],[0,0,0],[0,0,0]];          for i in range(len(X)):      for...
‹
›
Home
View web version
Powered by Blogger.