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
Why does the definition of fair use remain ambiguous?
bogdanovich [222]
Millions of dollars in legal fees have been spent attempting to define what qualifies as a fair use.

There are no hard-and-fast rules, only general guidelines and varied court decisions, because the judges and lawmakers who created the fair use exception did not want to limit its definition.

Like free speech, they wanted it to have an expansive meaning that could be open to interpretation.
8 0
3 years ago
What should you consider when developing your website content?​
Law Incorporation [45]

Answer:

what your customers are looking for.

your latest promotions and discounts.

your brand values.

whether the content will go viral or not

3 0
2 years ago
Read 2 more answers
The cost of renewable energies has increased over the last decade.<br><br> True<br> False
Rudik [331]

Answer:

I believe the answer is True

Explanation:

Hope that helps!

7 0
2 years ago
How to defrost chicken quarter in the microwave?
mash [69]
Use the automatic defrosting feature on your microwave
6 0
3 years ago
What are the three different type of solution?explain them.<br>​
salantis [7]

Explanation:

Solid - A substance that can be felt and held

Liquid - can go into any shape of a container

Gas - exists in the atmosphere and very light

8 0
3 years ago
Other questions:
  • Dr. Joon asks her students how to insert a table in an Excel workbook. The students record the steps a chart. Which students lis
    15·1 answer
  • 32 what windows command can be used to copy entire directories, including subdirectories?
    9·1 answer
  • If one wanted to use the best method to get storage into long-term memory, one would use _________. maintenance rehearsal rote r
    7·1 answer
  • It is important to verify internet source because-------- choose that apply. A.the source should be written by real author. B.an
    6·2 answers
  • If an engine has four cylinders and a total of 16 valves, how many valves would each cylinder have? A. Two B. One C. Four D. Thr
    12·1 answer
  • Explain why it is not necessary for a program to Explain why it is not necessary for a program to be completely free of defects
    13·1 answer
  • A computer program that enables users to create and work with files and folders is called what?
    8·2 answers
  • Barbara, an employee, has properly connected her personal wireless router to a network jack inside her office. The router is una
    7·1 answer
  • 16. A/An __________ is operated on the principle that the dying have special needs and wants that hospital personnel are too bus
    15·2 answers
  • What does the word collaborative mean?
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!