Question about Computers & Internet

1 Answer

Write a program to calculate Magic square Number A[4][4]

Posted by on

  • Arman
    Arman Sep 28, 2014

    [5][5]

×

1 Answer

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Vice President:

    An expert whose answer got voted for 100 times.

  • Master
  • 463 Answers

From Joe-Bob's handy-dandy reference:
(wikiedia...)

Normal magic squares exist for all orders n ≥ 1 except n = 2, although the case n = 1 is trivial—it consists of a single cell containing the number 1

The constant sum in every row, column and diagonal is called the magic constant or magic sum, M. The magic constant of a normal magic square depends only on n and has the value
Write a program to calculate Magic square Number A - 13652227c2537f1018ce4d011d792db1.png For normal magic squares of order n = 3, 4, 5, …, the magic constants are:
15, 34, 65, 111, 175, 260, …

Posted on Mar 06, 2009

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

How do I get all the factors of a constant using my calculator?


There is a program on page 253 of the manual (http://support.casio.com/manualfile.php?rgn=5&cid=004002013) to get the prime factors of any number. You could modify the program to get all the factors.

Another way would be to do it manually. I start with the number 1 and go up to the square root of the number. The square root of 120 is 10.95, so let's go up to 11. Using 120 as an example:

120 /1 = 120 thus factor is (1, 120)
120/2 = 60 thus factor is (2, 60)
120/3 = 40 thus factor is (3, 40)
120/4 = 30 thus factor is (4, 30)
120/5 = 24 thus factor is (5, 24)
120/6 = 20 thus factor is (6, 20)
120/7 = 1.7 thus 7 not a factor
120/8 = 15 thus factor is (8,15)
120/9 = 13.3 thus 9 is not a factor
120/10 = 12 thus factor is (10,12)
120/11 = 10.9 thus 11 is not a factor.

Good luck.

Paul

Jul 05, 2015 | Casio FX-9750GII Graphing Calculator

1 Answer

I'm trying to figure out a 3x3 magic square where the rows equal 21 18 10 and the columns equal 15 24 13 using the numbers 1-9


I don't think you can do it! Could you check your numbers.

If we are using the numbers 1-9 once and only once in a 3x3 magic square, the sum of the rows + the sum of the columns should be 90, since 1+2+3+4+5+6+7+8+9 in the rows adds up to 45 and 1+2+3+4+5+6+7+8+9 in the columns adds up to 45.

When trying to solve, the magic number seem to be the sums 24 and 10. To get 24, the only three numbers that add to 24 are 7 + 8 +9. Similarly to get 10, the lowest numbers re 1 and 2 and the smallest big number to use is 7. I then ran out of number trying to get 21, 13 and 15 sums.

Good luck,

Paul

May 21, 2015 | Office Equipment & Supplies

1 Answer

How do you use the square root on the ti 30xa


Put in the number and press the square-root key (two keys up from the 9 key). For example, to calculate the square root of 4, press 4 square-root.

Feb 12, 2014 | Texas Instruments TI-30XA Calculator

1 Answer

When I square a negative number, my calculator gives me a negative number. i.e. -4^2=-16


No, you're not squaring a negative number, you're negating a square. When you press (-) 4 ^ 2 ENTER , the calculator is calculating -(4^2). 4^2 is 16, and the negative of that is -16. What you want to do is to calculate (-4)^2 by pressing ( (-) 4 ) ^ 2 ENTER .

Jul 11, 2011 | Texas Instruments TI-83 Plus Calculator

1 Answer

I cant figure out how to get the square root of a negative number


The square root of a negative number is an imaginary number, and the TI-30XA does not deal with imaginary numbers.

However, the square root of -x is equal to i times the square root of x. So, to calculate the square root of -4, for example, press 4 square_root = and read 2. Thus the square root of -4 is 2i.

Oct 07, 2010 | Texas Instruments TI-30XA Calculator

1 Answer

The square root of any number using the TI83+ is different by a small amount from the TI89 differentiated number. Is the a programing issue?


Not the square root of any number. Both machines give the same result for the square root of 4, for example. The differences for other numbers are due to the fact that the two calculators use different processors and carry different numbers of significant digits for internal calculations. The square root of most numbers is an irrational number, with an infinite decimal representation. It has to be cut off somewhere. If you cut it off in two different places, you're going to get two different numbers (unless there happens to be zeroes where you cut...).

Jul 04, 2010 | Texas Instruments TI-83 Plus Silver...

1 Answer

When I square a negative number (eg -2^2) it gives me a negative answer (-4) why isn't it giving me a positive answer?


You're not squaring a negative number, you're negating a square. What you need to do is calculate (-2)^2 instead of the -(2^2) you're now calculating.

Feb 04, 2010 | Texas Instruments TI-83 Plus Calculator

1 Answer

Wrong answer with squared negatives.


Your calculator will square a number before it applies the negative sign, so what you're actually doing is squaring 2, then applying the - sign to your answer. You need to put the -2 in parenthesis, so (-2)^2. That will give you 4. Hope this helps!

Nov 12, 2008 | Texas Instruments TI-83 Plus Calculator

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

340 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...