The value of 1t can be estimated from the expression: 2/ = 2/2 . 2 + 2/2
Question:
2/π = √2/2 . √2 + √2/2 . √2/ + √2 + √2/2, …..
Write a MATLAB program in a script file that determine 1t for any number of terms. The program asks the user to enter the number of terms, and then calculates the corresponding value of 1t. Execute the program with 5, 10, and 40 terms. Compare the result with pi. (Use format long.)
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 52% (19 reviews)
Script file clear clc format long n5 10 40 for j13 t1 sqrt 22 ...View the full answer
Answered By
Benish Ahmad
I'm a professional software engineer. I'm lectutrer at GCUF and I have 3 years of teaching experience. I'm looking forward to getting mostly computer science work including:
Programming fundamentals
Object oriented programming
Data structures
object oriented design and analysis
Database system
Computer networks
Discrete mathematics
Web application
I am expert in different computer languages such as C++, java, JavaScript, Sql, CSS, Python and C#. I'm also have excellent knowledge of essay writing and research. I have worked in other Freelancing website such as Fiverr and Upwork. Now I have finally decided to join the SolutionInn platform to continue with my explicit work of helping dear clients and students to achieve their academic dreams. I deliver plagiarism free work and exceptional projects on time. I am capable of working under high pressure.
5.00+
2+ Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Finance questions
-
The value of 1t can be estimated by: Write a program (using a loop) that determines the expression. Run the program with n = 100, n = 10000, and n = 1000000. Compare the result with pi. (Use format...
-
Today is June 7, 2007. Freddie Mac is issuing a 10-year Bermudan note on June 15 2007 under the terms described in Table 12.1410. A Bermudan security is like a callable security, but with call dates...
-
The risk for real estate can be viewed as derived demand. If this is the case, the risk of real estate can be estimated from the underlying business it supports. Under this view, what would be the...
-
The inequality describes the range of monthly average temperatures T in degrees Fahrenheit at a certain location. (a) Solve the inequality. (b) If the high and low monthly average temperatures...
-
Suppose you are testing someone to see whether he or she can tell butter from margarine when it is spread on toast. You use many bite-sized pieces selected randomly, half from buttered toast and half...
-
The file S03_58.xlsx lists salaries of MLB players in the years 2007 to 2009. Each row corresponds to a particular player. As indicated by blank salaries, some players played in one of these years,...
-
Suppose that a one-way analysis of variance involves four treatments but that a different number of observations (e.g., $n_{i}$ ) has been taken under each treatment. Assuming that $n_{1}=3, n_{2}=2,...
-
A member of the city commission insists that the citys internal service fund prepare and submit a budget for commission approval. The commissioner argues that it is only through the budget that the...
-
Prepare a condensed cost of goods manufactured schedule The following information is available for Sheridan Company at December 31, 2022: 1. Inventory balance Beginning of Year End of Year Finished...
-
Stoney Mason, Inc., has sales of $6 million, a total asset turnover ratio of 6 for the year, and net profits of $120,000. a. What is the company's return on assets or earning power? b. The company is...
-
Write a program in a script file that determines the real roots of a quadratic equation ax2 + bx + c = 0. Name the file quadroots. When the file runs, it asks the user to enter the values of the...
-
Write a program that generates a vector with 20 random elements between -10 and 10 and then finds the sum of the positive elements.
-
In the news Find an article in a newspaper, a magazine, or the Internet that compares two or more groups of data. 1. Does the article discuss the Ws? 2. Is the chosen display appropriate? Explain. 3....
-
1. What year are you preparing your students for? 1973? 1995? Provide evidence that your school's curriculum and the program you use are preparing your students for 2030? Are you even preparing them...
-
Find the formula for (g f)(x) and simplify your answer.
-
Nichole, who is single and uses the cash method of accounting, lives in a state that imposes an income tax. In April 2022, she files her state income tax return for 2021 and pays an additional $1,080...
-
On January 1, the Matthews Band pays $66,400 for sound equipment. The band estimates it will use this equipment for four years and after four years it can sell the equipment for $1,000. Matthews Band...
-
Net Present Value Method The following data are accumulated by Lingle Company in evaluating the purchase of $117,000 of equipment, having a 4-year useful life: Year 1 Year 2 Year 3 Year 4 Net Income...
-
In Exercises 59 through 62, use the vertical line test to determine whether or not the given curve is the graph of a function. 14
-
9.Consider the reaction 3NO2(g)+H2O=2HNO3(aq)+NO(g) where Delta H=-137 kJ.How many kilojoules are released when 92.3g of NO2 reacts?
-
Tim is employed at an annual salary of $23 999.04. His regular workweek is 36 hours and he is paid semi-monthly. (a) What is Tims gross pay per period? (b) What is his hourly rate of pay? (c) What is...
-
Artemis is paid a weekly commission of 4% on net sales of $6000, 8% on the next $3000, and 12.5% on all further sales. Her gross sales for a week were $11 160, and sales returns and allowances were...
-
Solve each of the following equations. a.15x = 45 b. -7x = 35 c. 0.9x = 72 d. 0.02x = 13 e. 1/6 x = 3
-
The product development process typically consists of several activities that firms adapt in the complex process of delivering new products to the market. A process management approach is used to...
-
In this warmup exercise, you will think divergently and generate options for alternative uses of simple objects. It is excellent as an icebreaker activity or as a purposeful creative thinking...
-
Given the following tax structure, what minimum tax would need to be assessed on Shameika to make the tax progressive with respect to average tax rates? Taxpayer Mihwah Shameika $ 56,000 Muni-Bond...
Study smarter with the SolutionInn App