# ENGINEERING PROBLEM SOLVING WITH MATLAB PDF

One of the strengths of Matlab is that its commands match very closely to the steps that are used to solve engineering problems; thus the process of determining. PDF generated: February 4, . 2Freshman Engineering Problem Solving with MATLAB. Problem Solving in Engineering and Science 5. 2 • MATLAB® ENVIRONMENT. 9. Getting Started 9. MATLAB® Windows Solving Problems. Author: REBEKAH KINCAID Language: English, Indonesian, Japanese Country: Cyprus Genre: Technology Pages: 174 Published (Last): 30.05.2016 ISBN: 565-6-32486-464-2 ePub File Size: 19.72 MB PDF File Size: 14.57 MB Distribution: Free* [*Registration needed] Downloads: 27124 Uploaded by: ELIDIA ECE ECE Problem Solving I Mathematical computation; MATLAB, MathCAD, Mathe- matica Chapter 1: An Engineering Problem Solving Methodology. Using MATLAB to Solve Engineering Problems for Undergraduates. ABSTRACT. The purpose of this paper is to present the experience to teach sophomore and. Get this from a library! Engineering problem solving with MATLAB. [D M Etter].

For this exercise you should load the data and plot the altitude as a function of time. The following sequence of commands will load the data, create a vector t of time values, create a vector s of altitude values, and plot the altitude as a function of time. Exercise 17 Write a script that uses a for loop to compute velocity and acceleration from the altitude data using forward dierences. Your script should also plot the computed velocity and acceleration as function of time.

Exercise 18 Modify your script from Exercise 17 to compute velocity and acceleration using backward dierences. Remember to save your modied script with a dierent name than your script from Exercise Exercise 19 Modify your script from Exercise 17 to compute velocity and acceleration using central dierences. Remember to save your modied script with a dierent name than your script from Exercises 17 and Compare the velocity and acceleration values computed by the forward, backward, and central dierence approaches.

What can you say about their accuracy? Exercise 20 Modify your script from Exercise 17 to compute velocity and acceleration without using a for loop. Download the acceleration data set in the le Acceleration. The rst column is time in seconds, and the second column is acceleration in gs. The following commands load the data and plot the acceleration as a function of time.

Exercise 21 Write a script that uses a for loop to compute velocity and altitude from the acceleration data using the trapezoidal rule.

Your script should also plot the computed velocity and altitude as function of time. Exercise 22 Modify your script from Exercise 21 to compute velocity and altitude without using a for loop.

The acelleration a of the projectile in units of s2 is a function of the current c through the projectile in units of kAmp. Exercise 23 Download the data set of current values in the le Current.

The le is formatted as two columns: the rst column is time in miliseconds, and the second column is current in kA. The following sequence of commands will load the data, create a vector t of time values, create a vector c of current values, and plot the current as a function of time.

Note that velocity is the integral of acceleration. Starfeld, Karl A. Smith, and Andrew L. Alexander E. Zielinski, Paul Weinacht. Eect of railgun electrodynamics on projectile launch dynamics.

## Victor Eric

Hello World will be printed once for each element in the vector 51 times. Solution to Exercise 2 The code creates a vector of integers starting at 1 and going backward to 50; this vector has 50 elements.

Guten Tag Welt will be printed once for each element in the vector 50 times. Bonjour Monde would be printed once for each element in the vector, but since the vector is empty, it is never printed.

Solution to Exercise 4 The outer loop the loop with a will be executed ve times. Each time the outer loop is executed, the inner loop the loop with b will be executed eleven times, since Hola Mundo will be printed 55 times.

Solution to Exercise 5 In the rst line, the value of n is set to The code 1:n creates a vector of integers from 1 to Each iteration through the loop sets j to the next element of this vector, so j will be sent to each value 1 through 10 in succession, and this sequence of values will be printed.

Note that each time through the loop, the value of n is decreased by 1; the nal value of n will be 0. Even though the value of n is changed in the loop, the number of iterations through the loop is not aected, because the vector of integers is computed once before the loop is executed and does not depend on subsequent values of n. Solution to Exercise 6 The d loop will be executed seven times. In each iteration of the d loop, the h loop will be executed 24 times. In each iteration of the h loop, the m loop will be executed 60 times. In each iteration of the m loop, the s loop will be executed 60 times.

The following code changes the line style of each of the cosine plots. Note that this plot follows appropriate engineering graphics conventions-axes are labeled, there is a title, and there is a legend to identify each plot. Solution to Exercise 10 This solution was created by Heidi Zipperian: 41 www. Note that it uses the command hold on to plot each point individually in the for loop. This dierent solution is by Christopher Embrey.

It uses the index variable j to step through the dv array to compute elements of the nlv array; the complete nlv array is computed, and then plotted outside the for loop.

## An Introduction to Solving Engineering Problems with Matlab

And Finally, this solution by Travis Venson uses vector computations to perform the computation without a for loop. The height, h, ranges from 12 to 15 and the base, b, ranges from 8 to Solution to Exercise This solution by Bryson Hinton: load altitude. Solution to Exercise This code computes the velocity using the central dierence formula. Solution to Exercise This code uses the diff function to compute the dierence between adjacent elements of t and s,and the.

The values in this plot are the same as in Figure The velocity is computed by numerically integrating the measured acceleration. This code can be easily extended to also compute altitude while it is computing velocity: load Acceleration.

Solution to Exercise This solution by Nicholas Gruman uses the cumtrapz function to compute velocity with the trapezoidal rule: load Acceleration.

The if statement has several dierent forms. Information about logical expressions is available in the Logical Expressions section of this chapter. A logical expression is one that evaluates to either true or false.

In m-le scripts, logical values true and false are actually represented by numerical values. The numerical value of zero represents false, and any nonzero numerical value represents true. Logical expressions are typically formed using the relational operators in Table 1. Table 7. HathiTrust Digital Library, Limited view search only. Please choose whether or not you want other users to be able to see on your profile that this library is a favorite of yours. Finding libraries that hold this item You may have already requested this item. Please select Ok if you would like to proceed with this request anyway. WorldCat is the world's largest library catalog, helping you find library materials online.

Don't have an account? Your Web browser is not enabled for JavaScript. Some features of WorldCat will not be available. Create lists, bibliographies and reviews: Search WorldCat Find items in libraries near you. Advanced Search Find a Library. Your list has reached the maximum number of items. Please create a new list with a new name; move some items to a new or existing list; or delete some items.

Your request to send this item has been completed. APA 6th ed. Citations are based on reference standards.

However, formatting rules can vary widely between applications and fields of interest or study. The specific requirements or preferences of your reviewing publisher, classroom teacher, institution or organization should be applied.

The E-mail Address es field is required. Please enter recipient e-mail address es. The E-mail Address es you entered is are not in a valid format.

## Engineering problem solving with matlab

Please re-enter recipient e-mail address es. You may send this item to up to five recipients. The name field is required. Please enter your name. The E-mail message field is required. Please enter the message. Please verify that you are not a robot. Would you also like to submit a review for this item?

You already recently rated this item.

## Learning MATLAB

Your rating has been recorded. Write a review Rate this item: Preview this item Preview this item. D M Etter Publisher: Upper Saddle River, N. Allow this favorite library to be seen by others Keep this favorite library private.

Find a copy in the library Finding libraries that hold this itemThe velocity is computed by numerically integrating the measured acceleration. Robot Motion Illustrated in Figure 9. Even though the value of n is changed in the loop, the number of iterations through the loop is not aected, because the vector of integers is computed once before the loop is executed and does not depend on subsequent values of n. To access elements 8, 2, 9, and 1 of y in order: In this section, we introduce the use of Matlab to perform symbolic processing to manipulate mathematical expressions, in much the way that we do with pencil and paper.

For degree one linear or two quadratic , the roots are easily determined. Implement the computational method.