If the radius (r) is varied from 0 to 100 in steps of 1 and the volume of the sphere (v) that is corresponding to each radius (r) is calculated. Which plotting command would you select to plot the radius of the sphere versus the volume without compressing the smaller values.
|
semilogx(r,v) |
||
|
loglog(r,v) |
||
|
semilogy(r,v) |
||
|
plot(r,v) |
`Hey,
Note: Brother if you have any queries related the answer please do comment. I would be very happy to resolve all your queries.
|
semilogy(r,v) |
| OPTION C IS CORRECT |
Kindly revert for any queries
Thanks.
Using MATLAB
18. A cylinder with base radius r and height h is con- structed inside a sphere such that it is in contact with the surface of a sphere, as shown in the figー ure. The radius of the sphere is R- 11 in. (a) Create a polynomial expression for the vol- / >1 ume V of the cylinder in terms of h. (b) Make a plot of V versus h for 0 shs11 in. (c) Using the roots...
Consider a solid sphere of mass m and radius r being released
from a height h (i.e., its center of mass is initially a height h
above the ground). It rolls without slipping and passes through a
vertical loop of radius R.
a. Use energy conservation to determine the tangential and
angular velocities of the sphere when it reaches the top of the
loop.
b. Draw a force diagram for the sphere at the top of the loop
and write...
1. The potential at the surface of a sphere is kept at potential V(R.0)-Vo sin20. The potential at infinity is zero. (a) Find V(r, 0) inside the sphere. (b) Find V(r,0) outside the sphere. (c) Find σ(θ), the charge density on the sphere. (d) Find the total charge of the sphere. (e) The problern would be a lot harder if the potential were specified to be V(R,θ)-Võsin θ Why? Explain how you would do part (a) without going through the...
Evaluate the integral for values of x from 0 to 3 in
steps of 0.1 AND plot the integral.
The program needs to be written in Python 3. Can only
import numpy and matplotlib. CAN NOT use lambda functions or
classes of any kind.
Exercise 5.3: Consider the integral Plot of the integral from 0 to x 0.8 e: more hints You need to print E(x) with different x values. 0.6 1 Plotting the function will help The calculated values...
Write a complete program utilizing functions. The function accepts two parameters: one representing a radius of type float, the other parameter is an integer “select” which chooses between finding the area of a circle or the volume of sphere. If the select variable is 1, then area is calculated. If the select value is 2, then volume is calculated. If the select value is any other value, then the function returns 0. Test your function in main by calling it...
MATLAB!
part (b) find h
A spherical tank of radius R meters is to be used to hold fluid. You are given a stick to dip into tank, and you want to calibrate the scale on it such that it reads the volume of fluid in the tank. (a) Find the equation whose solution determines the height of the fluid for a given volume V. Provide details of your work. (b) For R = 3 and a sample volume V...
solve it with details.
1) A sphere of radius R carries a volume charge distribution plr where po is a positive constant. a. Find the electric field, both magnitude and direction, for r < R, and r > R. b. Find the potential for r <R, and r > R. (Take V +0 when r700) plrl=poll
1. Find the electric field at point a for: a. A solid sphere of radius R carrying a volume charge density ρ b. An infinitely long, thin wire carrying a line charge density Side Cross Section C. A plane of infinite area carrying a surface charge density ơ PoT 2. Avery long cylinder with radius a and charge density pa-is placed inside of a conducting cylindrical shell. The cylindrical shell has an inner radius of b and a thickness of...
Nay
programming languge is fine (MatLab, Octave, etc.)
This is the whole document this last picture i sent is the
first page
5. Write and save a function Sphere Area that accepts Radius as input argument, and returns SurfaceArea (4 tt r) as output argument. Paste the function code below. Paste code here 6. Validate your Sphere Area function from the command line, checking the results against hand calculations. Paste the command line code and results below. 7. Design an...
Problem 7 Let us now consider a nonconducting sphere of radius R carrying a total positive charge Q uniformly distributed throughout its volume, and predict what the behavior of the potential is as a function of radial distance from the center of the sphere In class, we argued that the field points radially outward everywhere and found (using Gauss's law) that the magnitude of the electric field E(r) at a radial distance r < R from the center is given...