?? xdfridr.c
字號(hào):
/* Driver for routine dfridr */#include <stdio.h>#include <math.h>#define NRANSI#include "nr.h"#include "nrutil.h"float func(float x){ return tan(x);}int main(void){ float x,h,dx,err; printf("input x, h\n"); while (scanf("%f %f",&x,&h) != EOF) { dx=dfridr(func,x,h,&err); printf("dfridr=%12.6f %12.6f %12.6f\n",dx,1.0/SQR(cos(x)),err); } return 0;}#undef NRANSI
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -