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

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

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