高分数学题目

来源:百度知道 编辑:UC知道 时间:2024/05/28 01:07:33
某企业有A和B两种经营收入,今年A种年收入是B种年收入的3被,预计明年A种年收入将减少8%,B种年收入将增加15%,则明年该企业的年收入将增加还是减少?

A=3B
A-A8%=(1-0.08)A=0.92A B+B15%=(1+0.15)B=1.15B
2A=6B
A>0.92A B<1.15B
A-0.92A=0.08A
1.15B-B=0.15B
0.08A=0.24B 0.15B*3=0.15A
0.24B<0.15B*3=0.45B
0.08A<0.15A
所以今年的收入是比较多的就是增加的

解:设今年B种经营收入为X,则今年A种经营收入为3X。即使今年总的年收入为X+3X=4X。
明年A种年收入为3X*(1-8%),明年B种经营收入为X*(1+15%),即明年总的年收入为3X*(1-8%)+X*(1+15%)=3.91X
显然3.91X<4X
所以明年的年收入相比今年为减少了。

今年A+B=3B+B=4B
明年A+B=3B*(1-8%)+B*(1+15%)=3.91B
4B>3,91B
所以是减少的

#include <stdio.h>

int main()
{
float a,b;
float na,nb;
float sum,nsum;
printf("please enter the number:(numbers only)\n");
scanf("%f",&b);
a=3*b;

sum=a+b;
na=a*(1-0.08);
nb=b*(1+0.15);
nsum=na+nb;
printf("The sum of this year will be %f\t(base the B is%f)\n",sum,b);
printf("The sum of next year will be %f\t(base the B is%f)\n",nsum,