?
Solved

Matlab

Posted on 2016-08-22
5
Medium Priority
?
131 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
3 Comments
 
LVL 18

Accepted Solution

by:
xtermie earned 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Aerodynamic noise is the cause of the majority of the noise produced by helicopters. The inordinate amount of noise helicopters produce is a major problem in the both a military and civilian setting. To remedy this problem the use of an aerogel coat…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
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.
Suggested Courses
Course of the Month17 days, 6 hours left to enroll

864 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