Python Solving 3D Geometry Problems with Python

AI Thread Summary
The discussion revolves around a homework problem involving surface area and volume calculations for a geometric shape. Key equations provided include the formula for surface area, SA = 2(L * W + L * H + W * H), and the formula for height derived from volume, height = volume/(pi * radius^2). A code link is shared for a solution attempt, but it is noted that the original post lacks a clear question and that important details should be included directly in the post rather than relying on external links. This highlights the importance of clarity and completeness in forum posts for effective communication and assistance.
IntelvsAMD
Messages
2
Reaction score
0

Homework Statement


Requirements: http://i.imgur.com/2WKyhto.png

Homework Equations


2(L * W + L * H + W * H)
SA = (2 * pi * radius * height + 2 * pi * radius^2)
height = (volume)/(pi * radius^2)

The Attempt at a Solution


Code link: http://pastebin.com/sKFEGN0C
 
Last edited by a moderator:
Technology news on Phys.org
There is no question in your post.

Also, please make the effort to put the meat of your post in the post itself, not in external links. The code in particular could easily have been pasted in, in between
Matlab:
tags.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...

Similar threads

Replies
1
Views
1K
Replies
6
Views
2K
Replies
4
Views
5K
Replies
3
Views
1K
Replies
3
Views
2K
Replies
9
Views
3K
Replies
7
Views
4K
Back
Top