Typing a long and complicated equation
Ältere Kommentare anzeigen
Hi, i am trying to integrate my function but when i type out my equation it gives me the wrong answer and i suspect that i may not have typed my equation properly since its long and confusing, how do i type it the equation below properly on my script?please help. The small brackets inside the bigger squareroot covers evything there and then raise to the power of 2

1 Kommentar
Ameer Hamza
am 2 Apr. 2020
Can you shows us what you have typed?
Akzeptierte Antwort
Weitere Antworten (1)
David Hill
am 2 Apr. 2020
z=@(y)2*pi*(sqrt((44.56-y)/.16)+1).*sqrt(1+(1./(.32-.32*(sqrt((44.56-y)/.16)+1))).^2);
y=0:.01:10;%have no idea what you are integrating over
A=trapz(y,z(y));
1 Kommentar
WILLBES BANDA
am 2 Apr. 2020
Kategorien
Mehr zu Matrix Computations finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!