Thinking Like an Engineer
Thinking Like an Engineer
4th Edition
ISBN: 9781269910989
Author: Elizabeth A. Stephan, David R. Bowman, William J. Park, Benjamin L. Sill, Matthew W. Ohland
Publisher: Pearson Learning Solutions
Question
Book Icon
Chapter 20, Problem 10RQ

(a)

To determine

Develop a MATLAB program to prompt the user to enter a magic square in a single input.

(b)

To determine

Develop a MATLAB program to check the entered values are positive or not by using for loop.

(c)

To determine

Develop a MATLAB program to check an arrangement of N×N matrix.

(d)

To determine

Develop a MATLAB program to check whether entered matrix is a magic matrix or not.

(e)

To determine

Develop a MATLAB program for the given conditions.

Blurred answer
Students have asked these similar questions
find the laplace transform for the flowing function 2(1-e) Ans. F(s)=- S 12) k 0 Ans. F(s)= k s(1+e) 0 a 2a 3a 4a 13) 2+ Ans. F(s)= 1 s(1+e") 3 14) f(t)=1, 0
Find the solution of the following Differential Equations Using Laplace Transforms 1) 4y+2y=0. y(0)=2. y'(0)=0. 2) y+w²y=0, (0)=A, y'(0)=B. 3) +2y-8y 0. y(0)=1. y'(0)-8. 4)-2-3y=0, y(0)=1. y'(0)=7. 5) y-ky'=0, y(0)=2, y'(0)=k. 6) y+ky'-2k²y=0, y(0)=2, y'(0) = 2k. 7) '+4y=0, y(0)=2.8 8) y+y=17 sin(21), y(0)=-1. 9) y-y-6y=0, y(0)=6, y'(0)=13. 10) y=0. y(0)=4, y' (0)=0. 11) -4y+4y-0, y(0)=2.1. y'(0)=3.9 12) y+2y'+2y=0, y(0)=1, y'(0)=-3. 13) +7y+12y=21e". y(0)=3.5. y'(0)=-10. 14) "+9y=10e". y(0)=0, y'(0)=0. 15) +3y+2.25y=91' +64. y(0)=1. y'(0) = 31.5 16) -6y+5y-29 cos(2t). y(0)=3.2, y'(0)=6.2 17) y+2y+2y=0, y(0)=0. y'(0)=1. 18) y+2y+17y=0, y(0)=0. y'(0)=12. 19) y"-4y+5y=0, y(0)=1, y'(0)=2. 20) 9y-6y+y=0, (0)-3, y'(0)=1. 21) -2y+10y=0, y(0)=3, y'(0)=3. 22) 4y-4y+37y=0, y(0)=3. y'(0)=1.5 23) 4y-8y+5y=0, y(0)=0, y'(0)=1. 24) ++1.25y-0, y(0)=1, y'(0)=-0.5 25) y 2 cos(r). y(0)=2. y'(0) = 0. 26) -4y+3y-0, y(0)=3, y(0) 7. 27) y+2y+y=e y(0)=0. y'(0)=0. 28) y+2y-3y=10sinh(27), y(0)=0. y'(0)=4. 29)…
Auto Controls   A union feedback control system has the following open loop transfer function where k>0 is a variable proportional gain   i. for K = 1 , derive the exact magnitude and phase expressions of G(jw).   ii) for K = 1 , identify the gaincross-over frequency (Wgc) [where IG(jo))| 1] and phase cross-overfrequency [where <G(jw) = - 180]. You can use MATLAB command "margin" to obtain there quantities.  iii) Calculate gain margin (in dB) and phase margin (in degrees) ·State whether the closed-loop is stable for K = 1 and briefly justify your answer based on the margin . (Gain marginPhase margin)   iv. what happens to the gain margin and Phase margin when you increase the value of K?you  You can use for loop in MATLAB to check that.Helpful matlab commands : if, bode, margin, rlocus   NO COPIED SOLUTIONS

Chapter 20 Solutions

Thinking Like an Engineer

Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press
Text book image
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON
Text book image
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education
Text book image
Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY
Text book image
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning
Text book image
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY