Save Time & improve Grades
- Questions Asked
- Experts
- Total Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!
Math Homework Help ENGR 112 HOMEWORK ASSIGNMENT #6 1. Evaluate the following SCILAB expressions yourself (Don’t use SCILAB to help! This is working on the concept of precedence). You can do this all in SCILAB, but for this problem use comments '//' to prevent execution. When you have completed the assignment, copy and paste your work into a office document and upload that to MOODLE. a) 2 / 2 * 3 b) 2 / 3 ^ 2 c) (2 / 3) ^ 2 d) 2 + 3 * 4 - 4 e) 2 ^ 2 * 3 / 4 + 3 f) 2 ^ (2 * 3) / (4 + 3) g) 2 * 3 + 4 h) 2 ^ 3 ^ 2 2. Use SCILAB to evaluate the following expressions. a) the square root of 2 b) 3 + 4 divided by 5 + 6 c) the sum of 5 and 3 divided by their product d) the square of 2*pi e) 2*pi2 f) 1 divided by the square root of 2 times pi g) the cube root of the product of 2.3 and 4.5 h) (0.0000123 + 5.678 x 10-3) x 0.4567 x 10-4; use scientific notation 3. Suppose ‘a’ and ‘b’ are defined as follows: a = [2 -1 5 0]; b = [3 2 -1 4]; Evaluate by hand the vector ‘c’ in the following statements. Check your answers with SCILAB. a) c = a - b; b) c = b + a - 3; c) c = 2 * a + a .^ b; d) c = b ./ a; e) c = b . a; f) c = a .^ b; g) c = 2 * b / 3 .* a; h) c = b * 2 .* a; 4. Water freezes at 32o and boils at 212o on the Fahrenheit scale. If C and F are Celsius and Fahrenheit temperatures, the formula F = 9 C / 5 + 32 converts from Celsius to Fahrenheit. Use the SCILAB command line to make two arrays, F and C, then use the arrays convert the temperature of 37o to Fahrenheit. 5. Draw graphs of x2, x3, x4 and e(x)^2 over the interval 0 ≤ x ≤ 4, using semilogy.
Ask a question
Experts are online
Answers
Login/SignUp to view answers