Exp 1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Dept.

of Electrical Engineering
Techniques
Middle Technical
University

Electromagnetic Fields Lab

Third class
Dr. Russul M. Shehab

22.

2022-2023
Middle Technical University/Baghdad, Iraq Electromagnetic Fields lab
Dept. of Electrical Engineering Techniques Third class
Dr. Russul M.Shehab

The result will be:


C=
0 6 8
D=
5 -8 -9
Length =
3.7417
Direction =
-0.1543 0.6172 0.7715

2
Middle Technical University/Baghdad, Iraq Electromagnetic Fields lab
Dept. of Electrical Engineering Techniques Third class
Dr. Russul M.Shehab

The result will be:


C=
22
D=
-2 -8 6
E=
2 8 -6

3
Middle Technical University/Baghdad, Iraq Electromagnetic Fields lab
Dept. of Electrical Engineering Techniques Third class
Dr. Russul M.Shehab

4
Middle Technical University/Baghdad, Iraq Electromagnetic Fields lab
Dept. of Electrical Engineering Techniques Third class
Dr. Russul M.Shehab

5
Middle Technical University/Baghdad, Iraq Electromagnetic Fields lab
Dept. of Electrical Engineering Techniques Third class
Dr. Russul M.Shehab

t=[0:0,1:5]
F1=2*exp(-2*t)

F2=2*exp(-t)
plot(t,F1,'-',t,F2,".")
xlabel('Time')
ylabel('Function')
legend('2exp(-2t) ',' exp(-t)')
grid

Q/ Let y(x)=sin(x), plot this function from -4 to 4.


x=[-4:0.01:4]
y=sin(x);
plot(x,y)

6
Middle Technical University/Baghdad, Iraq Electromagnetic Fields lab
Dept. of Electrical Engineering Techniques Third class
Dr. Russul M.Shehab

x=[-1 2]
y=[2 4]
plot(x,y)
grid

7
Middle Technical University/Baghdad, Iraq Electromagnetic Fields lab
Dept. of Electrical Engineering Techniques Third class
Dr. Russul M.Shehab

Assignment:
1-

2- Let x(t)=cos(t), y(t)=sin(t) plot this functions when t=[0:0.01:2*pi]


3- Let y1(x)=sin(x), y2(x)=sin(2x), y3(x)=sin(4x) plot this functions
when x=[0:0.01:2*pi]

You might also like