Homework matlab problem - Determine r1, r2 and surface area - use matrix?
Mostra commenti meno recenti
ive been staring at this problem and cant get anything. im a college student i dont u see what to do with the unknown variables
the unit we are in now is covering - input and output commands - display commands - fprintf - load commands
help will be greatly appreciated KEEP IT SIMPLE IF POSSIBLE. THIS IS ONLY CHAPTER 4 OF AN INTRO CLASS
an ice cream cone shaped as a frustum of a cone with R2=(1.2)(R1) is designed to have a volume of 1,000 cm cubed. Determine R1, R2 and the surface area , s, of the paper for containers with heights h of 8, 10, 12, 14, and 16 cm. Display the results in a table. The volume of the container, V, and the surface area of the paper are given by
V = (1/3)(pi)(h)(R1^2 + R2^2 + R1R2)
S = (pi)(R1+R2)sqrt[(R2-R1)^2 + h^2] + (pi)(R1^2 + R2^2)
3 Commenti
TAB
il 28 Set 2011
Please see
http://www.mathworks.com/matlabcentral/answers/8626-how-do-i-get-help-on-homework-questions-on-matlab-answers.
This is forum for matlab specific questions. First try your homework problems yourself, after that if you get any difficulty then post your matlab code and ask your question.
Morley
il 28 Set 2011
M VENKATESH
il 10 Set 2021
A cone shaped cup is designed to have a volume of 250 cm³. Determine the radius, r, of the base and the surface area, S, of the paper for cups with heights, h of 5,6,7,8, and 9 cm. The volume V, and the surface are of the paper are given by: V=1/2pi r²h und S = pi r sqrt(r²+h²). How to put this problem
Risposta accettata
Più risposte (4)
Andrei Bobrov
il 28 Set 2011
EDITED
syms R1 R2 h S positive
r1s = subs([1000 - 1/3*pi*h*(R1^2 + R2^2 + R1*R2),...
pi*(R1+R2)*sqrt((R2-R1)^2 + h^2) + pi*(R1^2 + R2^2)],R2,1.2*R1)
r1s(1) = solve(r1s(1),R1)
f = cell(2,1); for j1 = 1:2, f{j1} = matlabFunction(r1s(j1)); end
h = (8:2:16)';
r1 = f{1}(h);
out = [h,r1,1.2*r1,f{2}(r1,h)]
1 Commento
Amin Sultan
il 26 Feb 2019
How would you arrange the values into columns
Jackie Cortez
il 18 Ott 2016
0 voti
Is there a way to do this problem without using syms or subs? It keeps telling me I have to License and install the Symbolic Math Toolbox which I don't have.
1 Commento
Andrei Bobrov
il 26 Feb 2019
Without Symbolic Math Toolbox:
Veq1000 = @(h,R1)1000 - 1357/356*h.*R1.^2;
s = @(h,R1)(R1*pi.*(61*R1 + 11*(R1.^2 + 25*h.^2).^(1/2)))/25;
h = (8:2:16)';
n = numel(h);
r1 = zeros(n,1);
for ii = 1:n
r1(ii) = fzero(@(R1)Veq1000(h(ii),R1),1);
end
out = [h,r1,1.2*r1,s(h,r1)];
Divya Pateriya
il 17 Ott 2019
h = input('Please enter the array of height :');
v=input('please tell the volume of frustum :');
r1 = sqrt((3*v)./(pi*h.*3.64));
r2=(1.2).*r1;
s=pi.*(r1+r2).*sqrt((r2-r1).^2+h.^2)+pi.*(r1.^2+r2.*2);
Result=[h;r1;r2;s];
Table = Result'
1 Commento
John D'Errico
il 17 Ott 2019
Modificato: John D'Errico
il 17 Ott 2019
Sigh. This does not display the result in a table. It creates a variable named Table. It only computes the result for ONE value of h, so there is no table created anyway.
dania tr
il 27 Ott 2021
0 voti
The surface area A of a sphere depends on its radius r as follows: A = 4 ᴫ r 2 . Write a MATLAB function to compute the surface area. Call your function to compute A at r = 5 and display the result.
1 Commento
Walter Roberson
il 27 Ott 2021
I do not understand how this information can be used to answer Morley's Question about cones asked in 2011 ?
Categorie
Scopri di più su Number Theory in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!