How to make protractor / circular array in python by using turtle this code will make upto 36 degree angle from turtle import * for theta in range(0,360,30): fd(10…
Read moreVelocity profile over a cross-section of pipe in which the flow is fully defined from numpy import * from matplotlib.pyplot import * from math import * p1 = eval(input(…
Read moreHow to Crop an image in opencv using Python Code : import cv2 import numpy as np img = cv2.imread("lambo.png") imcrop = img[0:100,200:500] cv2.imshow("im…
Read moreHow to do Resize of image in Opencv Python Code: import cv2 import numpy as np img = cv2.imread('input.jpg') print(img.shape) imgResize = cv2.resize(img,(300,20…
Read moreHow to make a arc between two lines in python Code : from numpy import * from matplotlib.pyplot import * theta = eval(input("Enter the value of theta")) t = l…
Read moreNaca airfoil ploting in matplotlib python Code: from matplotlib.pyplot import * from numpy import * t = .2 c= 1.5 xc = linspace(0,1,100) y1 = t*c/.2*(.296*sqrt(xc)-.12…
Read moreHow to plot a graph in matplotlib for beginners Code: import matplotlib.pyplot as plt x = [1,2,3,4] y = [8,12,10,3] plt.xlabel('x axis') plt.ylabel('y axis…
Read moreHow to plot triangle ,square or any polygon shape in Python Matplotlib Code from matplotlib.pyplot import * from numpy import * n = eval(input('enter the no. of sid…
Read more
Social Plugin