Question

enes 240 1.doc Compatibility Made -Saved to this PC ict O Search View Help Mailings Review References Layout Problem 1 A simp
0 0
Add a comment Improve this question Transcribed image text
Answer #1

MATLAB code is given below in bold letters.

clc;
close all;
clear all;

% define the time vector
t = 0:0.01:0.8;


% define the parameters
R = 50;
L = 5;
C = 1e-4;

q0 = 1; % initial chage

% define the charge
q = q0 * exp(-R*t/(2*L)).*cos(sqrt(1/(L*C)-(R/(2*L))^2)*t);


% now plot the charge as a function of time
figure;
plot(t,q,'linewidth',2);grid on;
xlabel('time');ylabel('C');title('charge');
hold on;

% compute with C = 10^-3
C = 10^-3;
q = q0 * exp(-R*t/(2*L)).*cos(sqrt(1/(L*C)-(R/(2*L))^2)*t);

% now plot the charge as a function of time on the same figure
plot(t,q,'--r','linewidth',2);grid on;
xlabel('time');ylabel('C');
legend('C = 10^-^4','C = 10^-^3');

charge C 104 0.8 C 10-3 0.6 0.4 0.2 0 -0.2 -0.4 -0.6 -0.8 0 0.1 0.2 0.3 0.4 0.5 0.6 07 0.8 time - -

Add a comment
Know the answer?
Add Answer to:
enes 240 1.doc Compatibility Made -Saved to this PC ict O Search View Help Mailings Review References Layout Proble...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • P Search Homework 1 W20 - Saved to this PC Help Mailings Review View Layout References...

    P Search Homework 1 W20 - Saved to this PC Help Mailings Review View Layout References 5. For each graph below present a reasonable, specific explanation for the change depicted. (2 points each) P cup of coffee Q pens D Q coffee noodles (cups) A: B. EXTRA CREDIT What are two differences between Neoclassical cconomics and th

  • Engineering Analysis Homework #1 Problem #1 RLC Circuit: A simple electric circuit consisting of a resistor,...

    Engineering Analysis Homework #1 Problem #1 RLC Circuit: A simple electric circuit consisting of a resistor, a capacitor, and an inductor is depicted. Switch Battery L = Capacitor Inductor Resistor The charge on the capacitor g(t) can be computed as a function of time and initial charge 4. q(t) = 4, cos () Where the decay rate B - 4 and frequency .= VE-(4) depend on the resistance R, the inductance L, and the capacitance C. Plot this function from...

  • RLC circuit in series A resistor R is connected in series to an inductor L and...

    RLC circuit in series A resistor R is connected in series to an inductor L and a capacitor C, without any external emf sources. (a) Using the fact that the energy stored in both the capacitor and the inductor is being dissipated in the resistor, show that the charge on the capacitor q(t) satisfies the differential equation d^2 q/ dt^2 + Rdq/Ldt + q/LC = 0. This is the equation of a damped oscillator and it has a solution of...

  • Reproductive%20System % 20Worksheet Compatibility Mode Saved to this PC Mailings Review View Help rences O Search...

    Reproductive%20System % 20Worksheet Compatibility Mode Saved to this PC Mailings Review View Help rences O Search Acrobat A T AaBbCcl AaBbCel AaBbC AaBbCcE AaB TI Normal T No Spac... Heading 1 Heading 2 Title Paragraph Styles t) Genitals implantation g) Implantation 5. A cell from a woman's body that can start a pregnancy (sometimes called an "egg cell") h) Intercourse 6 A cell from a man's body that can start a 1 Menstruation pregnancy ) Noctumal 7 An operation to...

  • esign Layout References Mailings grana0016698 - Saved to this PC Review View Help Search - A...

    esign Layout References Mailings grana0016698 - Saved to this PC Review View Help Search - A A Aa A X A ..A 21 . - AaBb Aabbel Aabend Aa Bbcc AaB. Heading: Heading 2 T Normal Subtitle Title Paragraph Styles TABLE A 2019 Combined Federal and Quebec Personal Income Tax Brackets and Tax Rates 2019 Taxable income 2019 Tax Rates 2019 Taxable income 2019 Tax Rates first $43,790 27.53% 45.71% over $43,790 up to 547,630 over $47,630 up to $87,575...

  • Diels-Alder Post-lab (1) - Compatibility Mode Layout References Mailings Review View Help Search Please write the...

    Diels-Alder Post-lab (1) - Compatibility Mode Layout References Mailings Review View Help Search Please write the answers to the following questions directly in your notebook. 1. Discussion of the Diels-Alder reaction performed, including the calculated percent yield and comments on purity based on the product literature melting point. 2.79 g hand), then invert back d clamp), but don't turn spatula so as to make m flask (Rb Fk) such as as Beaver imducand ainwand empr: 29.95 c anhydride (cis- (1st,...

  • Reproductive%205ystem % 20Worksheet Compatibility Mode -Saved to this PC p Search Help Acrobat Mailings Review View...

    Reproductive%205ystem % 20Worksheet Compatibility Mode -Saved to this PC p Search Help Acrobat Mailings Review View References ut Аав Aa AaBbCcl AaBbCcI AaBbC AaBbCcD Heading 2 Title 1 Normal Heading 1 T No Spac... D-A Styles Paragraph Reproductive System Worksheet DIRECTIONS: Put the letter of each word next to the correct definition of the word. The penis or clitoris filling with blood a) Circumcision and getting harder and larger b) Conception 2. The outside parts of the male's or female's...

  • 2020-HW02-Ch04 - Protected View - Saved to this PC- References Mailings Review View Help Search t...

    2020-HW02-Ch04 - Protected View - Saved to this PC- References Mailings Review View Help Search t can contain viruses. Unless you need to edit, it's safer to stay in Protected View. Enable Editing Homework Assignment 2 1. (3095) Use the Master Theorem to determine the order of growth for solutions of the following recurrences: a) T(n) -47 (n/2) + n. 7' (1) = 1 b) T(n) = 4T (12) + nº,T(1) = 1 c) T(n) - 4T (n/2) + nº....

  • Statistics Exam 2 (1) Compatibility Mode gn Layout References Mailings Review View Help Tell me what...

    Statistics Exam 2 (1) Compatibility Mode gn Layout References Mailings Review View Help Tell me what you want to do AA Aa- Title x2x' A. e. || --를 :-, 2-B- 1Normal 1NoSpac Heading 1 Heading 2 Paragraph Styles Font a. rejecting a false null hypothesis rejecting a true null hypothesis C. failing to reject a false descriptive hypothesis d. failing to reject a true descriptive hypothesis 8. AType li error means that a researcher has falsely concluded that a treatment...

  • CWS - Saved to this PC ut References Mailings Review View Help Search Subtitle Subtle im...

    CWS - Saved to this PC ut References Mailings Review View Help Search Subtitle Subtle im 14 - A A A A E... лоньсаа лавьсаба Лавьс. Аавьсас Аав тавьсер Лавьссон APA E 1 Nomad No Spec. Heading 1 Heading 2 Paragraph Phyla Porifera, Cnidaria & Platyhemlinthes Reproductive Structures Other Structures / Adaptations Tom Phylum Porifera Phylum Cnidaria Class Cubozoa Class Hydrozoa Class Scyphozoa Class Anthozoa Phylum Disholmantha o II c 1 - C ASUS VivoBook DIE home 5 6 7...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT