# 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

• 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

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).
Good luck!

Posted on Jan 02, 2017

×

my-video-file.mp4

×

## Related Questions:

### 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:

Hope this helps :-)
Jeff

Nov 04, 2013 | Office Equipment & Supplies

### 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

### How much mpg does it get?

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

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

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

Nov 04, 2010 | 1992 Buick Regal

### A compatible version of Visual Studio 2008 was not

It reads like you bought or downloaded an update for an existing Visual Studio 2008 program. If you don't have the original program, the update won't do you any good. If I've misinterpreted the problem, please elaborate.

Dec 12, 2017 | Microsoft Visual Studio 2008 Professional...

### 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

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

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

### 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

### 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

### Program in c++

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

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

### 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

## Open Questions:

#### Related Topics:

53 people viewed this question

Level 3 Expert

Level 3 Expert