I am new to python.
I have 3d data points , say x ranges from (118 to 123), y ranges from (0 to 10), z ranges from (-4 to 4).
So using these data points , how to calculate the surface area (Axyz) using python.
Any help is thankful.
I am new to python.
I have 3d data points , say x ranges from (118 to 123), y ranges from (0 to 10), z ranges from (-4 to 4).
So using these data points , how to calculate the surface area (Axyz) using python.
Any help is thankful.
If you know how to compute the surface mathematically, given height, width and depth, all you need to do is extract these parameters from the tuples - using tuple unpacking:
x_from, x_to = (118, 123)
y_from, y_to = (0, 10)
z_from, z_to = (-4, 4)
now
height = y_to - y_from
etc.