Skrilov Ihor - portfolio
mechanical engineer
Wednesday, June 21, 2023
Cylinder volume calculate program
Code of program
:
import math
print("calculate cylinder volume")
r=input("r=")
r=float(r)
h=input("h=")
h=float(h)
volume=math.pi*(r**2)*h
print("volume=")
print(volume)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Exercises from book "Autodesk Inventor exercises" by Bob McFarlane. E Pattern features
Program to display integer numbers from "started" number to "finished" number
i=input("define a number from its start \n") i=int(i) a=input("define a number to the end \n") a=int(a) print("Star...
Flange - 2D draft and views of 3D model from a book "100 CAD exercises. Beginners guide by 12CAD.com"
There is a draft or 2D sketch: And there are two views of a 3D model: 3D model have been created by author of article.
Ring area calculate program
Code of program : import math print("calculate ring area") R=input("R=") R=float(R) r=input("r=") r=float(r) a...
No comments:
Post a Comment