Question: Write and compile a MATLAB . m file that satisfies the following requirements The current in a series RLC circuit is given by: I =

Write and compile a MATLAB .m file that satisfies the following requirements
The current in a series RLC circuit is given by:
I=VR2+(L+1C)
where =2f. Calculate the current I for the circuit shown if the supply voltage V=80volts, f=50Hz,L=40010-3H,R=6, and C=4010-6F.
2. The acceleration of a spring is described by
a=-A2cos(t).
Find the acceleration for t=2 seconds, A=4, and =0.6.
3. Find the roots of the polynomial
f(x)=x5+2x2+1
by following the steps below
a. First create a row vector with the coefficients and store in a variable called myPoly.
b. Use the roots) function with myPoly as an argument to calculate the roots.
c. Store the roots in the variable called myRoots.
4. Define an array of 3 complex numbers and store them in a row vector variable called z by following below steps
a. Create one array called x with three elements -5,0 and 9.
b. Create one array called y with three elements 4,6 and .
c. Use the complex function to define the array of complex numbers.
5. The OR operator has two logical expressions as operands. The result of an OR operation is true if one of the operands is true; it is false if both operands are false.
a. Assign the expression )(-4 to a variable called x.
b. Assign the expression 'D'=?'N' to a variable called y.
c. Check if x OR y is true using an appropriate MATLAB expression.
6. Follow the steps below to create a triangular waveform similar to the one shown below with amplitude A and fundamental frequency
 Write and compile a MATLAB .m file that satisfies the following

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!