Solved

Matlab

Posted on 2016-08-22
5
38 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Article by: Nicole
This is a research brief on the potential colonization of humans on Mars.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

749 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