New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

plz c this fortran code

Post Reply New Thread Subscribe

Thread Tools

Member Since: Oct 01, 2010
Posts: 1
ahmed45 is on a distinguished road

ahmed45 is offline
hello..this is a general newton forward difference ccode..where and what will change for newtons forward DIVIDED difference?.
.program Divided_Differences_Iterpolation dimension x(20),y(20),d(20,20)
data (x(i), i=1,7) /0,.5,1,1.4,2,3.2,5.5/
data (y(i), i=1,7)/-1.25,-3.5,6,2.32,1.5,1.27,5.6/
do i=1,n-1
do j=1,n-i
d(i,j)=y(j) print*,d(i,j)
do i=1,n-1
do j=1,i p=p*(xx-x(j))
s=s+d(i,1)*p enddo print*,'Inte
rpolation of(',xx,')=',s

please ..a quick reply is needed..thank u
QUOTE Thanks

xstep's Avatar
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
First, what is the question? We don't do peoples homework for them here.

Second, if you are going to post code, use the CODE tag to wrap it. Also make it cleanly formatted. Yours is messy and difficult to follow in a few places.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks

Post Reply New Thread Subscribe

« Reading and displaying iTunes tags | NSTextField doesnt change textColor »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
How do I add a tracking code to my iWeb page? Rikki Web Design and Hosting 6 10-08-2010 09:54 PM
Help with XCode and Fortran rosula2008 OS X - Development and Darwin 3 01-28-2009 12:20 PM
Malicious code .... how much of a risk taker are you ? McBie Schweb's Lounge 4 12-13-2008 12:52 PM

All times are GMT -4. The time now is 05:53 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?