You are on page 1of 8

CVEN 5300

Advanced Structural Analysis


Homework 1

Mohammad Shahnawaz
L20351249

Part 2
r=10;
alpha=50*pi/180;
x=180;
A=pi*r^2;
v=linspace(0,10,50);
W=A*sin(alpha)*v.^3*(1.21*exp(-x/8000))
plot(v,W,'r-+')
grid on
ylabel('Power Output, W (in watt)');
xlabel('Wind Speed, V (in m/s)');
title('Power Output Vs Wind Speed Graph')

W=

1.0e+05 *

Columns 1 through 10

0 0.0000 0.0002 0.0007 0.0015 0.0030 0.0052 0.0083 0.0124 0.0176

Columns 11 through 20

0.0242 0.0322 0.0418 0.0532 0.0664 0.0817 0.0991 0.1189 0.1411 0.1660

Columns 21 through 30

0.1936 0.2241 0.2577 0.2945 0.3346 0.3781 0.4254 0.4763 0.5313 0.5902

Columns 31 through 40

CVEN 5300

Advanced Structural Analysis


Homework 1

Mohammad Shahnawaz
L20351249

0.6534 0.7210 0.7930 0.8697 0.9512 1.0376 1.1291 1.2258 1.3279 1.4356

Columns 41 through 50

1.5488 1.6679 1.7930 1.9241 2.0615 2.2053 2.3556 2.5126 2.6764 2.8472

CVEN 5300

Advanced Structural Analysis


Homework 1

Mohammad Shahnawaz
L20351249

r=10;
alpha=50*pi/180;
x=6000;
A=pi*r^2;
v=linspace(0,10,50);
W=A*sin(alpha)*v.^3*(1.21*exp(-x/8000))
plot(v,W,'b-+')
grid on
ylabel('Power Output, W (in watt)');
xlabel('Wind Speed, V (in m/s)');
title('Power Output Vs Wind Speed Graph')

W=

1.0e+05 *

Columns 1 through 10

0 0.0000 0.0001 0.0003 0.0007 0.0015 0.0025 0.0040 0.0060 0.0085

Columns 11 through 20

0.0117 0.0156 0.0202 0.0257 0.0321 0.0395 0.0479 0.0574 0.0682 0.0802

Columns 21 through 30

0.0935 0.1083 0.1245 0.1423 0.1616 0.1827 0.2055 0.2301 0.2567 0.2852

Columns 31 through 40

0.3157 0.3483 0.3831 0.4202 0.4595 0.5013 0.5455 0.5922 0.6416 0.6935

CVEN 5300

Advanced Structural Analysis


Homework 1

Mohammad Shahnawaz
L20351249

Columns 41 through 50

0.7483 0.8058 0.8662 0.9296 0.9960 1.0654 1.1380 1.2139 1.2930 1.3755

CVEN 5300

Advanced Structural Analysis


Homework 1

Mohammad Shahnawaz
L20351249

Part 1

p=linspace(-80,120,25)
k=(43:2:115)
g=[k p]
l=length(g)
t=(l+g)

p=

Columns 1 through 10

-80.0000 -71.6667 -63.3333 -55.0000 -46.6667 -38.3333 -30.0000 -21.6667 -13.3333 -5.0000

Columns 11 through 20

3.3333 11.6667 20.0000 28.3333 36.6667 45.0000 53.3333 61.6667 70.0000 78.3333

Columns 21 through 25

86.6667 95.0000 103.3333 111.6667 120.0000

k=

Columns 1 through 18

43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77

CVEN 5300

Advanced Structural Analysis


Homework 1

Mohammad Shahnawaz
L20351249

Columns 19 through 36

79 81 83 85 87 89 91 93 95 97 99 101 103 105 107 109 111 113

Column 37

115

g=

Columns 1 through 10

43.0000 45.0000 47.0000 49.0000 51.0000 53.0000 55.0000 57.0000 59.0000 61.0000

Columns 11 through 20

63.0000 65.0000 67.0000 69.0000 71.0000 73.0000 75.0000 77.0000 79.0000 81.0000

Columns 21 through 30

83.0000 85.0000 87.0000 89.0000 91.0000 93.0000 95.0000 97.0000 99.0000 101.0000

Columns 31 through 40

CVEN 5300

Advanced Structural Analysis


Homework 1

Mohammad Shahnawaz
L20351249

103.0000 105.0000 107.0000 109.0000 111.0000 113.0000 115.0000 -80.0000 -71.6667 -63.3333

Columns 41 through 50

-55.0000 -46.6667 -38.3333 -30.0000 -21.6667 -13.3333 -5.0000 3.3333 11.6667 20.0000

Columns 51 through 60

28.3333 36.6667 45.0000 53.3333 61.6667 70.0000 78.3333 86.6667 95.0000 103.3333

Columns 61 through 62

111.6667 120.0000

l=

62

t=

Columns 1 through 10

CVEN 5300

Advanced Structural Analysis


Homework 1

Mohammad Shahnawaz
L20351249

105.0000 107.0000 109.0000 111.0000 113.0000 115.0000 117.0000 119.0000 121.0000 123.0000

Columns 11 through 20

125.0000 127.0000 129.0000 131.0000 133.0000 135.0000 137.0000 139.0000 141.0000 143.0000

Columns 21 through 30

145.0000 147.0000 149.0000 151.0000 153.0000 155.0000 157.0000 159.0000 161.0000 163.0000

Columns 31 through 40

165.0000 167.0000 169.0000 171.0000 173.0000 175.0000 177.0000 -18.0000 -9.6667 -1.3333

Columns 41 through 50

7.0000 15.3333 23.6667 32.0000 40.3333 48.6667 57.0000 65.3333 73.6667 82.0000

Columns 51 through 60

90.3333 98.6667 107.0000 115.3333 123.6667 132.0000 140.3333 148.6667 157.0000 165.3333

Columns 61 through 62

173.6667 182.0000

You might also like