Homework 1 Solution

Homework 1 Solution - Lecture 1 MEEN 357 Homework Solution...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Lecture 1 MEEN 357 Homework Solution 1 Lecture-01-Homework-Solution-2009.doc RMB Solve the Following Problems in the Command Window 1. What command would you enter into the Command Window in order to evaluate the quantity? What is the value you calculated? () 7 2 3.1 451 3.4 7 ln(35) 5 ++ + (1.1) Solution : Type and execute y=(3.4+7)^3.1+451^(7/2)/5+log(35) which yields the output y = 3.8963e+008 2. You are given the function ( ) 3 33 sin x y xe x =+ + (1.2) Use the array features of MATLAB and list the commands you would use to calculate the values of y for [ 2.5, 2, 1.5, 1, 0.5,0,0.5,1,1.5,2,2.5,3] x =− − − (1.3) What are the values? Solution : Type and execute x=[-2.5:.5:3] y=(x.^3+exp(x)).^3+sin(x.^3) which yields the output x = Columns 1 through 5 -2.5000 -2.0000 -1.5000 -1.0000 - 0.5000 Columns 6 through 10 0 0.5000 1.0000 1.5000 2.0000
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Lecture 1 MEEN 357 Homework Solution 2 Lecture-01-Homework-Solution-2009.doc RMB Columns 11 through 12 2.5000 3.0000 y = 1.0e+005 * Columns 1 through 5 -0.0375 -0.0049 -0.0003 -0.0000 - 0.0000 Columns 6 through 10 0.0000 0.0001 0.0005 0.0048 0.0365 Columns 11 through 12 0.2150 1.0439 3. Problem 2.1 of the textbook.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

Homework 1 Solution - Lecture 1 MEEN 357 Homework Solution...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online