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
horsena [70]
3 years ago
13

For each part create a vector n in which the first element is 1, the increment is 1 and the last term is 5, 50, or 5,000. Then u

se element-by-element calculations to create a vector in which the elements are 1 n 2 1n2. Finally, use MATLAB’s built-in function sum to sum the series. Compare the values to π2 / 6. Use format long to display the numbers.
Computers and Technology
1 answer:
Dennis_Churaev [7]3 years ago
4 0

Answer:

a = 1:5

b = 1:50

c = 1:5000

Explanation: the file script will be.

format long

% Part (a) n=1:5;

an=1./n.^2;

Sa=sum(an)

pi_sq_ov6=pi^2/6

% Part (b) n=1:50;

an=1./n.^2;

Sb=sum(an)

pi_sq_ov6=pi^2/6

% Part (c)

n=1:5000;

an=1./n.^2;

Sc=sum(an)

pi_sq_ov6=pi^2/6

Finding each values in the above, the command window will have the following values.

Command Window:

Sa = 1.463611111111111

pi_sq_ov6 = 1.644934066848226

Sb = 1.625132733621529

pi_sq_ov6 =1.644934066848226

Sc = 1.644734086846901

pi_sq_ov6 = 1.644934066848226

You might be interested in
Accessibility is the degree to which a product or service is readily available and usable by _____.
I am Lyosha [343]

Answer:

A-As many people as possible

3 0
2 years ago
Convert the Binary Number to a Decimal Number 101
julsineya [31]
5
Reading for right to left (backward to normal) 
The first 1 is one in base 10 (decimal). 
The Zero is null (as in none)
The last (or first reading from left to right) means 4.
4+0+1 = 5
1+0+1 = 5

5 0
3 years ago
Write a little man program that accepts three values as input and produces the largest of the three as output.
ki77a [65]
Required: program to return the largest of three numbers.

pseudocode

input parameters, int A,B,C;
int T; // temporary storage
if (A>B) T=A;
else T=B;
if (T>C) print(T);
else print(C);


5 0
3 years ago
Lee purchased a new pc from dell computer's web site. he purchased his product via a(n) ________.
olga55 [171]
A <span>direct distribution channel if I'm not wrong.</span>
4 0
4 years ago
A measure of the twisting or rotational force that an engine can produce is called
Snowcat [4.5K]
The correct answer is torque.

Torque
A twisting force that tends to cause rotation, commonly used term among mechanics and engineers.
7 0
3 years ago
Other questions:
  • Which of these is not the correct method for moving text in a document in Word 2016?
    7·1 answer
  • g Define several forms of metadata that can be useful to an investigation. How are valuable to an investigator
    10·1 answer
  • How does this happen on brainly????
    12·2 answers
  • Which one way in which using infrared in game console controllers could affect the experience of a person playing the game?
    8·1 answer
  • 1. You are designing a program that will keep track of the boxes in a doctor’s office. Each box will have three attributes: date
    10·1 answer
  • What starts with p and ends with orn
    15·2 answers
  • A form of segmentation that is based on user usage rate, user status, purchase occasion, and benefits sought is _________.
    13·1 answer
  • Check your knowledge
    9·1 answer
  • Databases containing the research, writing and studies conducted by Academic
    14·1 answer
  • Taking this driver education course
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!