Question about Computers & Internet

1 Answer

How do I write these methods in Visual C++ 2008 program Method A. Pi= 4 ( 1 - 1/3 + 1/5 - 1/7 + 1/9 - ...) Method B. Pi= 2 ( 1 + 1/3 + (1*2)/(3*5) + (1*2*3)/(3*5*7) + ...) Method C. Pi= 2 * sqrt(3) * (1 - 1/(3*3^1) + 1/(5*3^2) - 1/(7*3^3) + 1/(9*3^4) - ...) Method D. Pi= [ 4 (4 * 4 * 8 * 8 * 12 * 12 * ...) ] / [ sqrt(2) * (3 * 5 * 7 * 9 * 11 * 13 ...) ] Method E. Pi = sqrt ( 6 * ( 1/1^2 + 1/2^2 + 1/3^2 + 1/4^2 + 1/5^2 ? ) ) ???

Posted by on

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.

    President:

    An expert whose answer got voted for 500 times.

  • Master
  • 2,777 Answers

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:

2 Answers

I have always wondered how people find pi. not how to use pi but how it came to be what it is in the first place. what is the equation for pi?


Hello Anthony.
There are perhaps quite a few methods how to calculate Pi. Pi being the ration of the Circumference of a circle to its diameter. The best method involves using the Fibonacci series of numbers as per the following link:

http://wiki.answers.com/Q/How_is_pi_calculated

Hope this helps :-)
Jeff

Nov 04, 2013 | Office Equipment & Supplies

1 Answer

Replaced chip on key on 91 DTS and car lost all power while driving. It shut down and nothing works.


There are 4 methods for programming key fobs. Up to 4 key fobs may be programmed to the remote control door lock receiver (RCDLR). Each programmed key fob is given a position of #1-#4 in the RCDLR memory.
Method 1 - Key Fob Quick Learn This procedure will add key fobs. Fobs will be numbered in sequence based on when they are programmed; if 2 fobs are currently programmed to the RCDLR, a fob programmed using this method will be numbered as Fob 3. This procedure requires that you have a known good key fob, a replacement key fob, and the vehicles mechanical key.

Important: This procedure is not available when the maximum number of fobs (4) have been programmed. If 4 key fobs are programmed to this RCDLR and this method is attempted, the driver information center (DIC) will display MAX FOBS LEARNED and the programming procedure will exit. Method 4 must be used in this instance.


The vehicle must be OFF.
Place a known key fob within the interior of the vehicle.
Insert the vehicle key in the driver door lock cylinder located in the driver door handle and cycle the key 5 times within 5 seconds.
The DIC will display a message: READY FOR FOB X (X = fob 2, 3, or 4).
Place the replacement key fob in the console fob pocket with the buttons facing forward.
A beep will occur and the DIC will display: READY FOR FOB X (X = fob 3 or 4) or MAX FOBS LEARNED.
If programming additional key fobs, repeat steps 5 and 6, or press the OFF/ACC portion of the ignition switch to exit programming mode.
Operate the active portion of each key fob in order to finalize the programming sequence and verify correct system operation.


Method 2 - Key Fob Slot Programming

This procedure will add or replace a key fob. Method 2 allows you to choose which location (slot) the unprogrammed fob will be learned to. If you are replacing a key fob, this method will erase the previously known key fob programmed to that particular slot. This procedure requires that you have a known good key fob, a replacement key fob, the vehicle mechanical key, and a scan tool.

Important: This procedure is not available when the maximum number of fobs (4) have been programmed. If 4 key fobs are programmed to this RCDLR and this method is attempted, the DIC will display MAX FOBS LEARNED and the programming procedure will exit. Method 4 must be used in this instance.


The vehicle must be OFF.
Place a known key fob within the interior of the vehicle.
Install a scan tool.
Use the scan tool, to access the following:
• Vehicle Control Systems

• Computer/Integrating Systems

• Module Replacement/Setup

• RCDLR

• Program Key Fobs

Insert the vehicle key in the driver door lock cylinder located in the driver door handle and cycle the key 5 times within 5 seconds.
Select Fob X (X = 1, 2, 3, or 4) on the scan tool. This will be the slot you wish to program to.
Place the replacement key fob in the console pocket with the buttons facing forward. A beep will occur indicating programming completion. The previously known fob is now erased.
If programming additional key fobs, repeat steps 4-8, or press the OFF/ACC portion of the ignition switch to exit programming.
Remove the scan tool.
Operate the active portion of each key fob in order to finalize the programming sequence and verify correct system operation.


Method 3 - Key Fob Auto Learn

This procedure will first erase all known key fobs. The procedure will then program a single or multiple key fobs. Method 3 is a series of three 10-minute key cycles, for a total of 30 minutes. This procedure requires that you have a replacement key fob and the vehicle mechanical key.

Important: All previously programmed key fobs will be erased upon completion of the 30-minute programming procedure. The order in which the key fobs are programmed will determine its numbering position within the RCDLR memory. The first key fob programmed will be key fob #1, and the second key fob programmed will be key fob #2. The number stamped on the key fob case is for reference only: #2 can be programmed as #1.
Do not place any known good key fobs in the vicinity of the vehicle when programming with Method 3. If the RCDLR recognizes a known good key fob during Method 3 programming, the programming mode will resort to Method 1.


The vehicle must be OFF.
Place the replacement key fob in the console pocket with the buttons facing forward.
Insert the vehicle key in the driver door lock cylinder located in the driver door handle and cycle the key 5 times within 5 seconds.
The DIC will display a message: OFF/ACC TO LEARN.
Press the OFF/ACC portion of the ignition button.
The DIC will display a message: WAIT 10 MINUTES, then it will count down from 10 to 0, one minute at a time.
When the counter reaches 0, DIC will display OFF/ACC TO LEARN.
Repeat steps 5-7 two more times, for a total of 30 minutes.
The DIC will display a message: OFF/ACC TO LEARN.
Press the OFF/ACC portion of the ignition button.
A beep will occur and the DIC will display: READY FOR FOB 1. At this time all previously known key fobs have been erased. When fob 1 is programmed a beep will be heard and the DIC will display a message: READY FOR FOB 2.
Additional key fobs can be programmed by taking fob 1 out of the pocket and inserting fob 2. If desired, up to 4 fobs can be programmed. Once 4 fobs have been learned, the DIC will display a message: MAX FOBS LEARNED, and automatically exit the program mode.
If learning less than 4 key fobs, press the OFF/ACC portion of the ignition button to exit the program mode.
Operate the active portion of each key fob in order to finalize the programming sequence and verify correct system operation.


Method 4 - Service Programming System Fob Programming

This procedure is a 10-minute relearn procedure using the Techline Terminal with SPS software. Once the 10-minute timer has expired, the fobs can be programmed similar to Method 2 using slot programming. A scan tool, Techline Terminal, and a replacement key fob are required to perform this procedure.

Place the vehicle in the Vehicle On, Engine Off mode.
Connect a scan tool to the vehicle.
Insure that all power consuming devices are turned OFF on the vehicle.
With a scan tool, select Request Info under Service Programming System and follow the scan tool on-screen instructions.
Disconnect the scan tool from the vehicle and connect the scan tool to a Techline Terminal with the current Service Programming System (SPS) software.
Turn the vehicle OFF.
On the Techline Terminal, select Service Programming System and follow the Techline Terminal on-screen instructions. Ensure the correct programming procedure is selected based on component being replaced or programmed. See Important above.
Disconnect the scan tool from the Techline Terminal and re-connect the scan tool to the vehicle.
With a scan tool, select Program ECU under Service Programming System.
At this point the scan tool must remain connected for the duration of the 10 minute relearn procedure.
When the 10 minute relearn procedure has completed, use the scan tool to access the following:
• Vehicle Control Systems

• Computer/Integrating Systems

• Module Replacement/Setup

• RCDLR

• Program Key Fobs

Select Fob X (X = 1, 2, 3, or 4) on the scan tool. This will be the slot you wish to program to.
Place the replacement key fob in the console pocket with the buttons facing forward. A beep will occur indicating programming completion. The previously known fob is now erased.
If programming additional key fobs, repeat steps 12-13, or press the OFF/ACC portion of the ignition switch to exit programming.
Remove the scan tool.
Operate the active portion of each key fob in order to finalize the programming sequence and verify correct system operation.

Oct 26, 2011 | 2006 Cadillac DTS

1 Answer

I LOST MY CHEROKEE CONTROL REMOTE ALARM, I BOUGHT A NEW ONE BUT ITS NOT PROGRAMMED AND I WOULD LIKE TO HAVE SOME HELP TO SOLVE THIS PROBLEM. CAN YOU TELL ME HOW TO PROGRAM IT. IT IS A CHEROKEE LAREDO...


NOTE :PLEASE READ INSTRUCTIONS FULLY BEFORE ATTEMPTING TO PROGRAM TRANSMITTERS.
Program Method A (Customer Program Method)
1. Press (LOCK) button 5 times at 2 second intervals to resynchronize transmitter. Attempt to function transmitter, if working as designed discontinue programming.
2. Turn ignition to run position. (Allow ignition chimes to stop).
3. Using any original (working) transmitter, press the [UNLOCK] button for 4 to 10 seconds.
4. Within the specified 4 to 10 seconds, continue pressing the [UNLOCK] button and press the [PANIC] button for 1 second and release both buttons (AN/DN release either button first). A chime will sound to indicate that the transmitter programming mode has been entered (allow 3 seconds for chime to sound).
5. Press [LOCK] and [UNLOCK] buttons simultaneously for 1 second and release (a short chime will sound for AN/DN).
6. Press and release any button on the same transmitter and a chime will sound after successfully programming the transmitter (locks will cycle for AN/DN).
NOTE :(FOR DR ONLY) A CHIME WILL NOT SOUND ON STEP # 6 FOR THE FIRST TRANSMITTER PROGRAMMED, BUT WILL SOUND UPON PROGRAMMING THE SECOND TRANSMITTER.
7. Repeat steps 5 through 6 to program additional transmitters.
8. Turn ignition to OFF position. Transmitter programming mode v/ill discontinue after 60 seconds (30 seconds for AN/DN and RS). (All transmitter programming must be completed within time specified).
Program Method B (Customer Program Method)
1. Press [LOCK] button 5 times at 2 second intervals to resynchronize transmitter. Attempt to function transmitter, if working as designed discontinue programming.
2. Turn ignition to the run position (Allow ignition chimes to stop).
3. Using original transmitter, press and hold the [UNLOCK] button on the transmitter for between 4 and 10 seconds.
4. Continue to hold the [UNLOCK] button and press the [PANIC] button. A chime will sound to indicate that the transmitter programming mode has been entered (Allow 3 seconds for chime to sound).
5. Press a button on all transmitters to be programmed into the system including any previously programmed transmitters; a chime will sound when each transmitter has been programmed.
6. Turn the ignition to OFF position to exit the transmitter programming mode.
Program Method C (Dealer Program Method) *Can be used for any type transmitter.
1. Press [LOCK] button 5 times at 2 second intervals to resynchronize transmitter. Attempt to function transmitter, if working as designed discontinue programming.
2. Turn ignition to the run position (Allow ignition chimes to stop).
3. Plug DRBIII to vehicle's 1-way data link connector.
4. Follow Service Manual and DRBIII instructions to program transmitters.
Program Method D (For use with AB vehicles not equipped with VTSS only)
1. Locate the dark green program enable wire connected to pin # 1 of the 16-way data link connector under the left side of the instrument panel.
2. Connect the program enable wire terminal to a good ground.
3. Insert the key into the ignition and turn the ignition switch to the ON position. The power locks will cycle (Lock and Unlock) indicating that program mode has been entered.
4. Using the transmitter to be programmed, press either [LOCK] or [UNLOCK]. The power locks will cycle indicating the transmitter has been programmed successfully.
5. Repeat step 4 to program additional transmitter.
6. Disconnect the program enable wire from ground to exit program mode.
7. Turn the ignition to the OFF position and remove the key.
NOTE :REFER TO DAIMLERCHRYSLER MDS2 SYSTEM OR PARTS DEPARTMENT TO OBTAIN THE CORRECT PART NUMBER AND REVISION FOR SPECIFIED VEHICLE.

Dec 18, 2010 | 2002 Jeep Grand Cherokee

1 Answer

How much mpg does it get?


EPA Official City MPG: 18
City MPG (2008 computation method): 16
City MPG (before adjustments): 20

EPA Official Highway MPG: 28
Highway MPG (2008 computation method): 26
Highway MPG (before adjustments): 36

EPA Official Combined MPG: 21
Combined MPG (2008 computation method): 20
Combined MPG (before adjustments): 25

Nov 04, 2010 | 1992 Buick Regal

2 Answers

How do you graph y = the inverse contangent of x?


The cotangent function is not implemented on the TI84PLUS native OS and consequently you will not find its inverse function on the calculator. However, there exits an equivalence (definition) between arc cotangent(x) and arc tangent (1/x).
Thus cot^(-1)(X)= tan^(-1)(1/X),

Be careful. Since it is a multivariate function, some authors define the principal branch in the domain [0, PI], while others define the domain on [-Pi/2, Pi/2]. You will have to consult your textbook, or the documents you are using to find out the domain of the principal branch.

Apr 12, 2010 | Texas Instruments TI-84 Plus Calculator

3 Answers

How i can pause and continue a timer in visual c# i am making a stopwatch ........ pleas help


I would suggest you use the stopwatch class! Here is a nice example.

If this helped please help me and vote kindly!

Jun 12, 2009 | Microsoft ASP.NET Programming with MS...

1 Answer

Hi everybody can anyone help me with the project ''Data Hiding in Audio Files'' project in Java and how to run the project with full source code to


The Circle Class Using Data Hiding and Encapsulation package shapes; // Specify a package for the class public class Circle { // The class is still public // This is a generally useful constant, so we keep it public public static final double PI = 3.14159; protected double r; // Radius is hidden, but visible to subclasses // A method to enforce the restriction on the radius // This is an implementation detail that may be of interest to subclasses protected checkRadius(double radius) { if (radius < 0.0) throw new IllegalArgumentException("radius may not be negative."); } // The constructor method public Circle(double r) { checkRadius(r); this.r = r; } // Public data accessor methods public double getRadius() { return r; }; public void setRadius(double r) { checkRadius(r); this.r = r; } // Methods to operate on the instance field public double area() { return PI * r * r; } public double circumference() { return 2 * PI * r; } }

Mar 25, 2009 | Computers & Internet

1 Answer

How do copy a table from an access database in one folder to another access database in another folder through visual basic code


Simple method Open both tables (or create second) and copy each record from source to target through 'do while not eof' or 'for each' syntax.

Second solution create link in target DB for first table, and use SELECT INTO statment in SQL.

Mar 02, 2009 | Microsoft Visual Basic 6.0 for PC

1 Answer

Program in c++


how can i make a program of resume using Visual c++?

Dec 03, 2008 | ArcMedia JavaScript Source Code 3000 Pro...

1 Answer

Visual foxpro help file


It must be database corruption
You may work problem out with the aid of program method

http://www.dbf.fixtoolbox.com - tool must aid

Jul 05, 2008 | Computers & Internet

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

Related Topics:

52 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...