Valeur trigonometrique erreur

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #218748 quote
    Antoine
    Participant
    Average

    Bonjour, je rencontre actuellement un problème sur la valeur de sin.

    Si je renvoie la valeur sur prt j’ai sin(2)=0.0349 alors que sur excel ou python je trouve sin(2)=0.909, je ne pense pas que se soit une erreur de conversion degrès rad..

    Savez vous d’ou vient mon erreur ? merci par avance

    #218752 quote
    druby
    Participant
    New
    //    sin(2 Deg) = 0.0349
    
    //    sin(2 Rad) = 0.909
    
    //    0.349 Deg x Pi / 180 = 0.0006091 Rad
    
    //    0.0006091 Rad x 180 / Pi = 0.349 Deg
    
    //    Pi = 3.142
    #218753 quote
    druby
    Participant
    New

    correction des erreurs

    //    sin(2 Deg) = 0.0349
    
    //    sin(2 Rad) = 0.909
    
    //    0.0349 Deg x Pi / 180 = 0.0006091 Rad     <--
    
    //    0.0006091 Rad x 180 / Pi = 0.0349 Deg     <--
    
    //    Pi = 3.142
    Nicolas and Antoine thanked this post
    #218769 quote
    Antoine
    Participant
    Average
    Bonjour Druby, j’ai déjà fait cette convertion. De ton côté tu ne tombes jamais sur la valeur 0.909 ? Pourtant si tu essayes avec excel ou python tu retombes bien sur cette valeur.. Merci pour ton aide
    #218781 quote
    Nicolas
    Keymaster
    Master
    Sin() renvoi la valeur en degrés par défaut, on ne peut pas modifier ce comportement et donc il faut faire une conversion si besoin d’obtenir un radian.
    Antoine thanked this post
    #218791 quote
    Antoine
    Participant
    Average
    Merci à tous les deux j’ai compris mon incompréhension Conversion Degres =2*180/PI=114.57 Expression de Sin en degrès = sin(114.57) = 0.909
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Valeur trigonometrique erreur


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Antoine @antoine83640 Participant
Summary

This topic contains 5 replies,
has 3 voices, and was last updated by Antoine
2 years, 7 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 08/08/2023
Status: Active
Attachments: No files
Logo Logo
Loading...