Review the definition of prime numbers

Assignment Help Electrical Engineering
Reference no: EM13870302

Objectives

  • Research/review the concept of Prime Numbers
  • Execute a small MATLAB program.
  • Document your results

Prime Numbers

Use internet resources to review the definition of prime numbers. Write a mathematical formula for calculating a prime. Do not use the class PowerPoint charts as a source --- use external (web-based) information, citing your source(s).

Getting Started With MATLAB

At the MATLAB menu, enter File à New script, to type the commands below. Enter File à Save As to save this program. Give it a name like "checkprime" as illustated below. Make sure to file it in a directory in which you can find it later!

 

Execute the program, correcting any typos as necessary.

Take the time to learn to learn how the MATLAB code above actually works.

Use comments in your to illustrate your new-found knowledge. All text after the percent (%) sign on the same line is taken as comment --- MATLAB simply ignores anything to the right of this sign.

In addition, enter at least 5 numbers to check if they are prime, and document your results by copy-pasting your results into your Project Report (Word document).

Project Report

The final step of this assignment is to create a Project Report (Word document) in the format discussed in the CS122L Lab Submission Guidelines.

The Project Report should contain the following information:

Purpose
Describe the purpose of your program.

Approach
Describe your approach to completing this project.

Methods

Mathematical processes followed.

Implementation

Results and "m" file(s) of your code.

Conclusions

Describe any significant problems or challenges you encountered and how you solved them.

Submit your results (Project Report and ".m" file) in the correct place.

Reference no: EM13870302

Questions Cloud

Discussing how programmable thermostats work : 1. Two students are discussing how programmable thermostats work. Student A says that a piece of material within the thermostat changes length depending on moisture content of the air and that temperature is related to this change in moisture.
What is the equation in standard form : Q) What is the equation in standard form of the line which passes through (1, -3) and has a slope of 2?
Explain configurations and characteristics of distribution : Explain the Configurations and Characteristics Of Distribution Substations with Figures showing small, medium, and large substations .
Find as many cournot equilibria as you can for the model : Find as many Cournot equilibria as you can for this model, as a function of the parameters N and B . (WARNING: Do not assume that solutions of first-order conditions are necessarily global maxima.)
Review the definition of prime numbers : Prime Numbers Use internet resources to review the definition of prime numbers. Write a mathematical formula for calculating a prime. Do not use the class PowerPoint charts as a source --- use external (web-based) information, citing your source(s).
Prepare the journal entry to write off the entire account : Prepare the year-end adjusting journal entry to adjust the Allowance for Doubtful Accounts to the balance you calculated above. Assume the allowance account has an unadjusted credit balance of $ 8,000. Of the customer account balances shown above on ..
How to mitigate effects of very fast transients : How to mitigate effects of very fast transients (VFT) on HV equipment ?
Which of the following is segment of truckload motor freight : Which of the following is a segment of Truckload Motor Freight: Motor freight can be subdivided into more specific categories. Which of the following is a category of motor freight
Evolution on quality management : Please explain what is quality,Evolution on quality management, what is TQM and obstacles of TQM. Make PPT for the same from 20 to 25 PPT.

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Optical waveguide-ring resonator system

You need to write a term paper based on this paper topic "Critical Coupling and Its Control in Optical Waveguide-Ring Resonator System"

  Compute and plot the 128 point fft of a 0.125hz cosine wave

Compare the differences in the FFT result. Explain why even though the inputs to both FFTs are the same cosine waves, the shapes of the FFTs are different.Compute and plot the 128 point FFT of a 0.125Hz cosine wave

  How many machine that host databases do provide file sharing

A cloud company has 20 computers total. Out of the 20 computers, 9 run web servers and 12 host databases. Furthermore, 8 machines offer file sharing. Note that a particular machine can offer multiple services.

  Determine what is the resonant frequency of the circuit

A series RLC circuit has elements with the following values: R=10Ω, L= .5H, and C=2μF. What is the resonant frequency of this circuit

  What is the size of the memory block decoded

An address decoder in a 68000-based microprocessor system selects a memory device when the address lines A23, A22, A21, A20, A19, A18 = 1, 0, 0, 1, 1, 0. What is the size of the memory block decoded and what range of addresses does it span

  Compute accurately the resistivity of the wafer at room temp

A Silicon wafer has a uniform doping density of 8 xl018 atoms cm-3 of Arsenic and 2.5 x 1019 atoms cm-3 of Phosphorus. Assume that all Arsenic atoms are fully (100%) ionized at room temperature but the Phosphorus atoms are 80% ionized.

  Calculate the resulting charge on each capacitor

Capacitors c1= 8.50μF andc2=3.50μF are charged as a parallel combination across a 36-V battery. Calculate the initial voltage across, and initial chargeon each capacitor. a) Calculate the resulting charge on each capacitor

  Create a new vi with a lighthouse control to the front panel

Begin with a breadboard, wire, an RGB LED and some resistors. Using the forward voltages given in the RGB LED datasheet, calculate the correct current-limiting resistors needed to light each color of the LED (assuming VDD = +5V).

  Design a circuit that will illuminate an led only

Referring to the circuit with switches connected to doors: Consider 3 doors, Doors A, B, and C. Design a circuit that will illuminate an LED only if both Doors A and B are closed or if Door A is closed and Door C is open.

  Calculate the rms output noise power levels

Assume that a receiver has a first amplifier stage with a 5K input resistance, a power gain of 300, an input audio signal of 20 uV, and an operating temperature of 27'C. When the amplifier is operating with a bandwidth first of 10 MHz

  Determine v-i characteristics of regulated dc voltage supply

What do they mean by these two statements. For example, are they asking us to keep Voltage or Current constant in either statement and vary the Resistance finding the unknown Voltage or Current or what

  Determine the resistance and inductance of rl series circuit

n RL series circuit is connected across a 100-v 1000-cycle source. The resistance and the inductance are so adjusted that the power absorbed is 1600 W. The current in the circuit is i= 28.28 sin6280t. Find R and L.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd