高等数学Mathematica实验题——1.2-28.分段函数的复合函数的求解及图形绘制(Composition of Piecewise Function)

" 分段函数,就是对于 自变量 x的不同的 取值范围 ,有着不同的解析式的函数。它是一 个函数,而不是几个函数;分段函数的 定义域 是各段函数定义域的 并集 值域 也是各段 函数值 的并集。"
" In mathematics , a piecewise-defined function (also called a piecewise function or a hybrid function ) is a function defined by multiple sub-functions, each sub-function applying to a certain interval of the main function's domain, a sub-domain. Piecewise is actually a way of expressing the function, rather than a characteristic of the function itself, but with additional qualification, it can describe the nature of the function. For example, a piecewise polynomial function is a function that is a polynomial on each of its sub-domains, but possibly a different one on each."

1.2-28.设函数f(x)=If[x >= 1, -x, x],g[x] = If[x >= 0, x^2 - 3, 1 - x],求f[g(x)]和g[f(x)],并绘制它们的图形。
解答:


备注:1. Mathematica的输出,和手算结果一致
          2. 结果要化简,不然看不懂
          2. 除了用Piecewise定义分段函数,还可以用If定义,计算结果一致

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值