Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hi I need all solutions in matlab as I put instructions in slide 1 please follow that. 2. Print screen your script/answer from editor/command window
Hi I need all solutions in matlab as I put instructions in slide 1 please follow that.
2. Print screen your script/answer from editor/command window by using snipping tool. 3. Save all the answers in ONE PDF file. 4. Name the submission file with your student ID, name and assignment number. Example: "100123456_Ahmad_A1" 5. You are required to solve the questions using the commands/methods which have been taught in the class. 6. This individual assignment consists of three questions. Solve all the questions. An electrical resistor with current (i) flow through it is having voltage (v) as given by the Ohm's law, i = v/R, and power dissipated in the resistor is given as P = v?/R, where is the resistance. By using the data in Table Q1, create a pseudocode using MATLAB to compute (a) The current in each resistor, and (b) The power dissipated in each resistor. Table Q1 Resistors 1 2 3 5 6 7 (V) 1.6 x 103 5.3 x 103 8.4 x 103 2.4 x 104 7.6 x 1043.2 x 10 6.8 x 105 R (9) 154 231 365 454 593 612 779 (5 marks) The height, h of a stone at time, t which thrown vertically with a speed, v is related by 1 h = vt - gt? Create (a) a user-define function that computes the height reached by the stone at specified time given. Given that g is a constant, 9.81 m/s2, test the script at t= 3 s and v = 16 m/s. (b) a graph of height versus time to show the projectile profile of the stone in the first 15 S. Develop a script that enable the user to input the angle and display the quadrant containing the angle according to Figure Q3. Display an error message if the angle input by the user is less than zero and request the user to re-enter a valid angle. Test your script at user inputs of -45, 45, 1359, 225, and 3150 Quadrant 2 90Step 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