1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
sladkih [1.3K]
3 years ago
7

Problem 8. Define a function gs1_error(n) that accepts as input a non-negative integer n and outputs the error of the Gauss-Seid

el approximation (xn, yn) to the solution of system (1). In other words, it should output the distance between the nth approximation (xn, yn) and the true value (x_val,y_val) of the solution to (1).
Engineering
1 answer:
Fofino [41]3 years ago
7 0

Answer:

The MATLAB code will be:

close all;

clc;

clear all;

 

a = [20, 1, -2; 3, 20, -1; 2,-3, 20];

b = [17; -18; 25];

 

tol = 1e-6;

 

[M,N] = size(a);

if M~=N

   error('A is not a square Matrix');

end

 

x = [0,0,0];

xx(1,:) = x;

n = 100;

error = 0.00001;

 

for k = 2:n

   for i = 1:N

       s = 0;

       for j = 1:N

           if j ~= i

               s = s + a(i,j) * x(j);

           end

       end

       x(i) = (1/a(i,i)*(b(i) - s));

   end

   xx(k,:) = x;kk = k;

   Error = abs(max(xx(kk,:)- xx(k-1,:)))

   if Error<error

       break;

   end

end

 

fprintf ('The roots of equation are: ')

x

 

fprintf ('The number of iterations are: ')

k

 

fprintf ('The error is: ')

Error

Explanation:

You might be interested in
SSL/TLS is used for ________.
Nana76 [90]

Answer:

1.Originally developed by Netscape, SSL is an Internet security protocol used by Internet browsers and Web servers to transmit sensitive information. SSL has become part of an overall security protocol known as Transport Layer Security (TLS). SSL/TLS can be used for Web applications

2.Small malware programs that download larger malware programs are called downloaders

3. Single network addresses in different single networks are neither unique nor unique if the two single networks use the same technology standards

4. Converting application messages into bits is called encoding

5. Guarantees by a provider to meet certain delivery quality specifications are called service level agreements

6. Advanced persistent threats are particularly dangerous for enterprises, as hackers have ongoing access to sensitive company data. They are extremely dangerous for the victim

7. In antivirus filtering, the best ways to filter currently use BEHAVIOURAL DETECTION

8. The general name for malware on a user's PC that collects sensitive information and sends this information to an attacker is SPYWARE

9. Firewall log files should be read EVERYDAY

10. When a firewall identifies an attack packet, it both discards the packet and copies information about the packet into a log file

11. IT security employees are the most difficult employees

12. In authentication, the SUPPLICANT is the party trying to prove his or her identity.

13. In a firewall, VPN traversal reduces firewall filtering effectiveness

14. DIRECTLY-PROPAGATING WORM can spread more rapidly

15 UDP is an unreliable, connectionless transport layer protocol that provides message-based data transmission. TCP is an example of connection-oriented protocols.

16. Host P transmits a SYN segment to Host Q. If host Q is willing to open the connection, it will transmit a SYN/ACK segment.

17. 802.11 data link layer standards govern neither access point operation nor frame organization

18. Credit card number thieves are called CARDERS

19. Using encryption, you make it impossible for attackers to read your messages even if they intercept them. This is CONFIDENTIALITY

20. Iris scanning is attractive because of its PRECISION

21. The source socket is 60.171.18.22:57707. The source is a CLIENT

4 0
4 years ago
As the temperature of a thermal radiator is increased Group of answer choices the object appears redder. the object appears blue
Elanso [62]

Answer:

As the temperature of a thermal radiator is increased

Group of answer choices

  • the object appears redder.
  • the object appears bluer.
  • the object emits more power for the same area.
  • the object emits less power for the same area.
  • the object expands to keep the same power per units area.

<em>When the temperature of a thermal radiator increases ;</em>

  • <em>the object emits more power for the same are</em>
  • <em>the object becomes bluer</em>

Explanation:

Thermal radiation involves the transfer of heat between molecules of two substances without direct contact with each other. When a body is heated to a given temperature it begins to emit light which is transferred to nearby objects as thermal radiation. The medium through which the heat is transferred could be liquid, solid, or in a vacuum.

<h3>How temperature affects thermal radiation.</h3>

Temperature determines the amount of heat that is been radiated from a body. An increase in temperature would increase the thermal radiation of the body. The increase in the heat radiation results to increase in the thermal energy of the body. Also when a body is heated it tends to be bluer than a cool object, this is caused by the rapid movement of the molecules.

Therefore When the temperature of a thermal radiator increases ;

  • the object emits more power for the same are
  • the object becomes bluer
4 0
4 years ago
Refrigerant 134a enters the evaporator of a refrigeration system operating at steady state at -16oC and a quality of 20% at a ve
Dmitry [639]

Answer:

mass flow rate = 0.0534 kg/sec

velocity at exit = 29.34 m/sec

Explanation:

From the information given:

Inlet:

Temperature T_1 = -16^0\ C

Quality x_1 = 0.2

Outlet:

Temperature T_2 = -16^0 C

Quality  x_2 = 1

The following data were obtained at saturation properties of R134a at the temperature of -16° C

v_f= 0.7428 \times 10^{-3} \ m^3/kg \\ \\  v_g = 0.1247 \ m^3 /kg

v_1 = v_f + x_1 ( vg - ( v_f)) \\ \\ v_1 = 0.7428 \times 10^{-3} + 0.2 (0.1247 -(0.7428 \times 10^{-3})) \\ \\  v_1 = 0.0255 \ m^3/kg \\ \\ \\  v_2 = v_g = 0.1247 \ m^3/kg

m = \rho_1A_1v_1 = \rho_2A_2v_2 \\ \\  m = \dfrac{1}{0.0255} \times \dfrac{\pi}{4}\times (1.7 \times 10^{-2})^2\times 6  \\ \\ \mathbf{m = 0.0534 \ kg/sec}

\rho_1A_1v_1 = \rho_2A_2v_2 \\ \\ A_1 =A_2  \\ \\  \rho_1v_1 = \rho_2v_2   \\ \\ \implies \dfrac{1}{0.0255} \times6 = \dfrac{1}{0.1247}\times (v_2)\\ \\ \\\mathbf{\\ v_2 = 29.34 \ m/sec}

3 0
3 years ago
Given: A graphite-moderated nuclear reactor. Heat is generated uniformly in uranium rods of 0.05m diameter at the rate of 7.5 x
sineoko [7]

Answer:

The maximum temperature at the center of the rod is found to be 517.24 °C

Explanation:

Assumptions:

1- Heat transfer is steady.

2- Heat transfer is in one dimension, due to axial symmetry.

3- Heat generation is uniform.

Now, we consider an inner imaginary cylinder of radius R inside the actual uranium rod of radius Ro. So, from steady state conditions, we know that, heat generated within the rod will be equal to the heat conducted at any point of the rod. So, from Fourier's Law, we write:

Heat Conduction Through Rod = Heat Generation

-kAdT/dr = qV

where,

k = thermal conductivity = 29.5 W/m.K

q = heat generation per unit volume = 7.5 x 10^7 W/m³

V = volume of rod = π r² l

A = area of rod = 2π r l

using these values, we get:

dT = - (q/2k)(r dr)

integrating from r = 0, where T(0) = To = Maximum center temperature, to r = Ro, where, T(Ro) = Ts = surface temperature = 120°C.

To -Ts = qr²/4k

To = Ts + qr²/4k

To = 120°C + (7.5 x 10^7 W/m³)(0.025 m)²/(4)(29.5 W/m.°C)

To = 120° C + 397.24° C

<u>To = 517.24° C</u>

5 0
4 years ago
A small vehicle is powered by a pulsejet. The available net thrust is 6000 N and the traveling speed is 200 km/hr. The gases lea
kumpel [21]

Answer:

a) The mass flow rate is 19.71 kg/s

b) The inlet area is 0.41 m²

c) The thrust power is 333.31 kW

d) The propulsive efficiency is 26.7%

Explanation:

Please look at the solution in the attached Word file.

Download docx
4 0
3 years ago
Other questions:
  • A sandy soil has a total unit weight of 120 pcf, a specific gravity of solids of 2.64, and a water content of 16 percent. Comput
    13·1 answer
  • Where would a salamander most likely be found?<br> A salamander would most likely be found in
    10·2 answers
  • Calculate the availability of a system where the mean time between failures is 900 hours and the mean time to repair is 100 hour
    15·1 answer
  • An oscillating mechanism has a maximum displacement of 3.2m and a frequency of 50Hz. At timet-0 the displacement is 150cm. Expre
    13·1 answer
  • A tensile load of 6.9 kN is applied on a copper rod with diameter of 12 mm. (a) What is the maximum normal stress in the rod? (b
    12·1 answer
  • Brainly and points if you want
    13·2 answers
  • A steady state filtration process is used to separate silicon dioxide (sand) from water. The stream to be treated has a flow rat
    5·1 answer
  • Click this link to view O*NET’s Work Context section for Loading Machine Operators. Note that common contexts are listed toward
    10·1 answer
  • It is desired to produce and aligned carbon fiber-epoxy matrix composite having a longitudinal tensile strength of 630 MPa. Calc
    6·1 answer
  • How long...you...novels? A. Have/write B. Do/write C. Have/written D. Did/go
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!