知识打卡(4):Mathematica学习1-mathematica入门

2023-08-11 21:08:51

 

分享知识、传播快乐、增长见闻、留下美好,大家好,这里是Leanringyard学院。今天以及后面的文章,小编将持续为大家带来Mathematica入门教程系列文章。今天的主题就是:Mathematica学习1。

四则运算和多项式的四则运算

Four operations and four operations of polynomials

1问

如何使用mathematica进行基础四则运算?How to use Mathematica for basic four operations?

在编辑界面可直接输入计算公式,选择计算功能或者shift+enter计算出结果,比较简单就不做过多叙述。

In the editing interface, you can directly enter the calculation formula, select the calculation function or shift + enter to calculate the result. It is relatively simple and will not be described too much.

2问

如何使用mathematica进行多项式四则运算?How to use Mathematica to perform four polynomial operations?

(1)多项式计算可以直接输入需要计算的公式,shift+enter。

(1) Polynomial calculation can directly enter the formula to be calculated, shift + enter.

(2)也可以使用Collect(合并同类项),这里为了表达方便,我们先命名表达式,在使用同类项合并函数。

(2) You can also use collect (merge similar items). Here, for convenience of expression, we first name the expression and use the similar item merge function.

(3)由于软件自己带的计算功能不具有化简功能,我们还可以使用FullSimplify,直接化简。

(3) Since the calculation function of the software does not have the simplification function, we can also use fullsimplify to simplify directly.

求解多项式方程Solving polynomial equations

1问

如何求解四次或四次以下的多项式方程

How to solve polynomial equations of quartic or less

掌握Solve[]函数,具体使用见下图所示例子。

Master the solve [] function. See the example below for specific use.

2问

如何求解五次及以上的多项式方程?

How to solve polynomial equations of fifth degree and above?

掌握NSolve函数,如下图例子所示。

Master the NSOLVE function, as shown in the example below.

如何求解方程组?

How to solve the equations?

同样使用Solve函数,输入对应的方程组即可。

Similarly, use the solve function and enter the corresponding equations.

求导

Derivation

1问

偏导数与导数是一样的吗?

Is the partial derivative the same as the derivative?

前面小编讲过如何求偏导,偏导数是对含有两个自变量的函数其中一个变量进行求导;而求导是指对只含有一个自变量的函数进行求导。这里我们将不再讲解求偏导。

The previous small series talked about how to find the partial derivative. The partial derivative is to find the derivative of one of the variables of a function containing two independent variables; Derivation refers to the derivation of a function containing only one independent variable. We wont talk about finding partial derivatives here.

2问

如何进行求导?

How to derive?

同样使用D[]。求一阶导:

Also use d []. Find the first derivative:

求二阶导:

Find the second derivative:

今天的分享就到这里了。

如果您对今天的文章有独特的想法,

欢迎给我们留言,

让我们相约明天,

祝您今天过得开心快乐!

参考资料:谷歌翻译、百度百科,田琦师姐Mathematica教程

本文由LearningYard学苑原创,如有侵权请沟通。


以上就是关于《知识打卡(4):Mathematica学习1-mathematica入门》的全部内容,本文网址:https://www.7ca.cn/baike/64136.shtml,如对您有帮助可以分享给好友,谢谢。
标签:
声明

排行榜