For faster navigation, this Iframe is preloading the Wikiwand page for جبر رایانه‌ای.

جبر رایانه‌ای

نمونه ای از جبر رایانه ای

جبر رایانه‌ای (به انگلیسی: Computer Algebra) یا محاسبات نمادین (به انگلیسی: Symbolic Computations) به بکارگیری رایانه برای محاسبه عبارات و روابط ریاضی در شکل نمادین آن‌ها اشاره دارد. نوع دیگر به‌کارگیری رایانه برای محاسبه معادلات ریاضی محاسبات عددی است که استفاده از تقریب برای مقادیر عددی که با آن نمادها نشان داده شده‌اند، می‌باشد. برخی از دانشمندان این رشته عبارت Computer Algebra یا Algebraic Computation را به جای محاسبات نمادین به کار می‌برند.[۱]

مثلاً برای محاسبه انتگرال معین توسط جبر رایانه‌ای، مجموعه‌ای از دستورهای رشته‌ای برای تعیین انتگرال نامعین صورت می‌گیرند و در حاصل، مقادیر عددی جایگزین می‌شوند.

از جمله نرم‌افزارهای متداول در محاسبات نمادین Maple, Mathematica, Sage و sympy در پایتون می‌باشد.

مثال

[ویرایش]

انتگرال‌گیری توسط sympy

>>> from sympy import init_printing, integrate, Symbol, exp, cos, erf
>>> init_printing()
>>> x = Symbol("x")
>>> # Polynomial Function
>>> f = x**2 + x + 1
>>> f
 2        
x  + x + 1
>>> integrate(f, x)
 3    2    
x    x     
── + ── + x
3    2     
>>> # Rational Function
>>> f = x / (x**2 + 2 * x + 1)
>>> f
     x      
────────────
 2          
x  + 2⋅x + 1

>>> integrate(f, x)
               1  
log(x + 1) + ─────
             x + 1
>>> # Exponential-polynomial functions
>>> f = x**2 * exp(x) * cos(x)
>>> f
 2  x       
x ⋅ℯ ⋅cos(x)
>>> integrate(f, x)
 2  x           2  x                         x           x       
x ⋅ℯ ⋅sin(x)   x ⋅ℯ ⋅cos(x)      x          ℯ ⋅sin(x)   ℯ ⋅cos(x)
──────────── + ──────────── - x⋅ℯ ⋅sin(x) + ───────── - ─────────
     2              2                           2           2    
>>> # A non-elementary integral
>>> f = exp(-(x**2)) * erf(x)
>>> f
   2       
 -x        
ℯ   ⋅erf(x)
>>> integrate(f, x)

  ___    2   
╲╱ π ⋅erf (x)
─────────────
      4

منابع

[ویرایش]
  1. نویسندگان ویکی‌پدیای انگلیسی (بازبینی شده در ۱۵ اسفند ۱۳۹۵). "Symbolic Computation" (به انگلیسی). ((cite web)): Check date values in: |تاریخ= (help)
{{bottomLinkPreText}} {{bottomLinkText}}
جبر رایانه‌ای
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?