الفرق بين المراجعتين لصفحة: «برمجة سي ++/الدرس الثالث»
تم حذف المحتوى تمت إضافة المحتوى
لا ملخص تعديل |
لا ملخص تعديل |
||
سطر 4:
cin>>x;
</div>
'''الدوال الرياضية'''
لأستخدام الدوال الرياضية يجب تضمين ملف الرياضيات math.h الذي يحتوي الدوال الأساسية لأتمام العمليات والمعادلات الرياضية.
اولاً: الدوال المثلثية
<div dir="ltr">
double</font><font SIZE="2" color="#0000FF">
</font><font SIZE="2"> acos(</font><font SIZE="2" COLOR="#0000ff">double</font><font SIZE="2">);</font></p>
<p><font SIZE="2" COLOR="#0000ff">double</font><font SIZE="2" color="#0000FF">
</font><font SIZE="2"> asin(</font><font SIZE="2" COLOR="#0000ff">double</font><font SIZE="2">);</font></p>
<p align="left"><font SIZE="2" COLOR="#0000ff">double</font><font SIZE="2" color="#0000FF">
</font><font SIZE="2"> atan(</font><font SIZE="2" COLOR="#0000ff">double</font><font SIZE="2">);</p>
</font>
<p><font SIZE="2" COLOR="#0000ff">double</font><font SIZE="2" color="#0000FF">
</font><font SIZE="2"> cos(</font><font SIZE="2" COLOR="#0000ff">double</font><font SIZE="2">);</font></p>
<font SIZE="2">
<p align="left"></font><font SIZE="2" COLOR="#0000ff">double</font><font SIZE="2" color="#0000FF">
</font><font SIZE="2"> sin(</font><font SIZE="2" COLOR="#0000ff">double</font><font SIZE="2">);</p>
<p align="left"></font><font SIZE="2" COLOR="#0000ff">double</font><font SIZE="2" color="#0000FF">
</font><font SIZE="2"> sinh(</font><font SIZE="2" COLOR="#0000ff">double</font><font SIZE="2">);</p>
<p align="left"></font><font SIZE="2" COLOR="#0000ff">double</font><font SIZE="2" color="#0000FF">
</font><font SIZE="2"> tan(</font><font SIZE="2" COLOR="#0000ff">double</font><font SIZE="2">);</p>
<p align="left"></font><font SIZE="2" COLOR="#0000ff">double</font><font SIZE="2" color="#0000FF">
</font><font SIZE="2"> tanh(</font><font SIZE="2" COLOR="#0000ff">double</font><font SIZE="2">);</p>
</font>
<p align="left">
</div>
|