Question
upstudy study bank question image url

EXERCICE 2 : Dans le plan muni d'un repère \( (\mathrm{O} ; \mathrm{I}, \mathrm{J}) \), on considère les points \( A(-3+x ; 1) \) et \( B(3 ; 2 x-1) \) \( 1: \) Calculer les distances \( \mathrm{OA}, \mathrm{OB} \) et AB en fonction de \( x \) \( 2: \) Déterminer la valeur de \( x \) pour que \( A O B \) soit rectangle en O EXERCICE 3 : Sur un site internet, si la commande est inférieure à \( 100 € \), il y a \( 10 € \) de frais de port, sinon les frais de port sont offerts . 1 : Combien doit payer un client pour une commande de \( 70 € \) ? et pour une commande de \( 200 € \) ? \( 2: \) Ecrire un programme Python qui demande le montant de la commande et qui affiche le prix total à payer .

Ask by Simmons Gray. in France
Dec 14,2024

Upstudy AI Solution

Tutor-Verified Answer

Answer

### EXERCICE 2 1. **Calcul des distances \( \mathrm{OA}, \mathrm{OB} \) et \( AB \)** - **Distance \( \mathrm{OA} \)** : \[ \mathrm{OA} = \sqrt{(-3+x)^2 + 1} \] - **Distance \( \mathrm{OB} \)** : \[ \mathrm{OB} = \sqrt{9 + (2x-1)^2} \] - **Distance \( AB \)** : \[ AB = \sqrt{(-6+x)^2 + 4(1-x)^2} \] 2. **Déterminer la valeur de \( x \) pour que \( A O B \) soit rectangle en \( O \)** Pour que \( AOB \) soit rectangle en \( O \), résoudre l'équation \( \mathrm{OA}^2 + \mathrm{OB}^2 = AB^2 \). ### EXERCICE 3 1. **Calcul du montant à payer pour les commandes** : - Commande de \( 70 € \) : Total \( 80 € \) - Commande de \( 200 € \) : Total \( 200 € \) 2. **Programme Python** : ```python # Programme pour calculer le prix total à payer montant_commande = float(input("Entrez le montant de la commande : ")) if montant_commande < 100: frais_port = 10 else: frais_port = 0 total_a_payer = montant_commande + frais_port print(f"Le prix total à payer est : {total_a_payer} €") ```

Solution

Sign in to Unlock Answers for Free!

A Learning Platform Trusted by Millions of Real Students and Teachers.

star-icon Unlock

Answered by UpStudy AI and reviewed by a Professional Tutor

The Deep Dive

Pour l'exercice 2, pour calculer les distances, on utilise la formule de la distance entre deux points dans le plan. Pour le point \( A(-3+x ; 1) \), la distance \( OA \) est \( OA = \sqrt{(-3+x)^2 + 1^2} \). Pour \( OB \), avec \( B(3 ; 2x-1) \), on a \( OB = \sqrt{(3)^2 + (2x - 1)^2} \). La distance \( AB \) peut être obtenue avec la même formule pour le segment entre \( A \) et \( B \). Au niveau du rectangle en \( O \), on résout en posant que les vecteurs \( OA \) et \( OB \) sont orthogonaux, ce qui signifie leur produit scalaire est nul. Pour l'exercice 3, pour une commande de \( 70 € \), le client paiera \( 80 € \) avec les frais de port. Pour une commande de \( 200 € \), la livraison est gratuite, donc il paiera juste \( 200 € \). Concernant le programme Python, voici un petit bout de code pour cela : ```python montant = float(input("Entrez le montant de la commande : ")) frais_port = 10 if montant < 100 else 0 prix_total = montant + frais_port print(f"Le prix total à payer est de : {prix_total} €") ```

Related Questions

Try Premium now!
Try Premium and ask Thoth AI unlimited math questions now!
Maybe later Go Premium
Study can be a real struggle
Why not UpStudy it?
Select your plan below
Premium

You can enjoy

Start now
  • Step-by-step explanations
  • 24/7 expert live tutors
  • Unlimited number of questions
  • No interruptions
  • Full access to Answer and Solution
  • Full Access to PDF Chat, UpStudy Chat, Browsing Chat
Basic

Totally free but limited

  • Limited Solution
Welcome to UpStudy!
Please sign in to continue the Thoth AI Chat journey
Continue with Email
Or continue with
By clicking “Sign in”, you agree to our Terms of Use & Privacy Policy