Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need an octave program for this please. I need an octave program for this please. I need an octave program for this please. I

I need an octave program for this please.

I need an octave program for this please.

I need an octave program for this please.

I need an octave program for this please.

I need an octave program for this please.

image text in transcribed

Question 1 Create a SINE wave in Octave that has 200 vector elements on its X axis. Create a COSINE wave with 200 Vector elements on its X axis. Show both the SINE wave and COSINE Wave on the same plot. The Plot should have a title and label on both the X and Y axes. Question 2 Write a small program in Octave which asks the user to give 5 numbers between 0 and 100 and prints the AVERAGE/MEAN of those numbers. You must use a for loop and the commands: input() and printf() or disp(). Question 3 Consider the marks of 8 students in Project scenario: 10, 6.7, 13.7, 12, 11, 10.7, 9, 11.2. The AVERAGE marks of the class is 10.54. Write a small program in Octave that sets a variable MEAN to 10.54 then asks the user to input the students' marks, and then prints the VARIANCE of the numbers. You must use a for loop and the commands: input() and printf() or disp()

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

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

3rd Edition

0128012757, 978-0128012758

More Books

Students also viewed these Databases questions

Question

- 5/9 / (- 5/6)

Answered: 1 week ago

Question

Modeling Communication

Answered: 1 week ago