הודעה: כל הפרויקטים הלא מסחריים שנרשמו לשימוש ב-Earth Engine לפני 
15 באפריל 2025 חייבים 
לאמת את הזכאות לשימוש לא מסחרי כדי לשמור על הגישה. אם לא תאמתו את החשבון עד 26 בספטמבר 2025, יכול להיות שהגישה שלכם תושעה.
  
        
 
       
     
  
  
  
    
  
  
  
    
      ee.Number.tanh
    
    
      
    
    
      
      קל לארגן דפים בעזרת אוספים
    
    
      
      אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
  
  
מחשבת את הטנגנס ההיפרבולי של הקלט.
| שימוש | החזרות | 
|---|
| Number.tanh() | מספר | 
| ארגומנט | סוג | פרטים | 
|---|
| זה: input | מספר | ערך הקלט. | 
  
  
  דוגמאות
  
    
  
  
    
    
  
  
  
  
    
    
    
      עורך הקוד (JavaScript)
    
    
  // Input angle in radians.
print('Hyperbolic tangent of -5', ee.Number(-5).tanh());  // -0.999909204
print('Hyperbolic tangent of -1', ee.Number(-1).tanh());  // -0.761594155
print('Hyperbolic tangent of 0', ee.Number(0).tanh());  // 0
print('Hyperbolic tangent of 1', ee.Number(1).tanh());  // 0.761594155
print('Hyperbolic tangent of 5', ee.Number(5).tanh());  // 0.999909204
// Convert degrees to radians.
var degrees = 45;
var radians = degrees * (Math.PI/180);
print('Hyperbolic tangent of 45 degrees',
      ee.Number(radians).tanh());  // 0.655794202
  
    
  
  
    
  
  
  
  
    
  
    
  הגדרת Python
  מידע על Python API ועל שימוש ב-geemap לפיתוח אינטראקטיבי מופיע בדף 
    Python Environment.
  import ee
import geemap.core as geemap
  
    
    
      Colab (Python)
    
    
  import math
# Input angle in radians.
display('Hyperbolic tangent of -5:',
        ee.Number(-5).tanh())  # -0.999909204
display('Hyperbolic tangent of -1:',
        ee.Number(-1).tanh())  # -0.761594155
display('Hyperbolic tangent of 0:', ee.Number(0).tanh())  # 0
display('Hyperbolic tangent of 1:', ee.Number(1).tanh())  # 0.761594155
display('Hyperbolic tangent of 5:', ee.Number(5).tanh())  # 0.999909204
# Convert degrees to radians.
degrees = 45
radians = degrees * (math.pi/180)
display('Hyperbolic tangent of 45 degrees:',
        ee.Number(radians).tanh())  # 0.655794202
  
  
  
  
  
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
  עדכון אחרון: 2025-10-30 (שעון UTC).
  
  
  
    
      [null,null,["עדכון אחרון: 2025-10-30 (שעון UTC)."],[],[]]