Re: [LON-CAPA-users] Setting weight by floating point

2021-05-15 Thread Harding, Gene L via LON-CAPA-users
Hi HK, If I understand your question correctly, you want to set the weight for a homework/quiz problem or problem part. If that is correct, there are multiple ways to do that. I don't know if there is a way to set the default point value in a problem's code, but I normally do it from within

Re: [LON-CAPA-users] Presenting Lon-Capa on IPS conference next week

2021-02-16 Thread Harding, Gene L via LON-CAPA-users
Hi Itay, What I normally say, and plan to say at a LON-CAPA workshop this April at the IL-IN ASEE conference, is that I have never seen or heard of an LMS that can even approach the problem-generating capabilities of LON-CAPA. That is absolutely true, but leaves the door open for someone to

Re: [LON-CAPA-users] Student teams (groups)

2021-01-30 Thread Harding, Gene L via LON-CAPA-users
Hi Susan, The only way I know to do it is one group at a time from the People tab at the top: People --> Groups, then fill out the info on that page, click Next, check any optional privileges desired, check the names of students for that group, Next, fill out the last page if applicable, and

Re: [LON-CAPA-users] How to mark certain responses to be hand-graded?

2020-12-12 Thread Harding, Gene L via LON-CAPA-users
Hi Itay, I have never done this, but have noticed this semester that, when I create dropboxes for assignments, there is a parameter "handgrade" that I do not see in my normal quiz questions. I just tried, and was not able to "force" the Hand Grade parameter to show up for one of my quiz

Re: [LON-CAPA-users] LON-CAPA Error

2020-11-08 Thread Harding, Gene L
cript. Stuart Raeburn LON-CAPA Academic Consortium ____ From: LON-CAPA-users on behalf of Harding, Gene L Sent: Thursday, November 5, 2020 11:19 AM To: Discussion list for LON-CAPA users Subject: [LON-CAPA-users] LON-CAPA Error Hi, I am getting an error I don

[LON-CAPA-users] LON-CAPA Error

2020-11-05 Thread Harding, Gene L
Hi, I am getting an error I don't remember seeing before with a formula response problem that takes a Greek letter as part of the formula. The odd thing is that it works fine for me, whether in student or course coordinator mode, but not for the students. I have been able to recreate the error

Re: [LON-CAPA-users] Polar Format gnuplots

2020-05-02 Thread Harding, Gene L
? 0 : t<9*$pi/8 ? $function2 : t<7*$pi/4 ? 0 : $function1 The plot at right depicts an antenna's radiation pattern with radial units in dB gain. What is the peak gain of the main antenna lobe? Amain lobe = From: Harding, Gene L Sent: Friday, May 1,

Re: [LON-CAPA-users] Polar Format gnuplots

2020-05-01 Thread Harding, Gene L
@X2 @Y2 @X3 @Y3 Area of cardioid right half is From: LON-CAPA-users mailto:lon-capa-users-boun...@mail.lon-capa.org>> on behalf of Harding, Gene L mailto:glhar...@purdue.edu>

[LON-CAPA-users] Polar Format gnuplots

2020-05-01 Thread Harding, Gene L
Hi, Has anyone done polar-format gnuplots in LON-CAPA? Would you be willing to share an example? This is my first foray into polar gnuplots. I am having trouble getting the angle to display around the perimeter. It's rendering x- and y-axis values instead of angle and radius values. Best

Re: [LON-CAPA-users] Greek Characters in Formula Response

2020-04-20 Thread Harding, Gene L
paste the character or (c) use a web site (there are many) which provides Unicode Character Search, and copy and paste the character you need). Stuart Raeburn LON-CAPA Academic Consortium ____ From: LON-CAPA-users on behalf of Harding, Gene L Sent: Friday, April

[LON-CAPA-users] Greek Characters in Formula Response

2020-04-17 Thread Harding, Gene L
Hi, Does anyone know how to do Greek characters in a formularesponse? Someone shared a response from Stefan Droeschler several years ago, but I cannot get it to work: $answer="ω+α*t"; $\omega + \alpha t$ Is a cut and paste from MS Word OK for putting the Greek characters into the

Re: [LON-CAPA-users] gnuplot problem

2020-04-10 Thread Harding, Gene L
rimary OS, you could set up a Linux VM using VirtualBox (or similar), if you have the memory available to allocate to a VM, and install gnuplot there. Stuart Raeburn LON-CAPA Academic Consortium ________ From: LON-CAPA-users on behalf of Harding, Gene L Sent: Tuesd

Re: [LON-CAPA-users] gnuplot problem

2020-04-07 Thread Harding, Gene L
Response" example in the problem templates. Stuart Raeburn LON-CAPA Academic Consortium ________ From: LON-CAPA-users on behalf of Harding, Gene L Sent: Monday, April 6, 2020 7:35 PM To: Discussion list for LON-CAPA users Subject: Re: [LON-CAPA-users] gnuplot proble

Re: [LON-CAPA-users] gnuplot problem

2020-04-06 Thread Harding, Gene L
gnuplot). Stuart Raeburn LON-CAPA Academic Consortium ________ From: LON-CAPA-users on behalf of Harding, Gene L Sent: Monday, April 6, 2020 11:22 AM To: Discussion list for LON-CAPA users Subject: [LON-CAPA-users] gnuplot problem Hi everyone, I am having trouble generating

[LON-CAPA-users] gnuplot problem

2020-04-06 Thread Harding, Gene L
Hi everyone, I am having trouble generating a gnuplot using the following two functions in LON-CAPA: $fnct_rms_halfwave="1/$pi * (1/2*($pi-x) + 1/4*sin(2*x))"; $fnct_rms_fullwave="(2/$pi) * (1/2*($pi-x) + 1/4*sin(2*x))"; Instead of rendering a plot, LON-CAPA just displays a message that

Re: [LON-CAPA-users] Math Display Problem

2020-03-30 Thread Harding, Gene L
used to include special characters in a perl string: \n - newline, \r - carriage return. It thought \f and \i were special characters. \\ says make this a real \ Hope this helps! Mark > On Mar 29, 2020, at 10:25 PM, Harding, Gene L wrote: > > Hi, > > I am having trouble getting

Re: [LON-CAPA-users] Custom Response Question

2020-03-26 Thread Harding, Gene L
Had another duh moment, figure it out, and finished the problem. Apologize for spamming the listserv. Best regards, Gene L. Harding, PE Associate Professor of ECET Purdue University 574-520-4190 https://polytechnic.purdue.edu/south-bend/ -Original Message- From: Harding, Gene L Sent

Re: [LON-CAPA-users] Custom Response Question

2020-03-26 Thread Harding, Gene L
element values instead of blanks...? Gene L. Harding, PE Associate Professor of ECET Purdue University 574-520-4190 https://polytechnic.purdue.edu/south-bend/ -Original Message- From: LON-CAPA-users On Behalf Of Harding, Gene L Sent: Thursday, March 26, 2020 2:53 PM To: Discussion

Re: [LON-CAPA-users] Custom Response Question

2020-03-26 Thread Harding, Gene L
574-520-4190 https://polytechnic.purdue.edu/south-bend/ -Original Message- From: LON-CAPA-users On Behalf Of Harding, Gene L Sent: Thursday, March 26, 2020 2:41 PM To: Discussion list for LON-CAPA users Subject: Re: [LON-CAPA-users] Custom Response Question Hi Mark, Sure. The problem

Re: [LON-CAPA-users] Custom Response Question

2020-03-26 Thread Harding, Gene L
bles and perhaps an example of the perl you are trying to use? What does the array look like? What are some typical variables? (or at least analogs if you don’t want to give away content). Mark > On Mar 26, 2020, at 2:14 PM, Harding, Gene L wrote: > > Hi, > > I am trying to

[LON-CAPA-users] Custom Response Question

2020-03-26 Thread Harding, Gene L
Hi, I am trying to do something with a customresponse part that I cannot do really cleanly with normal response types, but am having some trouble evaluating the inputs. The inputs include numeric and text values as part of a single array input. I am having to problems: 1. I have not

Re: [LON-CAPA-users] Piecewise Linear Functions

2020-03-21 Thread Harding, Gene L
lem, and Skwxwú7mesh Úxwumixw (Squamish) Peoples On Sat, Mar 21, 2020 at 11:36 AM Harding, Gene L mailto:glhar...@purdue.edu>> wrote: Hi, Does anyone know how to define a piecewise linear function in LON-CAPA, and plot it with gnuplot? And, a related question: How do you put plots next to e

[LON-CAPA-users] Piecewise Linear Functions

2020-03-21 Thread Harding, Gene L
Hi, Does anyone know how to define a piecewise linear function in LON-CAPA, and plot it with gnuplot? And, a related question: How do you put plots next to each other? I need to display a plot of voltage on one graph, with a plot of phase-angle-fired half-sine current right below it on a

Re: [LON-CAPA-users] Conditional Blocks

2020-03-17 Thread Harding, Gene L
her than question 1 has been answered correctly or that all the tried have been used. I can track specifics down for that if needed but perhaps the example is enough to get you on the right track? Doug -sent from mobile- On Mar 16, 2020, at 6:28 PM, Harding, Gene L mailto:glhar...@purdue.

[LON-CAPA-users] Conditional Blocks

2020-03-16 Thread Harding, Gene L
Hi, I am working on a problem for an upcoming exam. In the past I have just done it via paper exam, which was fine until now. (I did plan to do it in LON-CAPA someday, but thanks to Corona, someday is now here.) The problem starts with an optionresponse. After the student answers it, I want

Re: [LON-CAPA-users] Quick Question

2020-03-04 Thread Harding, Gene L
t ignore those parts of the array if they do contain useful information. They will be saved as part of the “submission” record for the student, but that shouldn’t be a problem. Mark > On Mar 4, 2020, at 8:44 AM, Harding, Gene L wrote: > > Hi, > > I have a question about accessing s

[LON-CAPA-users] Quick Question

2020-03-04 Thread Harding, Gene L
Hi, I have a question about accessing submissions using the () function. I am working on a problem interfacing with Geogebra that will have a variable number of submission inputs, depending on the randomization of the problem. The code in the customresponse section is relatively short and

[LON-CAPA-users] Error with

2020-02-26 Thread Harding, Gene L
Hi, As long as I have been coding multi-part problems I have run into this issue, but it seems random. I am using to display the ID of the current part: If using impedance combination, what is the appropriate way to begin analyzing this circuit? In some problems it works fine,

Re: [LON-CAPA-users] Hyperbolic Trig Function Problem

2020-01-29 Thread Harding, Gene L
, 2020 at 3:43 PM Harding, Gene L mailto:glhar...@purdue.edu>> wrote: Hi, Does anyone have experience using the hyperbolic trig functions in LON-CAPA? I have recently been coding some new problems that use the () function. I was comparing the results to those I got using MATLAB, and afte

[LON-CAPA-users] Hyperbolic Trig Function Problem

2020-01-29 Thread Harding, Gene L
Hi, Does anyone have experience using the hyperbolic trig functions in LON-CAPA? I have recently been coding some new problems that use the () function. I was comparing the results to those I got using MATLAB, and after some troubleshooting it appears that the difference is the tanh.

[LON-CAPA-users] FW: Rounding Issue

2019-09-21 Thread Harding, Gene L
Hi everyone, I have a quiz problem in LC that seems to be doing some odd things with the rounding. I have successfully recreated the problem reported by one of my students, but cannot figure out why it happens. The answer to the problem (part c) is 2.65 on the dot. The problem requests an

Re: [LON-CAPA-users] Video Viewing Problem

2019-08-28 Thread Harding, Gene L
e video, e.g., etc. Can you provide the URL for this video in Resource Space, i.e., /res/purdue/ ... Stuart Raeburn LON-CAPA Academic Consortium From: LON-CAPA-users on behalf of Harding, Gene L Sent: Wednesday, August 28, 2019 3:05 PM To: Discussion

Re: [LON-CAPA-users] Video Viewing Problem

2019-08-28 Thread Harding, Gene L
control. - Gerd. > On Aug 28, 2019, at 21:13, Prof. Susan Masten wrote: > > Hi all, > > I have had the same problem for quite some time now and have not been able to > figure out how to fix it. > > Susan > > On 8/28/2019 3:05 PM, Harding, Gene L wrote: >&

[LON-CAPA-users] Video Viewing Problem

2019-08-28 Thread Harding, Gene L
Hi everyone, My students are not able to view a video I have posted on my LON-CAPA sections. This video is posted in my author space, and published. If I try to play it in Course Coordinator mode it works fine, but in Student mode I get the following error: No video with supported format and

Re: [LON-CAPA-users] functionplotresponse problems

2019-06-03 Thread Harding, Gene L
Hi HK, I gave up on using the standard functionplotresponse for what I was doing. The attached code works with Geogebra and gnuplot, and uses custom response to evaluate the submissions. The application is a mixer in a superheterodyne receiver. It’s pretty complex, about 700 lines counting

Re: [LON-CAPA-users] Custom Response Partial Credit

2018-05-18 Thread Harding, Gene L
rded', ID) ? _data('awarded', ID) : 0.0; Best, Jacob From: LON-CAPA-users <lon-capa-users-boun...@mail.lon-capa.org<mailto:lon-capa-users-boun...@mail.lon-capa.org>> on behalf of Harding, Gene L <glhar...@purdue.edu<mailto:glhar...@purdue.e

[LON-CAPA-users] Custom Response Partial Credit

2018-05-18 Thread Harding, Gene L
Hi, I rewrote the problem I have been working on so that it is now a custom response, but am having trouble getting it to properly grade the problem submission. This is the code for grading inside the answer block: if ($total_score == 1) { return 'EXACT_ANS'; } elsif

[LON-CAPA-users] Plot Response Question

2018-05-12 Thread Harding, Gene L
Hi, I am trying to code a plot response problem in which the student task is to plot six vectors on a frequency spectrum display. I would like to give 1/6 credit for each vector that is plotted correctly. I am new to using Geogebra in this fashion. I first tried using the LON-CAPA plot

Re: [LON-CAPA-users] Conditional Block Issue

2018-05-11 Thread Harding, Gene L
e-mail to the users list you have: I don't know whether that's just a typo in your e-mail, but in your LON-CAPA code you'd want: Stuart Raeburn LON-CAPA Academic Consortium Quoting "Harding, Gene L" <glhar...@purdue.edu>: > Hi, > > I am trying to display something

[LON-CAPA-users] Conditional Block Issue

2018-05-11 Thread Harding, Gene L
Hi, I am trying to display something (a gnuplot) only if the student has exceeded the maxtries for a problem and not gotten it correct. I used the following code in the perl script to check the problem status and set a flag ($status_a) to zero only if maxtries is exceeded: # Check status:

Re: [LON-CAPA-users] LON-CAPA Conference and Workshop Registration Open

2018-05-03 Thread Harding, Gene L
Hi Gerd, It would probably be helpful to add Purdue Memorial Union hotel contact info to the Accommodations page: (800) 320-6291 https://union.purdue.edu/hotel/ There is contact info for the other hotels, but not the Union. Best regards, Gene L. Harding, PE Associate Professor of ECET

Re: [LON-CAPA-users] Hat Symbol

2018-03-06 Thread Harding, Gene L
org> Subject: Re: [LON-CAPA-users] Hat Symbol I usually use \vec rather than \overline for "normal" vectors. On Tue, Mar 6, 2018 at 3:03 PM, Harding, Gene L <glhar...@purdue.edu<mailto:glhar...@purdue.edu>> wrote: Hi Todd, Yes, that works great. I noticed that \overline also

Re: [LON-CAPA-users] Hat Symbol

2018-03-06 Thread Harding, Gene L
, Todd On Tue, Mar 6, 2018 at 2:33 PM, Harding, Gene L <glhar...@purdue.edu<mailto:glhar...@purdue.edu>> wrote: Hi, Does anyone know how to render the “hat” over a letter in LON-CAPA/XML to designate a unit vector? Thanks, Gene L. Harding, PE Associate Professor of ECET 574-520-4190<

[LON-CAPA-users] {Disarmed} RE: {Disarmed} Re: {Disarmed} RE: Matrix Operations

2018-02-13 Thread Harding, Gene L
.net<https://urldefense.proofpoint.com/v2/url?u=http-3A__chethermo.net_=DwMFAg=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag=xsNJH7BRV_oHPnc9R-Alu7kBOiq31bgHu5mdx82zpYk=cZ0DC2thsyaawbW-icbHvABJUkZREthPLmF_-JF0ZzM=x_KHS9fqXQB-CLliVp9AUzDgDobPkHAATbQeAdqpNOQ=> From: lon-capa-users-boun...@mail.

[LON-CAPA-users] Geogebra Vector Plot Problem

2018-01-27 Thread Harding, Gene L
Hi, Does anyone who knows how to use Geogebra within LON-CAPA know how to do this? I am trying to make a functionplotresponse question that requires students to draw a vector pointing straight up from and attached to the x-axis, but without drawing an explicit attachment point on the axis. If

Re: [LON-CAPA-users] Registration now open for 2017 Conference and Workshop!

2017-03-17 Thread Harding, Gene L
] On Behalf Of Harding, Gene L Sent: Friday, March 17, 2017 2:47 PM To: Discussion list for LON-CAPA users <lon-capa-users@mail.lon-capa.org> Subject: Re: [LON-CAPA-users] Registration now open for 2017 Conference and Workshop! Hi Gerd, I am having the same problem with the payment page that

Re: [LON-CAPA-users] Registration now open for 2017 Conference and Workshop!

2017-03-17 Thread Harding, Gene L
Hi Gerd, I am having the same problem with the payment page that I had last year. After I confirm my credit card info I get the following message: "For security reasons, we cannot accept your credit card." I spent a lot of time fighting with this last year and never got it to take my Purdue

Re: [LON-CAPA-users] Function Plot Response Partial Credit Grading

2017-01-26 Thread Harding, Gene L
Jacob From: lon-capa-users-boun...@mail.lon-capa.org<mailto:lon-capa-users-boun...@mail.lon-capa.org> <lon-capa-users-boun...@mail.lon-capa.org<mailto:lon-capa-users-boun...@mail.lon-capa.org>> on behalf of Harding, Gene L <glhar...@purdue.edu<mailto:glhar...@purdue.edu

Re: [LON-CAPA-users] Function Plot Response Partial Credit Grading

2017-01-25 Thread Harding, Gene L
Sorry, I meant functionplotresponse, not customplotresponse. Gene L. Harding, PE Associate Professor of ECET 574-520-4190 Purdue University-South Bend From: lon-capa-users-boun...@mail.lon-capa.org [mailto:lon-capa-users-boun...@mail.lon-capa.org] On Behalf Of Harding, Gene L Sent: Wednesday

[LON-CAPA-users] Function Plot Response Partial Credit Grading

2017-01-25 Thread Harding, Gene L
Hi, Sorry for another post, but the problems I have been constructing in recent weeks use areas that are new to me, such as gnuplot and Geogebra. I keep getting close, but not quite finishing some of the new problems. Right now I am building a quiz question that requires students to place six

Re: [LON-CAPA-users] Unordered Response Question Error

2017-01-25 Thread Harding, Gene L
lerance may be too large...". I think the template defaults to 5%. the format affects the display, not the calculations. From: lon-capa-users-boun...@mail.lon-capa.org<mailto:lon-capa-users-boun...@mail.lon-capa.org> [mailto:lon-capa-users-boun...@mail.lon-capa.org] On Behalf Of Harding

Re: [LON-CAPA-users] Unordered Response Question Error

2017-01-24 Thread Harding, Gene L
Hi Damien, Thank you for the info, and for entering the bug. I will restructure the problem to work around the units issue for now. Best regards, Gene L. Harding, PE Associate Professor of ECET 574-520-4190 Purdue University-South Bend -Original Message- From:

[LON-CAPA-users] Unordered Response Question Error

2017-01-23 Thread Harding, Gene L
Hi, I am trying to embed some unordered numericalresponse parameters inside an xml table. I modeled my xml after the example in LON-CAPA, but am having two problems with it. The first problem is an error referring to tolerance range, and the second is incompatible units. This is a screenshot:

Re: [LON-CAPA-users] Algebra Expression Rendering in LON-CAPA

2017-01-17 Thread Harding, Gene L
Thanks Damien--that worked nicely! And thanks to everyone who responded with help. I should have posed these questions to the list earlier...would have saved me a lot of time! Best regards, Gene L. Harding, PE Associate Professor of ECET 574-520-4190 Purdue University-South Bend

Re: [LON-CAPA-users] Algebra Expression Rendering in LON-CAPA

2017-01-13 Thread Harding, Gene L
e the connection the first time around. - Gerd. > On Jan 13, 2017, at 11:05 AM, Harding, Gene L > <glhar...@purdue.edu<mailto:glhar...@purdue.edu>> wrote: > > Hi, > > I think the formatting may be different inside a function assignment. This is > what I

[LON-CAPA-users] Algebra Expression Rendering in LON-CAPA

2017-01-13 Thread Harding, Gene L
Hi, I am having trouble rendering an algebraic expression with a summation sign (capital Sigma). I want an expression that looks like this, using variables for the numeric portions of the expression: [cid:image003.jpg@01D26D87.FB7A6240] I am able to render the integration sign using this code:

[LON-CAPA-users] usage

2017-01-12 Thread Harding, Gene L
Hi, In some of my multi-part problems I have had to hard-code the problem part in the text because when I use the function it displays this: [cid:image001.png@01D26CFD.A4CEFD00] Has anyone seen this before? ...know why it happens? In some problems it happens and in others it works correctly,

Re: [LON-CAPA-users] Quiz Timer Reset

2016-08-26 Thread Harding, Gene L
d the folder before. I hope this helps, Mark > On Aug 26, 2016, at 10:39 AM, Harding, Gene L <glhar...@purdue.edu> wrote: > > Hi, > > Is there a way to reset the timer parameter for a single student in an online > quiz in LON-CAPA? I recently had a student, who was n

[LON-CAPA-users] Imaginary Numbers

2016-02-17 Thread Harding, Gene L
Hi, Can LON-CAPA handle imaginary and complex numbers? I am having trouble finding any info about it in the help. Thanks, Gene L. Harding, PE Associate Professor of ECET 574-520-4190 ___ LON-CAPA-users mailing list LON-CAPA-users@mail.lon-capa.org

[LON-CAPA-users] Graphic Display Question

2016-02-09 Thread Harding, Gene L
Hi, This is probably a very basic question, but is there an easy way to display a graphic beside its associated text instead of "in line" with it? In the figure shown below, I would like to display the amplifier symbol to the right of the text rather than above or below it. Is there an easy

Re: [LON-CAPA-users] New Content/Problem Editor - Input needed NOW

2014-10-22 Thread Harding, Gene L
I agree with both of Carl's suggestions. He articulated the problems with the help much better than I did; I wholeheartedly agree with him. There are some key places where context-sensitive help would be a great addition (e.g., Parameters for a response blocks Type parameter). Code snippets

Re: [LON-CAPA-users] New Content/Problem Editor - Input needed NOW

2014-10-11 Thread Harding, Gene L
This is not really an editing issue, but…another thing I would like to see is some indication of problem types in the folder lists: numerical, multiple choice, matching, etc. That is one of the few features I miss from Blackboard, where I could scan through my problem library and easily tell

Re: [LON-CAPA-users] 2014 conference registration now available

2014-03-26 Thread Harding, Gene L
Hi Gerd, Unfortunately, RadarCon 2014 conflicts this year, and I am presenting a paper, so will not be able to make the LC conference this year. I hope you all have a good conference, and I would be interested in catching up on the conference highlights if you publish any. Best regards, Gene