Solved

Matlab

Posted on 2016-08-22
5
31 Views
Last Modified: 2016-09-12
Write a function called circle that takes a scalar input r. It needs to return an output called area that is the area of a circle with radius r and a second output, cf that is the circumference of the same circle. You are allowed to use the built-in function pi. In fact, you need to use it to get the value of π as accurately as possible.
0
Comment
Question by:Sule Jalal
  • 2
5 Comments
 
LVL 18

Accepted Solution

by:
xtermie earned 500 total points (awarded by participants)
ID: 41766534
Guy is correct
Here is a Matlab guide to code
http://www.csc.kth.se/utbildning/kth/kurser/DN2255/ndiff13/matopt.pdf

Good luck!
0
 

Assisted Solution

by:Sule Jalal
Sule Jalal earned 0 total points (awarded by participants)
ID: 41767912
Thanks for your pleseant email Phoffric. Upon, searching for help on Google, I was quickly directed to this site and posted the direct question without the know abouts of how the site really works. I will do so, in future postings.
0
 
LVL 18

Expert Comment

by:xtermie
ID: 41793903
Good comment and suggestions provided
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question