• 전문가 요청 쿠폰 이벤트
*지*
Bronze개인
팔로워0 팔로우
소개
등록된 소개글이 없습니다.
전문분야 등록된 전문분야가 없습니다.
판매자 정보
학교정보
입력된 정보가 없습니다.
직장정보
입력된 정보가 없습니다.
자격증
  • 입력된 정보가 없습니다.
판매지수
전체자료 3
검색어 입력폼
  • 피보나치수열, c언어, 재귀함수, 자료구조 평가B괜찮아요
    프로그래밍 과제 #1(피보나치 수)Homework01.c (c 언어 사용)❏ 문제 : 주어진 양의 정수값 N에 대해 피보나치 수 Fn 을 계산하는(1) 재귀 프로그램과 (2) 반복 프로그램을 각각 작성하여, 다음 N = 0, 1, 5, 10, 15, 20, …값에 대한 피보나치 수를 출력하고 수행시간을 조사한다.➊ 재귀 프로그램재귀 함수를 이용하여 피보나치 수를 구할 수 있다.Fib(n) = Fib(n-1) + Fib(n-2)이 함수를 이용하여 피보나치 수를 구할 경우, 피보나치 함수를 그대로 이용하여 문제 해결은 용이하나, 시간과 공간의 비효율성으로 수행시간이 반복 프로그램보다 더 걸릴 것으로 예상된다.Tr(n) = Tr(n-1) + Tr(n-2) + 1 (if n >= 2)➋ 반복 프로그램반복문(for loop)을 이용하여 피보나치 수를 구한다. 직관적으로 이해하기 편하고 연산이 재귀보다 적으므로 수행시간이 재귀 프로그램보다 덜 걸릴 것이다.❏ 문제 풀이 방법(IDEA) 및 알고리즘(ALGORITHM)➢ Main Function사용자가 구하고 싶은 피보나치 수를 임의로 입력하게 한 다음, 그 N에 대하여 두 프로그램을 차례로 시행하게 한다. 재귀 함수 결과를 먼저 출력한 후, 시행 시간을 재어서 수행 시간 경과도 같이 나타냈다. 그리고 반복 함수도 같은 방식으로 불러들여, 똑같이 시행하였다. 문제에서 주의할 점은, N이 1만큼 증가하는 것이 아니라, 0, 1, 5, 10, … 로 처음 0, 1을 제외하고 5의 배수로 증가한다. 그래서 0, 1은 따로 취급하고 5의 배수는 나머지 연산자를 이용하여 구하였다.➊ recursive_fibo Function재귀 프로그램을 시행하는 함수이다. 먼저 N 이 0, 1이면 각각의 N 값을 그대로 받고, 그렇지 않은 경우에는 피보나치 원리를 이용한 재귀함수를 이용해서 recursive_fibo(num-1) + recursive_fibo(num-2)을 return값으로 받아, 시스템적으로 stack에 저장하여 연산을 수행하게 된다.예를 들어, N = 5 라고 했을 때, recursive_fibo(5) = recursive_fibo(4) + recursive_fibo(3)이 되고 recursive_fibo(4)와 recursive_fibo(3)도 각각 같은 방식으로 연산할 수 있다. recursive_fibo(2) = 0 + 1 = 1, recursive_fibo(3) = 1 + 1 = 2, recursive_fibo(4) = 1 + 2 = 3 이고 그러면 N = 5 일 때, 피보나치 수는 2+3 = 5 임을 알 수 있다.➋ Iterative_fibo Function반복 프로그램을 시행하는 함수이다. 재귀 프로그램과 같이 N이 0, 1 이면 각각의 N 값을 그대로 받는다. 그렇지 않은 경우에는, for loop을 이용하여 N 값에 도달할 때까지, 피보나치 값을 차례로 더하여 연산하게 된다.예를 들어, num=3 일 때, i=2부터 시작해서 fn = 0 + 1 = 1, fn2 은 fn1 값을 다시 넣어서 1이 되고, fn1 은 앞에서 계산한 fn = 1을 넣어서 다시 1이 된다. i=3=num이 마지막이고, fn = 1 + 1 = 2, fn2 = 1, fn1 은 앞에서 계산한 fn = 2을 넣어서 새롭게 2의 값을 갖게 되고 반복문은 끝나게 된다.❏ Program❏ 입출력의 예 및 수행 결과➢ 입력 값에 따른 올바른 출력 값입력출력재귀 수행 시간(msec)반복 수행 시간(msec)50 1 500200 1 5 55 610 676520350 1 5 55 610 6765 75025 832040 922746513360450 1 5 55 610 6765 75025 832040 9227465 10233415 1*************121*45 이상의 숫자는 재귀 프로그램 수행 시간이 오래 걸려서 구하기가 부적절하다.➢ 실제 출력 결과❏ 결과 분석 및 토의피보나치 수의 재귀 시간 복잡도는 2n-2을 exact bound로 하고 반복 시간 복잡도는 상수함수이기 때문에 시간 차이가 숫자가 커지면 커질수록 많이 차이가 났다. N의 값이 45이하까지 5만큼 증가할 때, 재귀 프로그램은 169,512 msec 의 시간이 걸렸지만 반복 프로그램은 단지, 1 msec 걸릴 뿐이었다. 그래서 재귀함수를 이용하여 피보나치 수를 구할 때는 시간이 많이 걸릴 수 있기 때문에 적당한 한계 값을 입력하여야 할 것이다. 50 미만의 수가 적당하다.N0 1 5 10 15 20 25 30 35 40 45RecursionIteration450 1 5 55 610 6765 75025 832040 9227465 10*************170169512 (msec)1 (msec)피보나치 결과값은 숫자가 커질수록 결과값이 월등하게 커지는 것을 볼 수 있다. 이것은 이전의 수, 그 이전의 수를 더해나가는 피보나치 함수를 통해 알 수 있는 결과이다.종합적으로 이 결과를 통해, 재귀적 호출은 피보나치 수, 하노이 탑 등의 문제를 쉽게 해결할 수 있지만 임계값이 커지면 수행시간이 상당히 걸리므로 단점이 있다고 할 수 있다. 메모리 공간 또한, 많이 필요로 하므로 값이 큰 수일 때는 반복문을 이용하여 구하는 것이 좋을 것이다. 그러므로, 프로그래밍을 할 시에, 메모리 공간과 시간적 효율성을 잘 고려하여 알고리즘 구현 방식을 결정하여야 한다./**** Homerwork01.c ****/#include // 입출력헤더파일#include // exit()을위한헤더파일#include // 수행시간을재기위하여필요한헤더파일int recursive_fibo(int num);// 재귀프로그램함수int iterative_fibo(int size);// 반복프로그램함수int main(void){int i, size;// 지수(i), N(size)int start, end, pro;// 시간측정변수: 시작하는시간, 끝나는시간, 경과시간printf("Put the number of Fibonacci sequence : ");scanf_s("%d", &size);// 사용자가피보나치연산을위한적당한수를입력함/**** 재귀프로그램출력****/printf("The results of Recursive Function : ");start = clock();// 시작시간for(i=0; i
    공학/기술| 2012.11.20| 8페이지| 1,000원| 조회(802)
    미리보기
  • 피자헛 마케팅 발표
    20대 대학생을 위한 PIZZAHUT의 브랜드 이미지 전략Marketing Research Team Project(2010, Spring)ContentsⅠ. OverviewⅡ. SurveyⅢ. AnalysisⅣ. ConclusionPizza Hut 소개 Market Analysis조사목적 Target Sampling기초분석 통계분석을 통한 경쟁사와의 비교문제점 분석 해결방안ContentsⅠ. OverviewⅡ. SurveyⅢ. AnalysisⅣ. ConclusionPizza Hut 소개 Market Analysis조사목적 Target Sampling기초분석 통계분석을 통한 경쟁사와의 비교문제점 분석 해결방안PIZZA HUTⅠ. Overview2. Market Analysis1. Pizza Hut소개Pizza MarketMarket Share매년 20% 이상의 높은 성장률 07년 매출액: 1조 3천억원성장기43%17%40%Market AnalysisⅠ. Overview2. Market Analysis1. Pizza Hut소개ContentsⅠ. OverviewⅡ. SurveyⅢ. AnalysisⅣ. ConclusionPizza Hut 소개 Market Analysis조사목적 Target Sampling기초분석 통계분석을 통한 경쟁사와의 비교문제점 분석 해결방안설문 목적Ⅱ. Survey2. 타겟 샘플링1. 조사목적20대의 피자전문점에 대한 이미지 및 이용행태 파악Target : 20'sⅡ. Survey2. 타겟 샘플링1. 조사목적20대 서울소재 대학생 170명 (남녀 각 85명)Ⅱ. Survey2. 타겟 샘플링1. 조사목적설문 구성수집기간 : 2010년 5월 4일 부터 5월 25일ContentsⅠ. OverviewⅡ. SurveyⅢ. AnalysisⅣ. ConclusionPizza Hut 소개 Market Analysis조사목적 Target Sampling기초분석 통계분석을 통한 경쟁사와의 비교문제점 분석 해결방안피자전문점이용행태대학생 170명 (남녀 각 85명)친구 및 선후배 79%월 평균 피자 구매 횟수 약 1.3회 (방문+배달)2. 통계적 분석과 경쟁사 비교1. 기초 분석Ⅲ. Analysis2. 통계적 분석과 경쟁사 비교1. 기초 분석Ⅲ. Analysis피자전문점이용행태Pizza Hut 이용 행태2. 통계적 분석과 경쟁사 비교1. 기초 분석Ⅲ. Analysis피자 전문점 선호도Q. 가장 자주 방문하는 피자전문점은?미스터피자 : 135 명 피자헛 : 32명 기타 : 3명 총 170명2. 통계적 분석과 경쟁사 비교1. 기초 분석Ⅲ. AnalysisQ. 피자전문점을 선택할 때 중요도를 평가해 주시기 바랍니다. 맛 위생 서비스 할인혜택 신선도 가격 접근성 매장분위기 인지도(브랜드) 메뉴다양성피자 전문점 중요도Ⅲ. Analysis2. 통계적 분석과 경쟁사 비교1. 기초 분석Q. 피자헛과 미스터피자의 이용 시 만족도를 평가해주세요만족도 비교Ⅲ. Analysis2. 통계적 분석과 경쟁사 비교1. 기초 분석IPA 다이어그램Ⅲ. Analysis2. 통계적 분석과 경쟁사 비교1. 기초 분석Brand ImageⅢ. Analysis2. 통계적 분석과 경쟁사 비교1. 기초 분석Ⅲ. Analysis2. 통계적 분석과 경쟁사 비교1. 기초 분석Brand Image graph맛 ImageⅢ. Analysis2. 통계적 분석과 경쟁사 비교1. 기초 분석2. 통계적 분석과 경쟁사 비교1. 기초 분석Ⅲ. Analysis맛 Image graphContentsⅠ. OverviewⅡ. SurveyⅢ. AnalysisⅣ. ConclusionPizza Hut 소개 Market Analysis조사목적 Target Sampling기초분석 통계분석을 통한 경쟁사와의 비교문제점 분석 해결방안피자 전문점의 원조 이미지 가족적이고 친근한 이미지저가 마케팅 실패 경쟁사에 비해 현저히 낮은 맛 만족도피자 수요층의 확대 피자 시장의 성장웰빙(Well-being) 트렌드 저가 브랜드 피자 등장SWOTⅣ. Conclusion2. 해결 방안1. 문제점 분석저가 마케팅 실패경쟁사보다 낮은 맛 만족도젊지 않은 브랜드 이미지가격, 맛, 브랜드 3개 부문의 이미지 개선이 필요함문제점 SummaryⅣ. Conclusion2. 해결 방안1. 문제점 분석Ⅳ. Conclusion2. 해결 방안1. 문제점 분석이미지 개선을 위한 전략 모색모임 활동에 참여하는 20대 대학생을 위한 차별화 전략!!Ⅳ. Conclusion2. 해결 방안1. 문제점 분석STP1. 문제점 분석Ⅳ. Conclusion2. 해결 방안STP남여유의확률맛3.573.180.08신선도3.583.340.32위생3.763.420.02남성은 피자헛 전반적 만족도가 여성보다 높다STP모임 활동에서의 식사 = 1.27 + 0.36 * 모임 활동Ⅳ. Conclusion2. 해결 방안1. 문제점 분석식사횟수모임 활동STP월 방문횟수 = 0.768 + 0.325 * 모임 활동Ⅳ. Conclusion2. 해결 방안1. 문제점 분석월 방문횟수모임 활동4P Mix 전략promotionproductⅣ. Conclusion2. 해결 방안1. 문제점 분석ProductProductPlaceⅣ. Conclusion2. 해결 방안1. 문제점 분석맛 개선 - 웰빙 트렌드 반영 맛 이미지 개선 신선한 샐러드 기름진 이미지Ⅳ. Conclusion1. 문제점 분석2. 해결 방안활기찬 분위기 - 최신 팝 음악과 인기가요 - 직원교육 모임 고객 우대 큰 테이블 파티 룸PlacePrice모임 및 단체 손님을 위한 할인 혜택 인원수에 따라 차별화된 할인율 제공 20인 이상 모임시 할인쿠폰 제공 단체 손님을 위한 세트 메뉴 및 큰 피자 모양 및 크기가 특별한 피자를 주문할 수 있게 함Ⅳ. Conclusion2. 해결 방안1. 문제점 분석PromotionⅣ. Conclusion2. 해결 방안1. 문제점 분석PromotionⅣ. Conclusion2. 해결 방안1. 문제점 분석예상 효과Ⅳ. Conclusion2. 해결 방안1. 문제점 분석Thank You{nameOfApplication=Show}
    경영/경제| 2010.11.27| 39페이지| 3,000원| 조회(224)
    미리보기
  • (영어 레포트)한국 미디아가 표현하는 한국의 가족과 성
    Representation of Gender and Family in Korean MediaJisun Han, Gender and Family in Korean SocietyIntroductionCombination of Patriarchal Tradition and Modernity in Korean FamilyIncrease of Dual Income FamilyInsufficient Shares with HouseworkThe reasons why this topic is chosenPatriarchal Family Culture and Changes to Modern Family Culture in Korean MediaPatriarchal Family CultureChanges to Modern Family CultureConclusionIntroductionCombination of Patriarchal Tradition and Modernity in Korean FamilyIncrease of Dual Income FamilyFemale Labor force in the market has increased as the society has industrialized as you see the Figure 1. In the past, Korean male usually participates in working at a company but as things have changed, women’s participation rate in the labor market has been increasing for several reasons such as to help their husband support their family or to find their identity.Unit: PercentFigure 1. Economically Active Population by Marital Status in 1980-2008* National Stati; to be specific, class, gender, education and the gap between the rich and the poor. However, the media scarcely represents the change from the traditional family to the modern family. As we see above graphs, double income family increases but women should still be stuck in the old customs. However, broadcasts are especially ungenerous to express career women who struggle to find their identity and control both their home and work. They rather say “Queen of Naejo” or “Temptation of Wife.” It often happens a male celebrity asks female celebrity to cook for him in “We got married.” Some panels in that show come around to his opinion; of course, the panels are men.However, there are some welcome trends which expresses that gender role has changed in Korean Media. For example, stronger wife controls incompetent her husband, and he lives with his father-in-law in the same house in “The high kick through the roof.” In the sitcom, there is a couple who lives together but not married yet. Alsg was one of typical Korean man in the show “We got married.” He had good personality but he did not know about “Women’s difficult things” at all. For example, when his parents visited to his house, he did not help his wife who prepared all of food for her parents-in-law. Rather, he said to her it could not be difficult and do relax but she should cook delicious food for his parents. As his wife, a Singer, Yu-I, was just 21 years-old at that time. In the show, her age, or inexperience was not any excuses to get her parents-in-law to her house. She finally did well but she was absolutely annoyed with Mr. Park. This episode made many female viewers sympathetic to the singer, Yu-I, and they felt there was a still traditional limit in this virtual couple.Some of panels in the show sometimes said “I want my wife to cook the breakfast,” or “How dare the wife do not do housework.” It could be exaggerated by the progress of translation from Korean to English but the fact is still in the sentent a program which forces to keep traditional ideology. Media reflects the change of family as social has changed in several different ways.The program I have mentioned above, “We got married” is being blamed by viewers because it does not reflect real marriage life. However, men and women do not speak with one voice when they are blaming this program. Women are usually unsatisfied with this old customs and several panels’ thinking. On the other hand, men usually blame with liberal celebrity wives and splendid events for them which celebrity husbands made up. However, this program hardly shows only negative things; some celebrities’ couples show a very nice model of marriage life.For example, there is a singer couple, Joe Kwon and Gain, who is older than Joe Kwon. The male singer, Joe Kwon, was not patriarchal compared to some other celebrities. He tried to help his wife as much as possible and he refused to be authoritative. It would be also main reason why he is popular with many girldren than his wife. It reflects some couples have changed to this way like this sitcom. There is a limit still that this husband is described as a funny character but it is clear that things have changed.ConclusionFew days ago, there was interesting survey news that indicated unmarried women did not want to follow her parent’s marriage life while unmarried men did want to follow his parent’s marriage life. According to this survey, there is still a huge gap between men and women of ideal type of family. Most of women are willing to change to equalized family unlike basic her mother and father relationship. Despite of her desire, most of Korean men want to stick to have traditional ideology.However, all men do not think so. Among this article’s comments, some of male internet users point out this problem of traditional family which requires women’s endless sacrifice and agree with need of change for everyone in this society.As we look over some examples of media and an article, Korean f 2
    인문/어학| 2010.11.27| 11페이지| 2,000원| 조회(207)
    미리보기
전체보기
받은후기 1
1개 리뷰 평점
  • A+최고예요
    0
  • A좋아요
    0
  • B괜찮아요
    1
  • C아쉬워요
    0
  • D별로예요
    0
전체보기
해캠 AI 챗봇과 대화하기
챗봇으로 간편하게 상담해보세요.
2026년 03월 29일 일요일
AI 챗봇
안녕하세요. 해피캠퍼스 AI 챗봇입니다. 무엇이 궁금하신가요?
6:34 오전
문서 초안을 생성해주는 EasyAI
안녕하세요 해피캠퍼스의 20년의 운영 노하우를 이용하여 당신만의 초안을 만들어주는 EasyAI 입니다.
저는 아래와 같이 작업을 도와드립니다.
- 주제만 입력하면 AI가 방대한 정보를 재가공하여, 최적의 목차와 내용을 자동으로 만들어 드립니다.
- 장문의 콘텐츠를 쉽고 빠르게 작성해 드립니다.
- 스토어에서 무료 이용권를 계정별로 1회 발급 받을 수 있습니다. 지금 바로 체험해 보세요!
이런 주제들을 입력해 보세요.
- 유아에게 적합한 문학작품의 기준과 특성
- 한국인의 가치관 중에서 정신적 가치관을 이루는 것들을 문화적 문법으로 정리하고, 현대한국사회에서 일어나는 사건과 사고를 비교하여 자신의 의견으로 기술하세요
- 작별인사 독후감