ClubEnsayos.com - Ensayos de Calidad, Tareas y Monografias
Buscar

Actividad 9 metodos numericos


Enviado por   •  31 de Marzo de 2019  •  Tareas  •  1.251 Palabras (6 Páginas)  •  658 Visitas

Página 1 de 6

Nombre:

Miguel Tejeda Guzmán

Matrícula:

2867467

Nombre del curso: 

Metodos Numericos

Nombre del profesor:

 Iris Gabriela Arrona Cardoza

Módulo 1:

2

Actividad/ Tarea:

Actividad 9

Bibliografía:

 //Elaborado por Miguel Tejeda Guzmán  

using System;

using System.Collections.Generic;

using System.Linq; using System.Text;  

namespace ConsoleApplication1 

{     class Program     

{         static void Main(string[] args)        

{             double pivote, factor;            

double[,] jacobiana = new double[20, 3];            

double[,] matriz = new double[3, 4];      //Temperaturas de cada mes             

[] voltaje = { -2.4684, 56.8038, 4.8393, 13.2878, -0.1931, -19.5771,                                     55.4146, 74.4829, 62.0632, 37.3616, 14.1876,                                     72.9088, 81.5205, 120.7811, 156.3607, 141.7361,                                     110.898, 129.7614, 192.8516, 253.4778 };            

double[] tiempo = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};              

for (int i = 0; i < 20; i = i + 1)            

{                

//x1t^2 + x2sent + x3 e^(x/10)                 

//derivadas                 

jacobiana[i, 0] = Math.Pow(tiempo[i], 2);                 jacobiana[i, 1] = Math.Sin(tiempo[i]);                

jacobiana[i, 2] = Math.Exp(tiempo[i] / 10);            

}              

//Multiplicación de matrices             

//------------------------------             

for (int i = 0; i < 3; i = i + 1) //recorre primera matriz                 for (int j = 0; j < 3; j = j + 1) //recorre segunda matriz                     for (int k = 0; k < 20; k = k + 1) // recorre los renglones                          matriz[i, j] = matriz[i, j] + jacobiana[k, i] * jacobiana[k, j];               for (int i = 0; i < 3; i = i + 1)                

...

Descargar como (para miembros actualizados)  txt (3.1 Kb)   pdf (125.3 Kb)   docx (928.6 Kb)  
Leer 5 páginas más »
Disponible sólo en Clubensayos.com