matlab code
Write a function that will receive the radius r of a sphere. It will calculate and return the volume of the sphere (4/3 a py). If the function call expects two output arguments, the function will also return the surface area of the sphere (4 p2). When any other number of values (zero or more than 2) are expected by the user, then the following warning is printed. "This function cannot operate" Write your Matlab code inside the box below
Write a function that will receive the radius r of a sphere. It will calculate and return the volume of the sphere (4/3
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Write a function that will receive the radius r of a sphere. It will calculate and return the volume of the sphere (4/3
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!