Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
____________________________________________________________________
Faculty of Electrical Engineering Sarajevo
LAB WORK IN ELECTRICAL POWER ENGINEERING 1;
ETF EEO PE1 3530
1. [0,5 points] Diagonally Scaled Conjugate Gradient Method -DSCGM for solving
systems of linear algebraic equations
2. [0,5 points] The process of drawing line uses the following coordinates:
Command: 0,0 Press Enter ; Command: @1<45 Press Enter. Which
coordinates are these?
a) Absolute coordinates
b) Polar coordinates
c) Relative coordinates
YES NO
4. [0,5 points] Revolve command can be used for making circular or arc shapes from
any set of plines.
YES NO
5. [0,5 points] Both operations have the same effect: when you type a command
block on command line and press Enter, or when you select the Block, and then
select Make on Insert menu.
YES NO
6. [0,5 points] Supoose you use TRIM command. Marking a line or arc you will
join a line or arc.
YES NO
PEE 1 Page 2/15 points____________
____________________________________________________________________
7. [1 point] Suppose you use command Line: 12,8. Which coordinates are these?
10. [1 point] The drawing shown to the left is initial. After the execution of the
command drawing looks like the one to the right. What command and command
option did you use?
11. [1 point] Draw objects obtained after entering following commands (enter the
coordinates of points):
line
Specify first point: 1,1
Specify next point or [Undo]: 1,0.5
Specify next point or [Undo]: 0.50,0.50
Specify next point or [Close/Undo]: 0,0
Specify next point or [Close/Undo]: *Cancel*
PEE 1 Page 3/15 points____________
____________________________________________________________________
12. [2 points] Using command Polar-Array on marked circle, we get the following:
What is the angle of rotation (Angle to fill). Also write how many objects are set
in array.
13. [2 points] Suppose you use command Offset, Specify offset distance or
[Through] <1.0000>, 25 on object shown in figure. What object will you get
(draw the object along with the coordinates)?
PEE 1 Page 4/15 points____________
____________________________________________________________________
14. [4 points] Conjugate Gradient Method ,CGM, matrix is given as follows. Write
the matrix of non-null members, matrice I matrice indeksa IA, JA
5 0 7 0 4 0
0 9 0 2 0 0
[ A ] =|0 0 0 7 0 0
|
2 0 0 7 0 0
0 0 0 0 9 13
0 4 0 0 2 −1
15. [4 points] Explain in detail the process of creating the object shown in the picture?
____________________________________________________________________
PEE 1 Page 5/15 points____________
____________________________________________________________________
16. [0,5 points] Compressed Row storage - CRS format for solving systems of linear
algebraic equations
17. [0,5 points] The process of drawing line uses the following coordinates:
Command: 0,0 Press Enter ; Command: 10,0 Press Enter. Which
coordinates are these?
d) Absolute coordinates
e) Polar coordinates
f) Relative coordinates
18. [0,5 points] A polygon is constructed using command Line. If you left-click on
one of the lines you will mark the entire polygon.
YES NO
19. [0,5 points] AutoCAD will remember the previously entered data for height and
orientation (angle) of a text.
YES NO
20. [0,5 points] Four methods for determining the beginning of the drawing process
are: Absolute coordinates, Relative Rectangular Coordinates, Relative Polar
Coordinates and Object Snap (Osnap))?
YES NO
21. [0,5 points] Using command Explode object is ungrouped and remaining lines
can not be treated separately.
YES NO
PEE 1 Page 6/15 points____________
____________________________________________________________________
22. [1 point] Suppose you use the command Line :@11,7. Which coordinates are
these?
23. [1 point] The model is shown in the figure. What kind of model is that?
Draw the object that you will get after typing a command Specify next point or
[Close/Undo]: c
25. [1 point] The initial drawing shown to the left is created using command lines.
After the execution of entered commands drawing looks like the one to the right.
What commands did you use?
26. [1 point] Draw objects obtained after entering following commands (enter the
coordinates of points):
Command: line
Specify first point: 0,0
Specify next point or [Undo]: 1,1
Specify next point or [Undo]: 0,0.50
Specify next point or [Close/Undo]: 1,0.50
PEE 1 Page 7/15 points____________
____________________________________________________________________
Specify next point or [Close/Undo]: *Cancel*
27. [2 points] Using command Array –Polar on marked circle we get the following:
What is the angle of rotation (Angle to fill). Also write how many objects are set
in array.
28. [2 poena] Suppose you use command Offset, Specify offset distance or
[Through] <1.0000>, 25 on object shown on figure. What object will you
get (draw the object along with the coordinates)?
PEE 1 Page 8/15 points____________
____________________________________________________________________
29. [4 poena] Conjugate Gradient Method , matrix is given as follows. Write the
matrix of non-null members, matrice I matrice indeksa IA, JA
5 0 0 0 4 1
0 7 2 2 0 0
[ A ] =|0 0 0 7 0 0
|
2 0 0 0 1 0
0 0 0 0 9 13
0 4 0 0 8 −1
30. [4 poena] Explain in detail the process of creating the object shown in the picture?
____________________________________________________________________
PEE 1 Page 9/15 points____________
____________________________________________________________________
1. [0,5 points] Matlab does not allow user to form an additional function, which is
another disadvantage of this software package.
YES NO
2. [0,5 points] Option Open M-file is used to open a dialogue which allows you to
choose some of the previously formed M – files, that can then open in a window
for editing.
YES NO
3. [0,5 points] Typing an expression »A=[1 2 3 4 5 6... and pressing the Enter key
results in:
A=
1 -2 3
4 56
...
YES NO
4. [0,5 points] Define the matrix X and a scalar Y as follows: 'X = [-l 2 4, 2 -3 1; -4
-5 -6],' y = 5 the command: "Z = X * Y results in error: Error using * Inner
matrix dimensions must agree.
YES NO
YES NO
PEE 1 Page 10/15 points____________
____________________________________________________________________
6. [0,5 points] As Simulink operates blocks are sorted according to the entry order
(hierarchy of subsystem is respected).
YES NO
7. [0,5 points] As Simulink operates the second phase of simulation: derivates are
calculated iteratively, based on the current time, input and states. Calculated
derivates are forwarded to algorithm for integration.
YES NO
A B C D
X= ans= Y= ans=
11 00 100 17 24 1
11 00 010 23 5 7
11 001 4 8 13
A B C D
X= ans= Y= ans=
11 00 100 17 24 1
11 00 010 23 5 7
11 001 4 8 13
10. [1 point] Vector containing the numbers between 5 and 10, with a unit step, can
be formed using commands
a. »x=5:10
b. »x=5:1:10
c. »x=5;10
d. »x=5-10
11. [1 point] It is necessary to draw a graph in first quadrant. The command that
will do this is:
a. »subplot(32 1),
b. »subplot(22 3),
c. »subplot(23 1),
d. »subplot(22 1),
PEE 1 Page 11/15 points____________
____________________________________________________________________
12. [1 point] Explain what you want to do if you write following commands in Flux
13. [1 point] Explain what you want to do if you write following commands in Flux
14. [1 point] Explain what you want to do if you write following commands in Flux
Using Simulink, it is necessary to find the system response to unit step function.
PEE 1 Page 12/15 points____________
____________________________________________________________________
17. [1,5 points] y=x za -1 xl y=x· eX za 0 xl which of the following
commands allow the drawing of these functions:
8x1-3x3+5x4=2
x2+7x4=3
4x1+12x2-2x3+2x4=-5
2x1-3x2+4x3=5
Create one row matrix A with 10 elements, between 0 and 4 (function linspace)
Create one row matrix B with elements 1...10
Create a vector C whose elements are values of the function f (x, y) = 2x-3y, if the
variable x takes the data from the vector A and the variable y data from the vector
B.
21. [0,5 points] Using Matlab it is possible to make extension of modular type.
Additional modules are called toolboxes.
YES NO
22. [0,5 points] Option M - file is used to open a new window for forming M - file.
YES NO
23. [0,5 points] Typing an expression: "A = [l -23; 5 -7 7; 4 -4 2] and pressing the
Enter key results in:
A=
1 -2 3
5 -7 7
4 -4 2
YES NO
24. [0,5 points] Define the matrix X and a scalar Y as follows: 'X = [-l 2 4, 2 -3 1; -4
-5 -6],' y = 5. After typing the command: "Z = Y * X the result will be: X = [-5 10
20, 10 -15 5, -20 -25 -30]
YES NO
25. [0,5 points] The Simulink blocks have parameters that are set to a desired values.
Block parameters can be changed during the simulation
.
YES NO
26. [0,5 points] As Simulink operates all block parameters are being calculated in
MATLAB and replaced with number values.
YES NO
27. [0,5 points] As Simulink operates the first phase of simulation: all outputs of
blocks are computed based on random values.
YES NO
PEE 1 Page 14/15 points____________
____________________________________________________________________
28. [1 point] Entering a matrix: "X = ones (3.2), results in:
A B C D
X= ans= Y= ans=
11 00 100 17 24 1
11 00 010 23 5 7
11 001 4 8 13
A B C D
X= ans= Y= ans=
11 00 100 17 24 1
11 00 010 23 5 7
11 001 4 8 13
31. [1 point] The screen is divided into four parts. It is necessary to draw a graph in
third quadrant. The command that will do this is:
a. »subplot(32 1),
b. »subplot(22 3),
c. »subplot(23 1),
32. [1 point] Explain what you want to do if you write following commands in
COMSOL
33. [1 point] Explain what you want to do if you write following commands in
COMSOL
PEE 1 Page 15/15 points____________
____________________________________________________________________
34. [1 point] Explain what you want to do if you write following commands in
COMSOL
.
35. [1 point] Whad does the following figure present:
Using Simulink, it is necessary to find the system response to unit step function.
37. [1,5 points] Entering the matrix with complex elements: X=[-1+5*i 2-6*i;
3+7*i. 4+8*i] can be performed as follows:
39. [2 points] Find roots of polynomial (command roots ()), draw a polynomial
(command plot ()) on a given interval f(x)=2x2-4x-5,
f(4+4i), [0,5]
Create A Single column matrix with elements -10, -8, -6, ..., 6, 8, 10
Create a vector B whose elements are cosines of equivalent elements of vector A
Create a vector C whose elements are multipliers of equivalent elements of
vectors A and B