- #1
man0005
- 58
- 0
man0005 said:(1/2)sqr root(a^2b^2)
(1/2)sqr root(a^2c^2)
(1/2)sqr root(b^2c^2)
tiny-tim said:tell us what formulas you know for the area of a triangle (with or without cross product )
man0005 said:i only know 1/2bh
but using that for this would be too messy yeah?
man0005 said:Is this right for Area D?
i made the line from 0,b,0 to a,0,0 as AB
and the line from 0,b,0 to 0,0,c as AC
so AB = (-a, b, 0)
AC = (0, b , -c)
then using cross product
= (-bc, -ac, -ab)
so area = 1/2 √ (b2c2 + a2c2+ a2b2)
man0005 said:now for b) :P
is the answer triangle?
man0005 said:hmm what do you mean?
should i expand?
man0005 said:whatt how do you know? D:
man0005 said:then find equation of line?
man0005 said:okay
so would i say:
cube - square
sliced corner - triangle
sliced plane - line?
man0005 said:A + B + C = D?
can i just state that or do i need to show it as well?
man0005 said:since the 3D equation is A2+B2+C2= D2
then 2d equation is A + B + C = D?
isnt that what you meant?
what are A B C and D?
man0005 said:oh you mean the actual values?
A= ab/2
B= ac/2
C = bc/2
D = 1/2(ab+bc+ac)?
man0005 said:cube - square
sliced corner - triangle
sliced plane - line?
yes …
next, the 3D equation was about a sum of areas squared …
so what would be 2D equivalent of that be?
The "Slicing Corner problem" refers to a common issue encountered when working with vectors in computer programming. It occurs when attempting to slice or extract a specific portion of a vector, but the starting and ending indices fall on or near the corners of the vector. This can result in unexpected or incorrect data being retrieved.
To avoid the "Slicing Corner problem", it is important to carefully consider the starting and ending indices when slicing a vector. In some cases, it may be necessary to adjust the indices or use alternative methods for extracting data from a vector.
While there is no one-size-fits-all solution to the "Slicing Corner problem", it is possible to write code that can detect and handle this issue. This may involve implementing checks for corner cases or using conditional statements to adjust the indices accordingly.
Yes, there are several other common problems that can arise when working with vectors, such as out-of-bounds errors, incorrect data types, and issues with memory allocation. It is important to thoroughly test and debug code when working with vectors to ensure these problems are avoided.
Yes, there are many online tutorials, forums, and documentation available for learning more about working with vectors in various programming languages. It is also helpful to practice and experiment with vectors in a programming environment to gain a better understanding of their behavior.