Question: Computation with Array

February 04 2010 mdc 228
Maple
0
I would like to calculate engineering stress using array; but the following piece of codes do not seem to work. *EngineeringStress = force / area *Define force is an array of measurements of force. crossArea:= 3.2 * 19.1 (not the "*" is really a "." in Maple editor; it is multiplication) force := array ([0., 1380.0, 2780.0, 5630.0]) engineeringStress := force/crossArea; engineeringStress[1] ({0., 1380.0, 2780.0, 5630.0}/crossArea)[1] it suppose to be 0!!!
Please Wait...