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
Alisiya [41]
3 years ago
13

Write a MATLAB code for the following problem:

Computers and Technology
1 answer:
AysviL [449]3 years ago
7 0
<span>Here is matlab that should work % cos(x) = 1 - (x^2)/2! + (x^4)/4! -(x^6)/6!+(x^8)/8!... % let y= x*x % cos(x) = sum( (-y)^n/(2n)! ) format short x= 0.3*pi; y= x*x; for N= 1:6 n= 0:N; s1= [(-y).^n./factorial(2*n) ] mac= sum(s1); cx= cos(x); str= sprintf('%d terms. series: %12.10f cos(x): %12.10f\n %12.10f',... N, mac,cx, (cx-mac)); disp(str); end;</span>
You might be interested in
A cost-benefit analysis is intended to increase the likelihood that a support analyst has considered the major advantages and di
Nadusha1986 [10]

Answer:

True

Explanation:

A cost-benefit analysis is a process and procedures that are utilized by businesses to analyze and make proper decisions. The process involves a business strategist or analyst summing the benefits of a situation or action and then taking away the costs associated with taking that action.

Some consultants or analysts also put up models to assign a dollar value on intangible or indefinable items, such as the benefits and costs related with living in a particular town.

7 0
3 years ago
Microsoft access does not create n:m relationships because microsoft access creates databases based on
galina1969 [7]
Data information i think
6 0
4 years ago
Triggers are types of buttons seen in the input devices for which platform?
shepuryov [24]
<h2>Answer:</h2><h2><u>consoles!</u></h2><h2><u>just took thew test</u></h2>

Explanation:

8 0
4 years ago
A(n) ___________ operating system provides process and memory management services that allow two or more tasks, jobs, or program
patriot [66]

Answer:

multitasking

Explanation:

<h2><u>Fill in the blanks</u></h2>

A<u> multitasking </u>operating system provides process and memory management services that allow two or more tasks, jobs, or programs to run simultaneously.

6 0
3 years ago
2ND LAST QUESTION
pychu [463]

Answer:

B

Explanation:

3 0
3 years ago
Other questions:
  • A data structure used to bind an authenticated individual to a public key is the definition of ________.
    14·1 answer
  • What are the four basic operating principles of the information processing cycle?
    7·2 answers
  • The common programming structure that implements "conditional statements" is called an____ statement.
    7·1 answer
  • You have created a new DHCP scope with address range 192.168.1.1 to 192.168.1.254. You have five servers configured with static
    8·1 answer
  • Python
    14·1 answer
  • Which of the following is a scam where perpetrators promise high pay for working on different projects like wooden calendars, pa
    13·1 answer
  • What is the term meaning a Java object that has attributes and methods?
    12·1 answer
  • Write a program that prompts the user to enter two positive integers less than 1,000,000,000 and the program outputs the sum of
    15·1 answer
  • An optical drive randomly becomes unavailable, and after replacing the drive, the technician now suspects that the drive may not
    12·1 answer
  • Given a sorted array of integers created on the heap, its size and a new integer, design a function which will enlarge the array
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!