Modify primespiral to use your trinums

Assignment Help Mathematics
Reference no: EM13887460

Triangular num b ers are integers of the form n ( n + 1) / 2. The term comes from the fact that a triangular grid with n points on a side has a total of n ( n + 1) / 2 points. Write a function trinums(m) that generates all the triangular numbers less than or equal to m. Modify primespiral to use your trinums and become trinumspiral.

Reference no: EM13887460

Questions Cloud

Imagine that you cross two strains of beef cattle : Imagine that you cross two strains of beef cattle. The red cattle had an average body weight of 800 + 60 (mean + variance) pounds, while the brown cattle had an average body weight of 620 + 40 pounds. Imagine both these strains of potatoes are homozy..
Blood electrolyte imbalances : Several different types of electrolytes that can be found in body fluids located within the plasma, interstitial fluid, or intracellular fluid. Each electrolyte has a specific function, so having too much or too little of any component can cause seve..
What is the net present value of a project : What is the net present value of a project with the following cash flows if the discount rate is 14 percent?
What factors create demand for an independent external audit : What factors create a demand for an independent external audit? How does an audit enhance the quality of financial statements and management's reports on internal control?
Modify primespiral to use your trinums : Triangular num b ers are integers of the form n ( n + 1) / 2. The term comes from the fact that a triangular grid with n points on a side has a total of n ( n + 1) / 2 points. Write a function trinums(m) that generates all the triangular numbers l..
What was the sequence of the nontemplatestrand of the dna : If the RNA sequence is 5'-AUGUUUACG-3',  then what was the sequence of the nontemplatestrand of the DNA? Indicate whether it goes from 5' to 3' or 3' to 5'?
What is the special function that auditors perform : What is the "special function" that auditors perform? Whom does the external auditing profession serve in performing this special function?
What are the chances that their daughters will be colorblind : A few questions I would like to verify my answers to they are the following. Can you please diagram out how you came to your answers please. A woman who is colorblind marries a man with normal vision. What are the chances that their daughters will be..
Determine the after tax cost : Determine their after-tax cost assuming that: a. They won their case, and the IRS failed to demonstrate that its position was substantially justified. b. They won their case, but the IRS convinced the court that its position was substantially justifi..

Reviews

Write a Review

Mathematics Questions & Answers

  Find the reference angles q for the angles

Find the reference angles q for the angles given below. Find the quadrants in which the angles lie. In addition, show all the steps for deriving the answer.

  Determining normal subgroup proof

Let |G| be finite and N be a normal subgroup of G. If xN is an element of G/N and has order a power of p, show that there exists a y element of G such that |y| is a power of p and yN=xN.

  Calculate the value of the sample correlation coefficient

Calculate the value of the sample correlation coefficient between weekly sales & shelf space.

  For how many years will the field be contaminated

For how many years will the field be contaminated? (Round your answer to the nearest tenth.)

  A company finds that on average 20%

Resigning Probabilities, A company finds that on average 20% of all new employees resign during their first year of employment

  How many students were in math

a survey of 24 college students 17 students were in math, 16 were in english and 10 were in both english and math. How many students were in math?

  Question regarding equations and inequalities

Now choose a linear inequality of the form 5y 2x - 8. What are the major differences between the linear equation graph and the linear inequality graph?

  Which variables seem to be related

Obtain the matrix scatterplot (Graph Matrix plot) for all the continuous variables. Also, compute all pairwise correlations. Which variables seem to be related? Do the correlation values fully reect the extent of relationship between the variables..

  What is the annual compound interest rate for an investment

What is the annual compound interest rate for an investment modeled by the function y=12*1.18x?

  Explain how you would use probability, statistics

Explain how you would use probability, statistics and geometry in the computer forensics field, give one example of each to illustrate the concept.

  Determine the margin of error if 99% confidence is desired

Explain what assumption the researcher should be willing to make if a margin of error is desired.

  What is lens income tax

Len Mast earned $2,200 for the last two weeks. He is married, is paid biweekly, and claims 3 exemption. What is Len's income tax? Use the percentage method.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd