Solved

Matlab

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

Accepted Solution

by:
xtermie earned 500 total points (awarded by participants)
Comment Utility
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)
Comment Utility
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 17

Expert Comment

by:xtermie
Comment Utility
Good comment and suggestions provided
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

A short article about problems I had with the new location API and permissions in Marshmallow
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now