Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Logic operators can be used to sort through data. Ohmite is a company that manufactures and sells 50 resistors with a 10% tolerance. If the

image text in transcribed
Logic operators can be used to sort through data. Ohmite is a company that manufactures and sells 50 resistors with a 10% tolerance. If the value of the resistance is outside of the tolerance the resistor can not be sold. Ohmite manufactures 2,000 resistors a day, but not all the resistors are within the tolerance a) Set the random seed to 27. Hint: Look up "random seed matlab" online or look back at Homework 4 b) Generate a 1 x 2,000 array of random numbers with a max of 175 and a min of 130. Call this matrix R. This array will represent all of the resistors manufactured by Ohmite in a day c) Using the find() function find all of the resistors that are within the tolerance or 10%. Place these resistors in a array called tres. Hint: You will need to use relational and logical operators in the find) function. d) So far Ohmite has manufactured 2,000 resistors and you have calculated how many of them are within specification. Let's say each resistor cost $0.09 to manufacture and are sold for S0.20. How much money does Ohmite profit/lose in a day? Call this variable networth

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

Time Series Databases New Ways To Store And Access Data

Authors: Ted Dunning, Ellen Friedman

1st Edition

1491914726, 978-1491914724

More Books

Students also viewed these Databases questions

Question

design a simple disciplinary and grievance procedure.

Answered: 1 week ago