Professional Documents
Culture Documents
Algorithms and Computation in Engineering HOMEWORK #1 (Section1)
Algorithms and Computation in Engineering HOMEWORK #1 (Section1)
HOMEWORK #1 (section1)
Aim
The aim is to write tasks given in the specified time period in the scilab program. Present our tasks in
the form of an engineering report.
Introduction
Three tasks were given in this assignment. The first task is to assign vector elements to variables.The
second task is to create a row Matrix. The third task is create a function chart.
TASK 1
This time, create a random row matrix of 1x15 having integer values between -10 and 10, and assign
to A vector.
clc;//clear console
clear; //clear functions & variables
A=grand(1,15,"uin", -10,10);//create a random row matrix of 1x15 having integer values between -10 and 10
disp(A)
y1 = exp(-abs(t));
y2 = exp(-abs(t-2));
y3 = exp(-abs(t+2));
Conclusion
Software simplifies dealing with vectors. Built-in functions and constant. Similarly, plot
routines allow a quick depiction of the functions. We assigned a random row matrix to a vector.
References
George B. Thomas, M. D. (2005). Thomas' Calculus Early Transcendentals (11th Edition). Boston, MA
United States: Addison-Wesley Longman Publishing Co., Inc. Yeralan, S. (2016). An Introduction to
Industrial Engineering through Computation, First Edition.