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

  How to design a circuit to be an electronic dice

Counteris normally stopped, when a momentary switched is pressed thecounter would count. When switch is released counter wouldstop. Realizing that not all random generated numbers would work a Forbidden Combination Detector has to be implemented t..

  Piston-cylinder assembly with a paddle wheel

Air is contained in a well-insulated piston-cylinder assembly with a paddle wheel connected to an external electric motor. Initially, the volume of the air in the cylinder is 0.02 m3, the pressure is 1.5 bar, and the temperature is 400K. The elect..

  Find the center-frequency gain of single-tuned amplifier

The transistor is biased at 1mA and has ß=100, Cp=10pF, and Cµ=1pF. The transistor load is a resistance of 5kO. Find fo, Q, the 3-dB bandwidth, and the center-frequency gain of this single-tuned amplifier.

  Circuit design calls diffusing boron elevated temperature

The concentration of B at the surface of the Si is maintained at a constant level of 1.0 x 1025 m-3; furthermore, it is assumed that the concentration of B in the original Si material is negligible, and that at room temperature the boron atoms are..

  Find the switch on-resistance rds and the voltage vds

Vgs is the switchcontrol voltage. Find the switch on-resistance Rds and the voltageVds obtained when Vgs=5V and Id=1mA. If μp=0.5μn what must be the PMOS device W/L to provide the same NMOS on-resistance. AssumeVtn=|Vtp|.

  Explain what is the chemical shift difference

From the 1H NMR perspective, the human body is composed primarily of fat hydrogens and water hydrogens (H2O). The resonance frequency difference between the NMR signal from these two types of hydrogens is approximately 220 Hz on a 1.5 Tesla imager..

  Identify three types of electrical or electronic components

Identify three types of electrical or electronic components currently used in business or industry today that use voltage regulators in their operation. Discuss some of the problems that can be experienced if the input voltage to the electroni..

  Why we use supernode circuit analysis

Why we use Supernode circuit analysis

  Design a circuit using only one omp-amp

Design Problem- the circuit must have the following transfer function: Tv(s)=+- (s+125)(s+500)/(s+250)(s+1000) a)design the circuit using two Omp-amps B) design a circuit using only one omp-amp c) design a circuit using no omp amp *in all designs ..

  Find the current i as shown in the circuit below as function

In the given image, the switch S1 is in position 1 for a long time. At t=0s, the switch is thrown to position 2. Find the current i as shown in the circuit below as a function of time.

  Electronic and physical threats to communications networks

What are the predominant electronic and physical threats to communications networks?

  Compute the propagation constant and intrinsic impedance

Consider a plane wave normally incident on a half-space of copper. If f=1GHz, compute the propagation constant, intrinsic impedance, and skin depth for the conductor. Also compute the reflection and transmission coefficients

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