作业帮 > 综合 > 作业

将代数式写成C语言表达式

来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/09/21 18:47:40
将代数式写成C语言表达式
sin50度
arccos(x)
tg(arctg(5/6)-arctg(7/8))
x^2-e^22
还有根号派怎么表示啊?
将代数式写成C语言表达式
#include
sin50度——sin(50/180*3.1415926)
arccos(x)——acos(x)
tg(arctg(5/6)-arctg(7/8))——tan(atan((double)5/6)-atan((double)7/8))
x^2-e^22——pow(x,2)-pow(e,22) //e的值我忘了,pow是C++的函数我忘了C语言中是否有
sqrt(3.1415926)