Đang chuẩn bị liên kết để tải về tài liệu:
Engineering and Scientific Computations Using MATLAB phần 5

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Sử dụng chức năng linspace và phương pháp thặng dư để tạo ra một vector A với 15 giá trị bằng nhau, bắt đầu với 7.0 và kết thúc với 47,5. Giải pháp. Sử dụng linspace, trong cửa sổ lệnh, chúng tôi loạiPhi tuyến chức năng: khối lượng so với bán kính bên ngoài | Chapter 3 MATLAB and Problem Solving 81 Solution. The complex number is downloaded as N-13-71 We can use either i or j for the imaginary number. The three problems can be straightforwardly solved. In particular. abs N ans 14.7648 b. angle N ans -0.4939 conj N ans 13.0000 7.00001 Example 3.6.4. For a shell with an external diameter f 10 and internal diameter 1 2 2. find the volume which is given by the following formula Solution. To solve this problem the MATLAB statement typed in the Command Window is rl-10 r2-2 V- 4 pi 3 rlA3-r2A3 Here we use the pi which is the constant a. Then using the numerical result displayed V - 4.1553e 003 we conclude that F 4155. Example 3.6.5. For a shell with an external diameter f 3 4 5 6 7. 8. 9. and 10 and internal diameter 1 2 2 find the values for volume V r - r . Calculate and plot a nonlinear function V - Xn for the r given. Solution. In the MATLAB Command Window we type rl-3 l 10 r2-2 V- 4 pi 3 r1.A3-r2A3 plot V rl Then values for J are found to be V - 1.0e 003 0 0796 0.2346 0.4901 0.8713 1.4032 2.1112 3.0201 4.1553 To plot the nonlinear function Ỉ n we have rl-3 l 10 r2-2 V- 4 pi 3 rl. 3-r2 3 plot V rl and the plot is illustrated in Figure 3.13. Chapter 3 Ma tlab and Problem Solving 82 101-- ---- ---------- --- --- ---- ------- 9 8 - - 7- - 6 z 5 - 4 f - 0 500 1000 1500 2000 2500 3000 3500 4000 4500 Figure 3.13. Nonlinear function volume versus the external radius u ri Example 3.6.6. Use the 1 inspace function and increment method to create a vector A with 15 equally spaced values beginning with 7.0 and ending with 47.5. Solution. Using linspace in the Command Window we type linaqp ce 7.0r 47.5 15 where 7.0 is the first initial value 47.5 is the final value and 15 is the number of values to be displayed. Pressing the Enter key the following is displayed in the Command Window A Columns 1 through 9 7.0000 9.8929 12.7857 15.6786 18.5714 21.4643 24.3571 27.2500 30.1429 Columns 10 through 15 33.0357 35.9286 38.6214 41.7143 44.6071 .

crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.