Computers & Internet Logo

Related Topics:

Posted on Jan 23, 2008
Answered by a Fixya Expert

Trustworthy Expert Solutions

At Fixya.com, our trusted experts are meticulously vetted and possess extensive experience in their respective fields. Backed by a community of knowledgeable professionals, our platform ensures that the solutions provided are thoroughly researched and validated.

View Our Top Experts

C code code to give the output square root of an entered number without using library function math.h

  • Anonymous May 11, 2010

    Please give more context so that we know we are not doing your homework for you.

×

2 Answers

Chintu-KPV

Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that got 5 achievements.

Novelist:

An expert who has written 50 answers of more than 400 characters.

Champion:

An expert who has answered 200 questions.

  • Expert 202 Answers
  • Posted on Jan 24, 2008
Chintu-KPV
Expert
Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that got 5 achievements.

Novelist:

An expert who has written 50 answers of more than 400 characters.

Champion:

An expert who has answered 200 questions.

Joined: Jan 21, 2008
Answers
202
Questions
0
Helped
85982
Points
303

I don't know why u  asked for such a small problem.

This is the code. (works with TC++ v3) Have it. Enjoy :)

U may write on it to have a better output with some other datatype, if u want...

#include<stdio.h>
#include<conio.h>

float a, b, tmp;

void rooter()
{
tmp=b;
b=b-((b*b-a)/(2*b));
printf("\n%f",b);
if(tmp!=b) rooter();
}

void main()
{
clrscr();
printf("\n\n\n\t\t\t***********SQUARE ROOT OF A NUMBER***********\n\nPlease enter the number\t: ");
scanf("%f",&a);
b=1;
rooter();
getch();
}

Anonymous

Level 1:

An expert who has achieved level 1.

Corporal:

An expert that has over 10 points.

Mayor:

An expert whose answer got voted for 2 times.

Problem Solver:

An expert who has answered 5 questions.

  • Contributor 11 Answers
  • Posted on Jan 24, 2008
Anonymous
Contributor
Level 1:

An expert who has achieved level 1.

Corporal:

An expert that has over 10 points.

Mayor:

An expert whose answer got voted for 2 times.

Problem Solver:

An expert who has answered 5 questions.

Joined: Jan 24, 2008
Answers
11
Questions
0
Helped
5398
Points
32

Sqrt value will do for u

Ad

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

0helpful
1answer

How to do fifth square roots

If you mean the fifth root, use the xth-root function (MATH 5). For example, to calculate the fifth root of 32, press 5 MATH 5 3 2 ENTER
3helpful
1answer
2helpful
1answer

How do i use the cube root function? i can find the square root function, but at present it does not seem that the calculator has a cube root function.

There's a cube root function as the fourth item in the MATH menu. The fifth item is a general root function.

For example, to calculate the cube root of 8, press MATH 4 8 ENTER
0helpful
1answer

I dont know how to solve a squareroot problem with a little exponet in front of the square root

Use the xth-root function accessible by pressing MATH 5. For example, to find the third root of 8, press 3 MATH 5 8 ENTER.
5helpful
2answers

I'm doing radicals I need to type an exponent into my calculator that goes before the square root not after. how do i do that (5) as an exponent square root of 32.....the answer is 2 but how do i type it...

Use the xth-root function to compute any root. It's the fifth entry on the MATH menu, which you can get by pressing the MATH key. The fourth entry on the same menu gives you the third root without needing the 3 to be specified.

For example, to compute the 5th root of 32, press 5 MATH 5 3 2 ENTER.
0helpful
1answer

How do I use the TI 84 to solve for the x root? X= 18 ??

Press MATH to get to the MATH menu. There you'll see two different root functions there. Square root is on the keyboard as the 2ND shift of the square key.
5helpful
1answer

The TI-84 Plus Silver Edition - when dealing with roots and powers - how do you punch in the third root of or the fourth root of... also, how do you punch in ...the 3rd root of 8 cubed? or the 2nd root of...

Press the MATH key to bring up the Math menu. Option 3 gives you cubed, option 4 gives you cube root, option 5 gives you nth root.

For example, 3rd root of 8: MATH 4 8 ENTER gives 2.

4th root of 16: 4 MATH 5 16 ENTER gives 2.
4helpful
2answers

I need to know how to enter anything above cube root into my TI-83.

  1. Use the universal power key marked with [^].
  2. To avoid problems if the exponent is an expression, enclose it in parentheses.
  3. To enter any power type number^(exponent)
  4. If exponent is negative use the (-) change sign key next to the dot, below the 3 key.
  5. To calculate the roots (cubic, fourth, fifth, etc.) roots use the fact that a root of n-th order can be represented as ^(1/n)
  6. Ex: cube root of 27: 27^(1/3); square root of 64 : 64^(1/2) or 64^(0.5)
35helpful
3answers

Entering a cubed root into a ti-83 plus

You can enter any root by typing the number, then hitting MATH and 5, which brings up the root symbol with the x in front of it: x√. So the fifth-root would be 5 -> MATH -> 5 and then whatever number you want to get the fifth-root for: 5x√10 for example. As someone else had mentioned, you can also raise it to a rational power: 3^(1/3) which would be the same as the cubed root of 3, but you could also type: 3 -> MATH -> 5 -> 3 and get the same answer, but looking like this in your calculator: 3x√3. The option for 4 actually is a predefined cubed-root, and the one for option 5 there is the root symbol that can be used with any number before it to get any root you want. There are no parenthesis as you get when using the predefined square-root and cubed-root functions, though, so you may want to type them in yourself if entering a long string of operations in the calculator at one time to make sure the calculator doesn't include numbers under the root that you don't want it to. But I guess it depends on preference in terms of what method you choose between the rational exponents or the root symbol (and most would go with whichever seems easiest and quickest to enter), but you asked specifically how to get the cubed-root on the TI-83 Plus, so there's my best attempt at answering your question.
113helpful
5answers

HOW TO FIND CUBE ROOT

There is a way to do it. I believe you go into "complex" or "math" buttons. These buttons are yellow on the calculator. Therefore, to access them you must hit "2nd" then the button.

Better yet, you can also get around this dilemma another way. You can enter "the cubed root of x" by raising x to 1/3.

For example the cubed root of x = x^(1/3). It is best to place parentheses around 1/3 so the calculator knows exactly what you mean.

Another example, the "cubed root of (x + 1)" can be entered by:
(x+1)^(1/3) Note the parenteses around both (x+1) and (1/3). This applies if the radical cover both "x" and "1".

Hope this helps.
Not finding what you are looking for?

104 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

Brad Brown

Level 3 Expert

19187 Answers

Cindy Wells

Level 3 Expert

6688 Answers

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

Answer questions

Manuals & User Guides

Loading...