simple script that will calculate the volume of a hollow sphere, 4pi/3(r0^3-ri^3)
Write a simple script that will calculate the volume of a hollow sphere,
4pi/3(r0^3-ri^3)
where ri is the inner radius and r0 is the outer radius. assign a value to a variable for the inner radius, and also assign a value to another variable for the outer radius. then, using these variables, assign the volume to a third variable and include comments in the script.
Using r0= 8.5, and ri=6.5 to do calculation, and test your script.
Then,rewrite the script in problem 6 as a function. The function has two input arguments, ri and r0, and one output argument, volume. Using r0= 8.5, and ri=6.5 to do calculation, and test your script
Looking for solution of this Assignment?

WHY CHOOSE US?
We deliver quality original papers |
Our experts write quality original papers using academic databases. |
Free revisions |
We offer our clients multiple free revisions just to ensure you get what you want. |
Discounted prices |
All our prices are discounted which makes it affordable to you. Use code FIRST15 to get your discount |
100% originality |
We deliver papers that are written from scratch to deliver 100% originality. Our papers are free from plagiarism and NO similarity |
On-time delivery |
We will deliver your paper on time even on short notice or short deadline, overnight essay or even an urgent essay |