15,999,626 members
1.00/5 (2 votes)
See more:
1. Binomial Coefficients

Suppose your UCID is “abc123” Create a new folder named by your UCID “abc123”
Put the function file that computes the probability in “abc123”
Also create another folder “private” in “abc123” and put the two functions files that compute binomial coefficient and n! in “private”
Compress “abc123” with everything in it into a zip or tar file, i.e., abc123.zip or abc123.tar
Note, incorrect folder names or compressed file formats will result in a zero

2.
Modified Exercises 8.15 on P.419 of textbook

Converting Radians to Degrees, Minutes, Seconds
Angles are often measured in degrees, minutes, and seconds, with 360 degrees in a circle, 60 minutes in a degree, and 60 seconds in a minute. Write a program that reads angles in radians from an input disk file and converts them into degrees, minutes, and seconds. Output should be written into another file. A sample input file could be:
# this is a comment # your program should be able to skip comment lines # and blank lines # input radian numbers could be seperated by blanks 0.0 1.0 # or by a newline 3.141593 6.0
This sample input can also be downloaded from the course webpage and used as your test input file. Ask the user for the input and output file names. Design your output file accordingly.
Posted
Updated 13-Apr-11 9:33am
v2
Comments
Johnny J. 13-Apr-11 15:32pm
What work have you done yourself? Where are you stuck? We don't do your homework for free here...
Get going boy, live up to your last name!
Smithers-Jones 13-Apr-11 16:51pm
Reason for my vote of 1: Lazy prick!
Sandeep Mewara 14-Apr-11 1:01am
No effort.

Solution 1

So do it. You're learning Matlab, not us.

Comments
Manfred Rudolf Bihy 13-Apr-11 16:01pm
My 5+ !

Solution 2

At least give me some money I can do your homework! Try do it by yourself and then go back with specific questions!

Solution 3

It does not work like this here. I am sorry but there is no quick question here. This sounds like your college project/assignment, you should put some effort.

We expect you to put some time in trying the issue that you are facing and then some time in formulating the question while posting here.

Here is what is expected by enquirers:
1. TRY first what you want to do!
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.

v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Top Experts
Last 24hrsThis month
 OriginalGriff 110 Dave Kreskowiak 108 Richard MacCutchan 40 honey the codewitch 25 Daniel Pfeffer 20
 OriginalGriff 631 Pete O'Hanlon 260 Dave Kreskowiak 241 Richard Deeming 240 CPallini 120

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900