Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Need help solving this in MATLAB Questions Question 1 (5 points) The equivalent resistance, Req, of four resistors, R1, R2, R3, and R, that are
Need help solving this in MATLAB
Questions Question 1 (5 points) The equivalent resistance, Req, of four resistors, R1, R2, R3, and R, that are connected in parallel is given by: 4 R1 R2 R3 R4 Calculate Re if R1250, R2 1502, R3 1752, and R4 502 Include your m code here: Include a screen capture of your command window's output here Resources used to solve this problem: Question 2 (5 points) The voltage Vc t seconds after closing the switch in the circuit shown is Given Vo-36 V, R-2000Q, and C-2400F, calculate the current 8 seconds after the switch is closed. Be careful about your inputs - make sure you are converting from the metricw system to a decimal number - you may have to look up what the micro in front of the F means!] Include your .m code here Include a screen capture of your command window's output here Resources used to solve this problem: Question 3 (5 points) Create a vector (call it vctC) that has 12 elements of which the first is 5, the increment is 4, and the last element is 49. Then, by assigning elements of this vector, create the following new vectors. A vector (name it Codd) that contains all the elements with odd index of yctC i.e., Codd-5 13 21. 45. a) b) A vector (name it Ceven) that contains all the elements with even index of vctC; i.e., Ceven In both parts, try to use vectors of odd and even numbers for the index of Codd and Ceven, respectively. Do not type the elements of any vector explicitly. Extra credit opportunity: If you can create Codd and Ceven without explicitly referring to every entry, you will receive a 2 point bonus.] Include your .m code here: Include a screen capture of your command window's output here: Resources used to solve this problem: Question 4 (5 points) Create the following matrix by using vector notation for creating vectors with constant spacing and/or the linspace command. Do not type individual elements explicitly. 130 110 90 70 50 30 10 1 2.8333 4.6667 6.5 8.3333 10.1667 12 62 72 12 22 32 42 52 Include your .m code here Include a screen capture of your command window's output here: Resources used to solve this problem: Question 5 (5 points) Using only the zeros, ones, and eye commands, create the following arrays by typing in one command for each part. a) b) lo o 0 0 1 Include your .m code here Include a screen capture of your command window's output here Resources used to solve this problem: Question 6 (5 points) The radus, r, of a sphere can be calculated from its surface area, s, by:r= Tani . The volume, V, is given by V etermine the volume of spheres with surface area of 50, 100, 150, 200, 250, and 300 ft. Display the results in a two-column table where the values of s and V are displayed in the first and second columns, respectively Include your .m code here Include a screen capture of your command window's output here: Resources used to solve this problem Question 7 (5 points) The voltage, Vc(t) (in V) and the current i(t) (in Amp) t seconds after closing the switch in the circuit shown are given by: Vc(t)- i(0) Vo (1-e-to) and i (t) = Re-to, where ,-RC is the time constant. Consider the case where Vo 24 V, R 38002, and C 4000 10-6F. Determine the voltage and the current during the first 20 seconds after the switch is closed. Create a vector with values of tomes from 0 to 20 s, witha spacing fo 2 s, and use it for calculating Vc(t) and i(t). Display the results in a three-column table where the values of time, voltage, and current are displayed in the first, second, and third columns, respectively. Include your .m code here: Include a screen capture of your command window's output here: Resources used to solve thisStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started