[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 282: Undefined array key "app_rebranding_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 283: Undefined array key "app_url_scheme"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 284: Undefined array key "app_icon_url"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 285: Undefined array key "app_name"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 287: Undefined array key "app_alert_message"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 289: Undefined array key "app_android_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 290: Undefined array key "app_android_description"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 291: Undefined array key "app_banner_message_android"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 294: Undefined array key "app_ios_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 295: Undefined array key "app_ios_description"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 296: Undefined array key "app_banner_message_ios"
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4150: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3035)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4150: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3035)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4150: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3035)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4150: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3035)
Foros Ingeniería Civil • ¿COMO CREAR UN VECTOR CON CICLO FOR?
Página 1 de 1

¿COMO CREAR UN VECTOR CON CICLO FOR?

Publicado: Lun Feb 06, 2012 5:23 pm
por GibsonLesPaul2212
Estimados: Tengo un vector de 6x1 que tiene valores de Momento y otro Vector de 6x1 que tiene valores de Fuerza

Es posible crear un vector llamado E con un ciclo FOR en el cual cada elemento sea el resultado de diviidir El valor de cada elemento del vector momento por el valor de cada elemento del mometo fuerza?

Alguien sabe como hacer eso?

La opcion más facial es hacer E = M/F...pero necesito crear un ciclo for porque despues tengo que hacer otra cosa.

Re: ¿COMO CREAR UN VECTOR CON CICLO FOR?

Publicado: Dom Jun 07, 2020 4:20 pm
por pannus0
GibsonLesPaul2212 escribió: ↑Lun Feb 06, 2012 5:23 pm Estimados: Tengo un vector de 6x1 que tiene valores de Momento y otro Vector de 6x1 que tiene valores de Fuerza

Es posible crear un vector llamado E con un ciclo FOR en el cual cada elemento sea el resultado de diviidir El valor de cada elemento del vector momento por el valor de cada elemento del mometo fuerza?

Alguien sabe como hacer eso?

La opcion más facial es hacer E = M/F...pero necesito crear un ciclo for porque despues tengo que hacer otra cosa.
te adjunto la respuesta pudiendo optar por otros caminos lo cual te pudieran conducir al mismo resultado