Eliminate a component of an equation
์กฐํ ์: 3 (์ต๊ทผ 30์ผ)
์ด์ ๋๊ธ ํ์
%% Q9a
clear;clc;
%1
r=0.1:0.01:100;%m
V=1/3*pi.*power(r,2)*h;%m^3
B=sqrt((r^2)+(h^2));
A=r*pi*B;%m^2
By eliminating โ, obtain the expression for ๐ด as a function of ๐ and V.
How should I do that?
๋๊ธ ์: 0
๋ต๋ณ (1๊ฐ)
Walter Roberson
2021๋
12์ 8์ผ
V=1/3*pi.*power(r,2)*h;%m^3
If V = something*h then it follows that h = V/something
B=sqrt((r^2)+(h^2));
And that definition for h can be put into B
๋๊ธ ์: 2
Walter Roberson
2021๋
12์ 8์ผ
Write out the steps by hand, using unresolved symbols. Find the formula, and program the formula in, possibly using vector r values at that time.
If you want to have MATLAB do it, you can use the Symbolic Toolbox --- but it is really straight forward.
B=sqrt((r^2)+(h^2));
implies
B=sqrt((r^2)+((V/(1/3*pi.*power(r,2)))^2));
์ฐธ๊ณ ํญ๋ชฉ
์นดํ ๊ณ ๋ฆฌ
Help Center ๋ฐ File Exchange์์ Calculus์ ๋ํด ์์ธํ ์์๋ณด๊ธฐ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!