Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write Octave commands for each of the following questions: a) Generate a vector x such that x(n)-15e sin (0.3an) where n-0,1,2,3,4. ...,8. b) Find ALL

image text in transcribed
Write Octave commands for each of the following questions: a) Generate a vector x such that x(n)-15e "sin (0.3an) where n-0,1,2,3,4. ...,8. b) Find ALL the roots of the following quadratic equation. 2x2 + 6x +3 = 0 Hint: the root(s) of a quadratic equation, ax? + bx + c = 0 is/are, -b Vb2 + 4ac 2a =) By using "while" loop, calculate the factorial of n, n!= n(n-1)(n-2).....(1) The value n is your last digit of the student ID number, i.e., (See Table 1 below) Last digit of student ID number n 0 9 1 8 2 7 3 6 4 5 5 9 6 8 7 7 8 6 9 5 Table 1. Conversion table of last digit of student ID and n For example, if your student ID. is xxxxxXX8, then n! = 6! = 6(5)(4)(3)(2)(1) = 720

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Organizing Information Digital And Information Literacy

Authors: Greg Roza

1st Edition

1448805929, 978-1448805921

More Books

Students also viewed these Databases questions

Question

How many Hydrogen Bond donors does this molecule have? 3 2 4 1

Answered: 1 week ago

Question

2. What efforts are countries making to reverse the brain drain?

Answered: 1 week ago