# 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 ([url removed, login to view] and [url removed, login to view]) and in ([url removed, login to view], 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 [url removed, login to view] are in AU (Earth = 1) and in [url removed, login to view] the data have units of Earth-years. In [url removed, login to view] and [url removed, login to view], the units are SI, [a] = m and [P ] = s. G = 6.67 × 10−11m3kg−1s−2.

(a) Use load to read the files

[url removed, login to view] and [url removed, login to view] 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 [url removed, login to view]

(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 [url removed, login to view]

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

ID Proyek: #15203159

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 Lagi

\$30 USD dalam 2 hari
(5 Ulasan)
4.5

## 6 freelancer menawar pada rata-rata \$27 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 Lagi

\$30 USD dalam 3 hari
(11 Ulasan)
5.1
glevrch

i can do it in only 2 hours. i have full experiences of modeling of physical phenomenons. now i'm interested in signal and image processing and object detection using deep learning.

\$25 USD dalam 1 hari
(1 Ulasan)
0.0
wanshan310

Hi, Sir! I 'am very interested in your project. Your posting make me to excite. That seems to be matched with my skill. If you award me , i'll be happy for that and i 'll do my best Relevant Skills and Experience matl Lagi

\$25 USD dalam 1 hari
(0 Ulasan)
0.0
glushenko2017

-------------------------------Best result on time && Master in Matlab and Mathematics!------------------------------------- Hello, dear! I have read your proposal and I am very interesting in your project. I have g Lagi

\$25 USD dalam 1 hari
(0 Ulasan)
0.0
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 Lagi

\$25 USD dalam 1 hari
(0 Ulasan)
0.0