码迷,mamicode.com
首页 > 编程语言 > 详细

指数函数在c语言实现

时间:2020-02-27 16:16:14      阅读:104      评论:0      收藏:0      [点我收藏+]

标签:getch   ima   style   欧拉   while   common   语言   mamicode   aci   

                                                        指数很重要,比如有一些欧拉公式

                                                       技术图片

#include "common.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
 
static float Mathematical_modeling = 0;
static int   capacitance_modeling  = 0;
static float value = 0;


int main()
{
    //e^pi*i+1 = 0; 欧拉公式 //可惜i写不出来
    value = (float)exp(2);
    printf("value is e =%d\n", value);
    while (1)
    {
        getchar();
    }
    return 0;
} 

 

指数函数在c语言实现

标签:getch   ima   style   欧拉   while   common   语言   mamicode   aci   

原文地址:https://www.cnblogs.com/nowroot/p/12372444.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!