107HW1

# 107HW1 - PROBLEM 1 EDU> q0=10 EDU> R=50 EDU> L=5 EDU>...

This preview shows pages 1–3. Sign up to view the full content.

PROBLEM 1 EDU>> q0=10; EDU>> R=50; EDU>> L=5; EDU>> C=1e-4; EDU>> t=linspace(0,.5); q=q0*exp(-R*t/(2*L)).*cos(sqrt(1/(L*C)-(R/(2*L))^2)*t) q = Columns 1 through 9 10.0000 9.5061 8.5655 7.2470 5.6345 3.8222 1.9098 -0.0029 -1.8213 Columns 10 through 18 -3.4600 -4.8465 -5.9247 -6.6563 -7.0221 -7.0220 -6.6741 -6.0127 -5.0860 Columns 19 through 27 -3.9531 -2.6801 -1.3370 0.0062 1.2829 2.4331 3.4062 4.1626 4.6756 Columns 28 through 36 4.9317 4.9309 4.6858 4.2207 3.5694 2.7734 1.8792 0.9359 -0.0072 Columns 37 through 45 -0.9036 -1.7110 -2.3939 -2.9246 -3.2843 -3.4636 -3.4625 -3.2899 -2.9628 Columns 46 through 54 -2.5051 -1.9458 -1.3177 -0.6552 0.0071 0.6364 1.2032 1.6825 2.0548 Columns 55 through 63 2.3070 2.4325 2.4313 2.3098 2.0798 1.7581 1.3651 0.9239 0.4587 Columns 64 through 72 -0.0064 -0.4482 -0.8461 -1.1825 -1.4437 -1.6205 -1.7084 -1.7073 -1.6217 Columns 73 through 81

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
-1.4599 -1.2338 -0.9577 -0.6478 -0.3211 0.0055 0.3157 0.5950 0.8311 Columns 82 through 90 1.0143 1.1383 1.1998 1.1989 1.1385
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 4

107HW1 - PROBLEM 1 EDU> q0=10 EDU> R=50 EDU> L=5 EDU>...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online