Completed

Matlab small project

I need you to develop some software for me. I would like this software to be developed for Windows.

3 small functions in matlab.

1. Write a function that receives a number n and determine if it is a prime number (output 1) or not (output 0). You can not use the ‘isprime’ function.

2. Write a script to calculate the value of x in the following nested square root for different numbers of square roots. Plot the value of x versus the number of square roots. Does it converge to a specific number?

3. Confirm Kepler’s 3rd Law (Harmonic Law) and estimate the mass of the Sun

If the orbital period, P is in years and the orbit semimajor axis, a is in AU then P2 = a3. If SI units (mks) are used, the Harmonic Law becomes P2 = 4π2 a3. In some files, GM⊙ these variables are stored separately ([login to view URL] and [login to view URL]) and in ([login to view URL], the semimajor axis is the first row of data and orbital period is the second. The files are small, explore them using a text editor before beginning. N.B. The data in [login to view URL] are in AU (Earth = 1) and in [login to view URL] the data have units of Earth-years. In [login to view URL] and [login to view URL], the units are SI, [a] = m and [P ] = s. G = 6.67 × 10−11m3kg−1s−2.

(a) Use load to read the files

[login to view URL] and [login to view URL] and confirm Kepler’s Third Law by plotting P2 vs. a3. The plot must have x- and y-labels and a title. Use csvwrite to write the estimates to a CSV file called [login to view URL]

(b) Use dlmread to read the file planets.tab. Use the data to create a vector with 8 estimates for the Sun’s mass (one for each planet, which individually satisfy the Harmonic Law). Use dlmwrite to write the estimates to a tab-delimited file called [login to view URL]

Keahlian: Perancangan Perangkat Lunak, Destop Windows

Lihat lebih lanjut: matlab based projects for electronics, matlab projects for students, simple matlab projects with source code, matlab mini projects, easy matlab project ideas, matlab mini projects with source code free download, simple matlab projects for engineering students, simple matlab projects for beginners, matlab small project source code, matlab small project, small project matlab, aspnet small project, small project access, java small project, fulltime offline data entry small project fulltime chennai, small project freelance, small project java, delphi small project, small project ideas programming, small project php

Tentang Pemberi kerja:
( 10 ulasan ) Hamburg, United States

ID Proyek: #15203159

Diberikan kepada:

Blast545

Hello, my name's Jorge, I am electronics engineer with experience programming embedded devices. Please share with me more details to see how can I help you. Contact me to discuss anything, I'd be glad to answer your Lebih banyak

$30 USD dalam 2 hari
(7 Ulasan)
4.8

3 freelancer menawar dengan rata-rata $28 untuk pekerjaan ini

liveexperts123

Hi. We're a team of titanium certified developers. we'd love to help you out in this project Relevant Skills and Experience: . Proposed Milestones: 30 - . Hi je6203! Please drop a message to discuss more about the proj Lebih banyak

$30 USD dalam 3 hari
(26 Ulasan)
6.1
lucmarques

Hi there, I am an electrical engineering student that has experience with matlab and several other programming languages. I'm currently looking for projects to gain more experience. Relevant Skills and Experience I ha Lebih banyak

$25 USD dalam 1 hari
(0 Ulasan)
0.0