Hi !! I want to find area under a sine curve , from interval 0.1 to 0.3.
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Nick Sharma
il 20 Ago 2018
Risposto: Nick Sharma
il 20 Ago 2018

I used the following command to find area under a sine curve , from interval 0.1 to 0.3.
Q=quad(@sin(x), 0.1, 0.3);
But it is not working.
Can somebody please help
0 Commenti
Risposta accettata
Più risposte (2)
Dimitris Kalogiros
il 20 Ago 2018
You have a syntax error on your command. You must omit parenthesis from sin function. I am giving it to you at the proper format:
Q=quad(@sin, 0.1, 0.3)
0 Commenti
Vedere anche
Categorie
Scopri di più su Calculus in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!