Question: 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

 Logic operators can be used to sort through data. Ohmite is

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!