[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

math/physics

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 9
Thread images: 3

File: jet.png (66KB, 1034x539px) Image search: [Google]
jet.png
66KB, 1034x539px
This is supposed to be programming project in one of the C books.
I wrote a program and got 63.44 as an answer for the given values.
Can anyone calculate this to double check if my program is correct?
>>
>>366204
I think you forgot to divide by two? Try solving the bottom equation for t, then plugging that into the top equation and solving for a. You'll end up with a textbook equation that they didn't give you because it'd make the problem too easy, I suppose. +1 for not forgetting to convert to m/s, which is the error I expected to find.
>>
>>366214
Just to be clear: your answer for acceleration is exactly double what it should be.
>>
>>366214
>>366215
Ok thank you, that helps a lot. I will check my program and algebra again
>>
>>366204
t = v/a inserted in second equation:
s = 0.5 a (v/a)^2 = v^2/(2a)
a = v^2/(2s)

v = 278 km/h = 77.22222 m/s
s = 94 m
a = 31.72 m/(s^2)
>>
File: jet.jpg (24KB, 584x202px) Image search: [Google]
jet.jpg
24KB, 584x202px
>>366413
>>366214
thanks guys
>>
>>366512
You should be returning 0.
>>
File: jet.jpg (24KB, 651x242px) Image search: [Google]
jet.jpg
24KB, 651x242px
>>366531
Right, thanks
>>
>>366204
Dump that book and read K&R C, it's the definitive guide.
Thread posts: 9
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.