- Questions »
- Science/Math »
- Physics »
- usando MATLAB El área de un triángulo ABC se puede...
-
19+ Users Viewed
-
4+ Downloaded Solutions
-
Indiana, US Mostly Asked From
usando MATLAB
El área de un triángulo ABC se puede calcular por
Área = 1/2 * ?AB×AC?,
donde || || es la magnitud del vector, AB es el vector distancia del punto A al punto B y AC es la distancia
vector del punto A al punto C. Escriba una función definida por el usuario de MATLAB, [Área] =
LN_TriArea(A,B,C), para calcular el área del triángulo usando la ecuación anterior. La entrada A,
B y C son matrices 1D que contienen las coordenadas XY o XYZ de los vértices del triángulo, por ejemplo, A = [2,3] o
A = [1 2 0]. En su función, cree dos subfunciones, vec = MyDistance(vertex1, vertex2) y
fuera = MiCruz(vec1,vec2). La función MyDistance( ) devuelve el vector de distancia entre dos
puntos dados por vertex1 y vertex2. La función MyCross() calcula el producto vectorial de dos
vectores dados por vec1 y vec2. NO PUEDE usar las funciones integradas de MATLAB para calcular la cruz
producto. Asegúrese de comprobar si hay entradas no válidas y mostrar los mensajes de advertencia adecuados. Su programa debe incluir
líneas de comentarios adecuadas.
Usando su función anterior, escriba la llamada de función que usa y la respuesta para el cálculo de un
triángulo formado por 3 puntos: (0,0,0), (5.5, 0, 0) y (5.5, -4, 0).
gracias.
Expert's Answer
Solution.pdf
Help us make our solutions better
Rate this solution on a scale of 1-5 star
X
Next Previous
Related Questions
Postedone year ago
- Q: Parte III. Al pasar las contestaciones a la Hoja del Contestación marque la A si es cierto y la Bies False El trabajo puede definirse como el tiempo y el esfuerzo fisico y mental utilizado en el proceso prod empresario es el que acumula el... Posted one year ago
View Answer ►
- Q: su uego en el segundo paso el carbanión actúa como oton del agua para formegu e edel an en medio básico, mediante la de otra molécula; en este punto se forma un alcóxido. arvido (que es una base más fuerte que el... Posted 2 years ago
- Q: La altura promedio para todos los hombres es de 69,3 pulgadas con una desviación estándar de 2,8 pulgadas. Para las mujeres, la altura promedio es de 64 pulgadas y la desviación estándar es de 2,8. Estos son los valores de la población. Para la... Posted 5 days ago
- Q: De hecho, la velocidad del sonido en el aire depende de la temperatura del aire. A 0 o C, la velocidad del sonido en el aire es de 331,5 m/s. Por cada grado Celsius por encima de 0 o C, la velocidad aumenta en 0,6 m/s. Por cada grado Celsius por... Posted 2 months ago
- Q: PLANEACION DE LOS REQUERIMIENTOS DE MATERIALES 1. INTRODUCCION 2. NATURALEZA DE LA DEMANDA 3. OBJETIVOS DEL MRP 4. PROCESO DE PLANEACION DE LOS REQUERIMIENTOS DE MATERIALES 5. LISTA DE MATERIALES (BOM) 6. USANDO EL PLAN DE REQUERIMIENTOS DE... Posted 9 months ago
View Answer ►
Recent Questions in Physics
- Q: Fat TABLE 12-4 T1 AND T2 RELAXATION CONSTANTS FOR SEVERAL TISSUES TISSUE T1, 0.5T (ms) T1, 1.5 T (ms) T2 (ms) 210 260 80 Liver 350 500 40 Muscle 550 870 White matter 500 780 90 Gray matter 650 900 100 Cerebrospinal fluid 1,800 2,400 160 Estimates... Posted 3 days ago
- Q: 4. Sir Francis Bacon was an English philosopher and statesman in the late 1500s to early 1600s. He is credited for developing Sir Francis Bacon's code, which is yet another encryption technique. The encryption process works as follows (in this... Posted 3 days ago
- Q: Goal Use conservation of mechanical energy to solve a problem involving gravitational potential energy, spring potential energy, and a ramp. Problem A0.500kgblock rests on a horizontal, frictionless surface as in the figure. The block is pressed... Posted 3 days ago
- Q: Experiment 10 -Simple Harmonic Motion Procedure A Finding the Spring Constant -5raph (include units in the answers below)S F x ?=? x 2=Experiment 10 -Simple Harmonic Motion Procedure A Finding the Spring Constant -5raph (include units in the... Posted 3 days ago
- Q: Figure 1 of 1 Find the current through resistor b ) in the figure. Express your answer with the appropriate units. Part D Find the potential difference across resistor b ) in the figure. Express your answer with the appropriate units. Find the... Posted 3 days ago
- Q: Electrical burns occur principally because of: A.?The high energy of electrons B.?Radiation pulses of the electricity C.?The heat generated by the flow of electrical current through the body D.?All the above Posted 3 days ago
- Q: A particle has a charge of -2.90nC . Find the magnitude of the electric field due to this particle at a point 0.240m directly above it. Find the direction of the electric field at this point. At what distance from the particle does its electric field... Posted 3 days ago
- Q: The Hubble constant is about 70 km/s per Mpc, which means that a galaxy would be moving away from us at 70 km/s if it were 1 Mpc away. If a galaxy were 10 Mpc away, how fast would be appear to be moving away from us, in km/s? Posted 3 days ago
- Q: Each plate of a parallel-plate capacitor has an area of A = 0.89 m 2 . The plate separation is 3.0 mm, and one of these plates is shown in the figure. It carries a charge of Q = 2.9 µC, which is concentrated on its inner surface. Imagine a... Posted 3 days ago
- Q: (14%) Problem 11: A detailed graph of velocity versus time is shown. 30.0 20.0 v(m/s) 10.0 5.0 10.0 15.0 20.0 25.0 t(s) expecoring AS DI-CY46 Medance with me as Tome Service pe de todoration they limesharing while besley Dolgo may soon of your per TA... Posted 3 days ago
Submit your documents and get free Plagiarism reportPlagiarism Checker
more questions »
Ask A New Question
Copy and paste your question here...
Have a Referral code ?
Attach Files
Solve your Math Problem with one click