blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f6a34f2494d76188325d642d35c9f806e27453a6 | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /russiancodecup.ru/2011/qualification/C/test-05.tst | 35355fdead0e5398dbc028b112325d7fc47b7774 | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 40 | tst | test-05.tst | 1
2 15
a
a
~~~~~~~~~~~~~~~~~~~~~~~~~~
1
|
56fd90ced220c79f0595b76e1ca3ac253f492b44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH11/EX11.1/Ex11_1.sce | e5d03b2a62e3aa49303f2bf34a8c40f6a2191668 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sce | Ex11_1.sce | //Example 11_1
clc();
clear;
//To find out how much heat is required to change the temperature
//With 400 Grams of water
c=1 //units in cal/g Centigrade
m=400 //Units in gm
t=5 //Units in centigrade
q=c*m*t //Units in Cal
printf("The heat required for 400 gm of water is Q=%d Cal\n",q)
//With 400 g... |
ab4fbc5cf1a6c26074df84e3e591d2e29acb0fdc | 5565424cd712fe856334cee55c5f86c2fa58aa74 | /ultimo/Avalia Newton.sci | 7fbfe79371a92ac54e7f159f18554609af7073f4 | [] | no_license | DericsonPablo/CalculoNumerico | 2402d6408704267f889eb999d49a0acbfa27500a | 8b2ea2bc9a98257c87046d80162a9dc2c4adf22a | refs/heads/master | 2020-07-31T05:16:48.105210 | 2019-09-24T02:46:12 | 2019-09-24T02:46:12 | 210,496,853 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sci | Avalia Newton.sci | function[y]=avaliaNewton(c,x,t)
i=length(c);
y=c(1);
soma = 1;
for j=2 : i
soma=soma*(t-x(j-1));
y=y+c(j)*soma;
end
endfunction
|
d8f967104bd406d69d1de4740eca097aec412467 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH3/EX3.7/7.sce | 3b54dfd40ff460d71203234f0b5691abec16bdfd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,191 | sce | 7.sce | clc
clear
//INPUT DATA
r=1.246*10^-10//atomic radius of Fcc crystal in m
h1=1//miller indices with respect to x axis in 1st plane
k1=1//miller indices with respect to y axis in 1st plane
l1=1//miller indices with respect to z axis in 1st plane
h2=2//miller indices with respect to x axis in 2nd plane
k2=0//mille... |
920242e5e3585863b88f19baf9ebca54f138844e | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH15/EX15.6/15_6.sce | b99f3ebfce3769792217ff9ee8c567db2a52f92c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | 15_6.sce | f=50
w=2*%pi*f
P=2E6
V=11000
pf=0.8
phi=acos(pf)
Xl=10
IR=P/sqrt(3)/V/pf
Vr=V/sqrt(3)
Vs=Vr+IR*Xl*sin(phi)
Vsll=Vs*sqrt(3)
disp(Vsll)
VR=Vsll/V-1
disp(VR)
pf=1
disp(pf)
Qc=P*tan(phi)
C=Qc/V/V/w
disp(C)
|
d7b50d03d01558512f2b0b2609e3608cd218d8cb | a231674c87133627d280ac98d54362344cfcead0 | /test.tst | e6a2a0f6f35a88d449a250b6ee1fd4e12cba9075 | [] | no_license | Grimer/Udacity_CS101 | 3eaf3330e4e357eef54f99cdda5f02440707ae71 | 8634bf5393037835ab7276f8af452f930ffa8289 | refs/heads/master | 2020-12-25T17:12:45.156950 | 2016-08-24T09:09:23 | 2016-08-24T09:09:23 | 4,493,690 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 912,456 | tst | test.tst | dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
dsfsg
ds... |
f7f929fe869d1d0ced73a22948676be73e941010 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH6/EX6.11/Ex6_11.sce | 8cc98e9b435d58303ecebc1bb636c0e804d84441 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 713 | sce | Ex6_11.sce | clear;
clc;
printf("\t\t\tProblem Number 6.11\n\n\n");
// Chapter 6: The Ideal Gas
// Problem 6.11 (page no. 253)
// Solution
T2=500+460; //absolute final temperature //unit:R
T1=80+460; //absolute initial temperature //unit:R
//cp=0.219 + (3.42*10^-5*T) - (2.93*10^-9*T^2); //Unit:Btu/lbm*R
//Comparing w... |
2538a53dc2e8261505a3e377d94cad7349905282 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH6/EX6.8/6_8.sce | b6ae988e4bcaa3c29bfc5e4c3bae2186675c6468 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | 6_8.sce | T1 = 363;
T2 = 293;
W = 1; // Kj/s
e_max = 1-(T2/T1);
Qmin = W/e_max ;
Qmin_ = Qmin*3600;
E = 1880; // in kJ/m2 h
Amin = Qmin_/E ;
disp("m2",Amin,"Minimum area required for the collector plate")
|
f5b321d56cf5ab8376eb3a97470eb183496b75c9 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/P17.prev.tst | 199202fabbab5bfa0dd3ac866dab19de5b395df7 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 160 | tst | P17.prev.tst | a + b > 0
; vgcd=1; gcd=1; isZero=false; hasVariable=true; isBiased=true; mergeVariables=2*x_y_z > 0; relation=GT_0
; evaluate=failure biased
/01;1 -> a + b
|
f9164d7dc65b32fcb6c0375caeb5ee21a99c5feb | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/KovaFlow_varP_per_par.tst | d49fd9f1b8646bcab7a8aa120706ecf469f7dd06 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 970 | tst | KovaFlow_varP_per_par.tst | <?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Kovasznay Flow variable P, periodic BC (parallel)</description>
<executable>IncNavierStokesSolver</executable>
<parameters>--use-scotch -I GlobalSysSoln=XxtMultiLevelStaticCond KovaFlow_varP_per.xml</parameters>
<processes>2</processes>
<fi... |
12dbcb679fdafe75c0647090b5d29e629537b4aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH2/EX2.15/15.sce | c3603e3ecaedbe31c138cfe3a83d6190edca07c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | 15.sce | clc
// Given that
D = 120 // Distance between eyepiece and screen in cm
d = 0.075 // DISTANCE BETWEEN TWO VIRTUAL COHERENT SOURCE in cm
x = 1.888 // Distance of 20th bright fringe from center in cm
n = 20 // Number of fringes
// Sample Problem 15 on page no. 99
printf("\n # PROBLEM 15 # \n")
printf("\n Sta... |
12e5e02c0f402af13aefce7fbb597f25ac99d797 | 669c4bb8f0ea30dd9761347b404fd265747fc5dc | /scilab/speedsensor.sce | 91627c477d5fec2f62bb9cbee454fd24cdef517c | [
"MIT"
] | permissive | paddl/boschSpeedUp | a30f8438933519ef4bd4ab8e4d85578141007676 | 9f50c462e6645a03db460d04cfdc78a6d5689d53 | refs/heads/master | 2020-05-18T05:40:10.910184 | 2015-05-17T17:11:31 | 2015-05-17T17:11:31 | 32,681,320 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | speedsensor.sce | //1 kilometer = 0.621371192 miles
k=0.621371192;
D_cm=29*2.54
U_cm=D_cm*%pi
v_kmh=[0:50]'; //km/h
v_mph=v_kmh*k; //miles/h
v_cms = v_kmh*1e3*100/3600;
f_hz=v_cms/U_cm;
scf(1)
clf(1)
plot2d(v_kmh,[f_hz f_hz*k])
xtitle('Speedsensor','km/h','Hz')
|
1fd772edfae78a70640f405fa213d4e76ab9b2a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /737/CH2/EX2.6/Example2_06.sce | 5c0298d92202735703ccfb15abd58c84230c072c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 718 | sce | Example2_06.sce | //Example 2.6 page 29
//Given the DSP system shown in Figure 2.16, where a sampling rate of
//40,000 Hz is used, the anti-aliasing filter is a Butterworth lowpass filter
//with a cutoff frequency of 8 kHz, and the percentage of aliasing level at the
//cutoff frequency is required to be less than 1%, determine the order... |
24d52c1d5edef64c029bea7bab4dbd81ba8dd4e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH1/EX1.8/Ex1_8.sce | f7a6563f5172da9ab397de33890a8c70efc09499 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | Ex1_8.sce | clc;
//page 13
//ex-1.8
G1=5000;
L=2000;
G2=400;
G=G1*(1/L)*G2; //Absolute gain
disp(G,'(a) Net absolute gain is:');
GdB=10*log10(G); //System decibell gain
disp('dB',GdB,+'(b) System Decibel gain is:');
G1dB=10*log10(G1);
LdB=10*log10(L);
G2dB=10*log10(G2);
disp('(c) Individual stage gains are:... |
b31893e1d52c3f6a5ffc42972ab7432f37d2a8b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH7/EX7.33/EX_7_33.sce | 55050140f48e2aebc1e70dd97e02818738bee460 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 554 | sce | EX_7_33.sce | // Example 7.33:Design R-C phase shift oscillator
clc;
clear;
close;
rd=40;//resistane in killo ohms
fo=1//resonant frequency in killo hertz
gm= 5000;//in killo mh
R=10;;//assume Resistance in killo ohms
C=((1/(2*%pi*fo*10^3*R*10^3*sqrt(6)))*10^9);//C in nano farad
Av=29;//VOLTAGE GAIN
Vdd=12;//drain voltage
... |
dc1a83f47114a7144f739af1fafb8ffcf0907651 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH6/EX6.6/Ex6_6.sce | 13009e2c7a2d50db468320077a01310460ecd244 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | Ex6_6.sce | //Ex 6.6
clc;
clear;
close;
format('v',6);
//Data given
R1=1;//kohm
R2=1;//kohm
R=1;//kohm
C=4.7;//micro F
f0=1/(2*%pi*R*10^3*C*10^-6);//Hz//Oscillating Frequency
disp(f0,"Oscillation frequency(Hz)");
|
54578da39a85b41ecc791a949049eabcb585ac54 | 27fecbbeb6c49dcf03b9bddf1b867c31e13a3825 | /Modelagem e controle/lista_03_controle.sce | d8eba9b9227d8a0061a059532d91fa588d843179 | [] | no_license | LucasHattoriCosta/Poli | 42c9fc2d34c31e01336265fbdac3e4921d56e096 | b1ac609c3675539b4e921909c35ea196ffc44df3 | refs/heads/master | 2023-03-15T12:22:03.745943 | 2020-06-29T17:32:48 | 2020-06-29T17:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,650 | sce | lista_03_controle.sce |
clear()
A = [[-3,1,0];[2,-3,2];[0,1,-3]];
dt = 0.1
phi = expm(A*dt);
vetor_tempo = 0:dt:10;
X = [zeros(vetor_tempo); zeros(vetor_tempo); zeros(vetor_tempo)];
X(1,1) = 3.7;
X(2,1) = 1.2;
X(3,1) = 2.6;
m=size(vetor_tempo);
n=m(2);
for i = 1:n-1
X(:,i+1) = phi*X(:,i);
end;
clf()
//scf(0)
//plot(vetor_tempo, X(1... |
935ae24a450c19d126acd7aee0a5be27c90943b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH10/EX10.2/example_10_2.sce | 0d1834ea3960443ac375aaed4b625f8933c3df1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,072 | sce | example_10_2.sce | //Chapter 10
//Example 10.2
//page no 390
//To draw sequence networks of the system
clear;clc;
//selecting generator rating as base in generator circuit
mvab=25;
kvGb=11; //base voltage for generator
kvTLb=kvGb*(121/10.8); //base voltage for TL
kvMb=kvTLb*(10.8/121); //base voltage for motors
xG=%i*0.2;
xT=%i*0.1;
... |
c800706529b7c698e1346dcb91124db44ec3ff16 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Control_Systems_Engineering_I._J._Nagrath_And_M._Gopal__28.zip/Control_Systems_Engineering_I._J._Nagrath_And_M._Gopal__28/CH9/EX9.8.a/ex9_8_1.sce | 48c07f4b5c40ac1cc5a90b99870affb1a8ad2ad9 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | ex9_8_1.sce | mode(2);errcatch(-1,"stop");driver("GIF");// from the nyquist plot
N=-2; // no of encirclements
P=0; // given
Z=P-N
printf("Since Z=2 therefore two roots of the characteristic equation lies in the right half of s-plane,hence the system is unstable")
xinit('/home/fossee/Downloads/tbc_graphs/Control_Systems_Eng... |
7a39f16688e4c92f27129fa62b97940ada69ef79 | 2eac84edf941c64588fef76f10d02309aabcb2fb | /System/Scilab/Scripts/createCFunctionIO.sci | df61e819f4700a391293b9185ff3d6d7a6f3037a | [
"BSD-3-Clause"
] | permissive | AlexisTM/X2C | fdd93bd33b931ea448ba516f5e3f9af6a5149a6a | 31f39b598afe271a7fd46ef1ee9e06c410b1120c | refs/heads/master | 2021-08-07T04:26:24.391617 | 2017-11-07T14:34:33 | 2017-11-07T14:34:33 | 109,844,123 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 19,780 | sci | createCFunctionIO.sci | // Copyright (c) 2017, Linz Center of Mechatronics GmbH (LCM) http://www.lcm.at/
// All rights reserved.
//
// This file is licensed according to the BSD 3-clause license as follows:
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the followin... |
0a58dd131a8acedcd7e4d2e78735d932d7d81fb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH1/EX1.5/Ex1_5.sce | e1443fc5873fd52cb0bfa5a112c000d651eb5b05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | Ex1_5.sce | clc;clear;
//Example 1.5
//given values
Patm=14.5;
Pvac=5.8;
//calculation
Pabs=Patm-Pvac;//pressure in vaccumm is always treated to be negative
disp(Pabs,'the absolute pressure in the chamber in psi is')
|
cfb8c626d70fe2610839888e7195c97422176e16 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_c_bfa_mt_d/~BivLCM-SR-bfi_c_bfa_mt_d-PLin-VLin.tst | 31d01004d3ee6e1a7acc31961871baaaa81244ed | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_c_bfa_mt_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.302871D+00
... |
a4d58ee1bd362ce3b4784360e09d2ac8b6028e0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH2/EX2.1.a/Ex2_1a.sce | 3451311bc6d488d1d61597c0bfb5a95bfccf5528 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | Ex2_1a.sce | //Caption: Probability
//Example 2.1.a
//page no 43
//Find the Probability
clc;
clear;
redballs=3;
whiteballs=4;
blackballs=5;
//P=ways of choosing a red ball/Total no. of ways choosing a ball
Pro=redballs/(redballs+whiteballs+blackballs);
disp("Probability Getting red ball is");
disp(Pro,"P(R)=");
|
4098d72bda98aa7ba2a081b2a9d0ea964b77be92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH9/EX9.19.b/Ex_9_19_b.sce | cba0912b0c383b2938ab74756dc212b186dd4789 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sce | Ex_9_19_b.sce | // Example 9.19.a;//OPTICAL POWER
clc;
clear;
close;
Ip=10^-6;//optical current in ampere
e=1.6*10^-19;//elecronic charge
C=3*10^8;//SPEED of light in meter per second
n=0.50;//quantum efficiency
h=0.9;//wavelength in nano meter
ht=6.62*10^-34;//plank constt.
R=((n*e*h*10^-6)/(ht*C));//responsivity
Po=(Ip/R)... |
008be0a1f7e75409332b8a878ee7dfd2810c7c98 | 39c5c468df5e2bde0147a30cf092fc8da3e7ed3e | /UFRGS/calcNumerico/area2/m11/taylor_h_3ordem.sce | 518bfc046a2ae7a627cc585fc5099596572e206f | [] | no_license | andredxc/Files | 9dffc9fe5f7e923b83035d794dfa15c930cdb898 | e32309b9ab548b829b04be66c2776cf9c9c6656e | refs/heads/master | 2021-06-03T10:44:01.606242 | 2020-09-21T15:39:48 | 2020-09-21T15:39:48 | 107,410,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sce | taylor_h_3ordem.sce | clear
function y=f(t,u)
y=u*t
endfunction
function y=ft(t,u)
y=(u*t)*t+u
endfunction
function y=ftt(t,u)
y=(u*t^3)+2*u*t+u*t
endfunction
a = 0.1
T = 2
h = 0.1
u(1)=a; //cond inicial
t(1)=1;
N=(T-t(1))/h
for n=1:N
t(n+1)=t(n)+h;
F=f(t(n),u(n));
Ft=ft(t(n),u(n))
Ftt=ftt(t... |
81897727450a7825c49beba9a998b6c2081cbe8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH9/EX9.8/Ex9_8.sce | a6429a115f0059d35cb3d9d9459281e38fe94152 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 757 | sce | Ex9_8.sce | clc;clear;
//Example 9.8
//given data
T1=300;
T6=1300;
r=8;//overall compression ratio
//calculations
//as it is case of intercoolimg
ri=sqrt(r);//ri stands for P2/P1 = P4/P3 = P6/P7 = P8/P9
//from A-17 at T1
h1=300.19;
Pr1=1.386;
Pr2=ri*Pr1;
//from A-17 at Pr2
T2=403.3;
h2=403.31;
//from A-17 at T6... |
ebf0aa1a8deda68a9856df31de1a64793bccbb51 | 46f797517bb105c1b47783b74758079038c00129 | /DateTimeTest1/nnTest1.tst | 28d3c3d036f0bb15473303c169eaf1edd991f823 | [] | no_license | xaltotungreat/nn-exp | 499660bbfa276e95487c9ec6acaf0036c858b8bc | 75d4b3a96b2dae9b8e4b54d65875d0fd0b76c91e | refs/heads/master | 2020-05-18T11:31:17.157702 | 2015-05-31T23:14:58 | 2015-05-31T23:14:58 | 32,185,876 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 37,908 | tst | nnTest1.tst | 1983,03,06,01,31,55,596,1,2,3,4,5,6,7
03,23,2013,02,48,01,129,3,1,2,4,5,6,7
04,11,21,50,04,232,0,0,2,1,4,5,6,7
10,07,1977,16,25,15,407,3,2,1,4,5,6,7
2064,03,14,14,46,39,850,1,2,3,4,5,6,7
07,17,1941,10,35,23,314,3,1,2,4,5,6,7
06,03,16,42,51,855,0,0,2,1,4,5,6,7
30,11,2005,19,05,03,064,3,2,1,4,5,6,7
1985,01,08,15,... |
882c29821cc52dd5bcbdae1eb7e5b02869366a6a | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/SCHI/CG96FVZ/ATWM1_Working_Memory_MEG_CG96FVZ_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | 84ae2db67ce79b02cfcc56d5d389039ba9fb3aee | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,600 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
f9125cb7d5509720b1525623addc218d989c9d78 | e3c27edbd2f0a8e733cee84b90a906c0a6d7c176 | /sem_3/c/ljudge/168.1.tst | ab7c8e68f406c8678e21919f4cbe303a23f9c53c | [] | no_license | dmitryhd/dmitryhd_code | c32223da5506156a068bbb0f20ad4cd06fdf2166 | 5173f6f74d4fa1c9c5fba9ffc4fc9134c56f4b0c | refs/heads/master | 2021-01-17T11:56:50.221745 | 2011-04-26T18:31:58 | 2011-04-26T18:31:58 | 1,650,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 29 | tst | 168.1.tst | }<>(){)(<})[]
3
2 3
2 5
8 11
|
13e8c508a21eb6bc0d823c3821a51ea81f3f90ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH9/EX9.7/ex9_7.sce | 977dcd0a662dd9e9c2748e54ff5152588ac9d738 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | ex9_7.sce | // Example 9.7
format('v',6)
clc;
clear;
close;
// given data
I_CQ= 5*10^-3;// in A
R_C= 1*10^3;// in Ω
R_L= 1*10^3;// in Ω
// The load resistance
r_L= R_C*R_L/(R_C+R_L);// in Ω
// The ac compliance,
PP= 2*I_CQ*r_L;// in V
I_CQ= 5.15*10^-3;// in A
PP= 2*I_CQ*r_L;// in V
disp(PP,"The ac compliance in volt... |
aa1bfb12c1976c209cc9697b9d2d262d15f33434 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/DEPENDENCIES/straightlineapprox.sce | 9b8e50e19de8be0b557c5cea5a1d2d827dbc17c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | straightlineapprox.sce | function [P]=straightlineapprox(x,f)
n=length(x);m=length(f);
if m<>n then
error('linreg - Vectors x and f are not of the same length.');
abort;
end;
s=0;
for i=1:n
s=s+x(i)*f(i);
end
c0=det([sum(f) sum(x); s sum(x^2)])/det([n sum(x);sum(x) sum(x^2)]);
c1=det([ n sum(f); sum(x) s])/det([n sum(x)... |
b0fd872215b6407b66e464523f22c0a9ba1f7fc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH3/EX3.9/3_9.sce | de76335cb92d6c3fd59595d8a6954a1689189c7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | 3_9.sce | clc
//initialisation of variables
Cd= 0.8
g= 32.2 //ft/sec^2
d= 3 //in
//CALCULATIONS
t= (60*2/(%pi*(d/12)^2*sqrt(2*g)/4*Cd))*(6-d)^(3/2)/(3*60/2)
//RESULTS
printf ('time to emptify biler = %.2f min',t)
|
271b0374a51ced9a95274a942473a45e7aa04efe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH4/EX4.10.2/Ex4_13.sce | 4d2ebbd0e7d92b5d6c38b503f2e27a40dee84525 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 785 | sce | Ex4_13.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 4.10.2\n')
//given data
m=75//mass of machine in kg
K=11.76*10^5//stiffness of springs in N/m
zeta=0.2
mo=2//mass of piston in kg
stroke=0.08//in m
e=stroke/2//in m
N=3000//spee in c.p.m
//calculations
Wn=sqrt(K/m)
W=2*%pi*N/60
bet=(W/Wn)
y... |
7294d22985e9acfa88c49559fd675b799fd53e91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH4/EX4.13/ex4_13.sce | 71995397a54dce00446f055b90fd29ac77c5a495 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | ex4_13.sce | clc;
clear all;
V = 1000; // Volume of hall in cubic meter
s = 400; // Surface area of hall in square meters
a = 0.2; // Average absorption coefficient of hall in sabine
T = (0.163*V)/(a*s);//'Reverberation time of hall
disp('s',T,'Reverberation time of hall is')
// there is slight variation in the answer.. the... |
239b33ca119ba73e7983fab9f9a90a3cb52988b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH18/EX18.22w/18_22w.sce | 5cbbe6b1df96df01f3f9dc16296d066aa38bcba6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sce | 18_22w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 18.22w
//calculation of object distance from the lens with one side silvered
//given data
v=-25; //image distance (in cm)
R=25; //radius of curvature of the spherical convex surface (in cm)
mu1=1; //refractive index ... |
64fe06f7d2ed6753107995de8ad8c3cb6cbba00c | 727092dff86e9d034d021bbc56565d9336b988aa | /Códigos CN/EulerM_EDO.sci | 38bb7fc724173318c4d7adadc5a38d06d70cc142 | [] | no_license | lucasdksan/Numerical-computing | c54b855bd50f2a06b1970086f2da63c28883f287 | a5a5863499bdf46003437140e3fa3123fc4960f8 | refs/heads/master | 2023-06-24T16:13:01.094230 | 2021-07-29T15:57:00 | 2021-07-29T15:57:00 | 278,514,165 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sci | EulerM_EDO.sci | function a=df1(x,y,z)
a=z;
endfunction
function b=df2(x,y,z)
b=sin(y)
endfunction
function [x,y,z]=EulerM(xo, yo, zo, h)
x(1) = xo
for j = 2:136
x(j) = x(j-1) + h
end
n=length(x)
y(1)=yo
z(1)=zo
for i=2:n
y(i)=y(i-1)+df1(x(i-1),y(i-1),z(i-1))*h
... |
84ab2bb9d5c9684f1e23075cc73cbbd9c8a6d5d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH15/EX15.4/Ex15_4.sce | cafb67074a8965c2376f388485ca3521583951ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | sce | Ex15_4.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex15_4.sce.
clc;
clear;
//There is a mistake in the question , given height is 5 instead of 4
h=4;
x=[2:2:14];
for i=1:length(x)
Ed(i)=(64/(4^2+x(i)^2)^(3/2))+1;... |
148bae52f197515741284dc1f9883113052737b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH46/EX46.7/Ex46_7.sce | 271556adbde68d51834222f49c827d162fe128f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 715 | sce | Ex46_7.sce |
//To Calculate the Temperature of Deutrons for a specific Average Kinetic Energy
//Example 46.7
clear;
clc;
e=1.6*10^-19;//Charge on an electron in Coloumbs
E=9*10^9;//Value of Constant (1/(4*%pi*e0)) in N-m^2/C^2
d=2*10^-15;//Closest Seperation between 2 deutrons in metres
K=e^2*E/(2*d);//Initial K... |
f32cefad22d74cff3e9ded37d9e0c300d2548bbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH8/EX8.3/EX8_3.sce | 12eb0a62ad29795bef307d8e2520ac716728ae31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,127 | sce | EX8_3.sce | // Example 8.3
// Calculation of the maximum transmission distance.
// Page no 394
clc;
clear;
close;
//Given data
p=3; // Peak power
tb=40*10^9; // Bit rate
c=3*10^8; // Velocity of light
lambda=1550*10^-9; ... |
8149f76a95d09996d5de39258e92a8756719caf7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH1/EX1.10/ex1_10.sce | a7b72bac557a2324c0c23d8e8dba1d9dafc6e235 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sce | ex1_10.sce | clc;
a=20; //amplitude in cm
n=6; //frequency per second
w=2*(%pi)*n; //omega in radians/sec
disp(w,"Omega in radians/sec = "); //displaying result |
d6ed3e8fc4d4cd06587d9f45377682a89c3c7428 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH6/EX6.4/ex_6_4.sce | 2ffe50851292cff3a17372b8b7d1fc87d0c08b16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | ex_6_4.sce | //Example 6.4 // Period of Oscillation
clc;
clear;
//given data :
m1=8;// mass suspended in kg
l=.32;// length of spring stretched in m
m=.5;// new mass suspended in kg
g=9.8;//acceleration of gravity in m/s2
k=m1*g/l;// force constant of spring in N/m
disp(k)
T=2*%pi*sqrt(m/k);// time period of Oscillation... |
02fa5df85dc4fdda42abc2fe13855038c33035eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH8/EX8.4/8_4.sce | 9cf27663d74418bd5faddfed1efaca28a64dd42b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | 8_4.sce | clc
//initialisation of variables
S2= 5.8328 //kJ/kg
S1= 5.8712 //kJ/kg
//CALCULATIONS
S= S2-S1
//RESULTS
printf (' change in entropy = %.5f kJ/K',S)
|
9b6a6994a8fe81d5b82f11eabc18c0ff06000a52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH7/EX7.7/ex7_7.sce | c89951ff7e0f26b0c2cf540f2c300ea339a43c4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | sce | ex7_7.sce | clc;
warning("off");
printf("\n\n example7.7 - pg293");
// given
Uo=1; //[m/sec]
// using Ux/Uo=y/yo
// assuming any particular value of yo will not change the answer,therefore
yo=1;
Uxavg=integrate('(Uo*y)/yo','y',0,yo);
Ux3avg=integrate('((Uo*y)/yo)^3','y',0,yo);
// using the formula alpha=(Uxavg)^3/Ux3avg... |
782244e3bb8a01f5e700ae3b6c7bdff8fbe4deda | 5ef0142acb907a822ce8f3f48fbcfa474b9ac625 | /utype/Utype.tst | 39f177f64a0278a916bf678bb0c3be15547fee1e | [] | no_license | ici-language/ici-modules | b1c24b2ff3bfeccc758dc1ea6d87aee24c406c42 | 759620f42ae4d61c6489cccbc8b5fc2ce3137a65 | refs/heads/master | 2021-01-20T12:56:01.586058 | 2017-02-21T11:27:11 | 2017-02-21T11:27:11 | 82,670,730 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 456 | tst | Utype.tst | /*
* Include the ICI file that defines the Complex type
*/
/*
* Create a Complex number
*/
auto c = utype.new(Complex.type);
printf("After creation, re = %f im = %f\n", c["re"], c["im"]);
printf("typeof(c) = %s\n", typeof(c));
try
c.foo = 1;
onerror
printf("%s\n", error);
c.re = 27.9;
c.im = 1;
printf(... |
8d4a578ba765a778b54148239ac59990525008c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1598/CH4/EX4.12/ex4_12.sce | 72169bd6d5a00d89f8cb16558b1cf0773a829d2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | ex4_12.sce | clc;
eo=8.85*10^-12; //constant
r=1.2; //r in m
t=80*10^-6; //surface sharge density in c/m square
q=t*4*(%pi)*(r^2); //calculating charge
fi=q/eo; //calculating flux
disp(fi,"Flux in N m square/c = "); //displaying result |
9e7481b92725454672fc46d6f06ae7f6e48ecfdd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH8/EX8.36/Ex8_36.sce | 842d723de5bfa6343829600a86fe939172a37552 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,027 | sce | Ex8_36.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 36
clc;
disp("CHAPTER 8");
disp("EXAMPLE 36");
//VARIABLE INITIALIZATION
v_t=250; //in Volts
I_l=150; //in Amperes
loss1=1200; //core loss at full load in Watts
loss2=800; //mechanical loss in Watts
r... |
0f8566a9daa8c7c8495bb130aeba682e625a8e5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH19/EX19.2/Ex19_2.sce | 3e902ea7630d81eb007773dcdae9dcb235ff0ee4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | Ex19_2.sce | //Example 19.2
delta_PE=-30;//Energy lost per second (J)
delta_V=12;//Potential difference (V)
q=delta_PE/delta_V;//Charge moved (C)
n_e=q/(-1.60*10^-19);//Number of electrons passing per second
//-1.60*10^-19 C is the charge of an electron
printf('Number of electrons passing per second = %0.2e',n_e)
//Openstax ... |
57f4e910211d0dd610f385e423246b4915c101cf | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/scicos/CONST_f.sci | 703a13cd15e9e859e6adce0156de1024baa702fd | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,127 | sci | CONST_f.sci | function [x,y,typ]=CONST_f(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
graphics=arg1(2); [orig,sz]=graphics(1:2)
model=arg1(3);C=model(8)
dx=sz(1)/5;dy=sz(2)/10
xstringb(orig(1)+dx,orig(2)+dy,string(C),sz(1)-2*dx,sz(2)-2*dy,'fill')
case 'getinputs' then
x=[];y=[];typ=[];... |
821bd247b824802e81b2e42bdfcec8bf07cd44a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH5/EX5.2/Ex5_2.sce | 7baf3c45249f7c74f5ecebeffde4d89934fba3c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | sce | Ex5_2.sce | //Ex 5.2
clc;clear;close;
Rf=100;//kohm
C=0.1;//micro F
T=2*Rf*1000*C*10^-6;//s
disp(T*10^3,"Time period(ms)");
f=1/T;//Hz
disp(f,"Frequency(Hz) : ");
|
6d0bc365bb0ad7c6f7964664076facdb9270013d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3701/CH7/EX7.4/Ex7_4.sce | ee3462aaaa1fcf82484e47c86557bd2957e75121 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | Ex7_4.sce | ////Given
m=9.1*10**-31 //Kg
h=1.05*10**-34 //Js
ev=1.6*10**-19
n1=1
n2=2
n3=3
a=10**-10 //m
//Calculation
//
E1=((n1**2*%pi**2*h**2)/(8.0*m*a**2))/(1.6*10**-19) //ev
E2=n2**2*E1
E3=n3**2*E1
... |
c8b58237e57bcd0e4da05399b4302f89b70ac265 | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/examples/course/scilab-waves/string/runanimshapelaxwend1.sci | 532ec977e5655363e75651fd0bd1d97bad31d3a2 | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,631 | sci | runanimshapelaxwend1.sci |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
//clf;
clc;
// Constants
g = 9.81;
u0 = 0;
v0 = 0;
b = 2;
h0 = 5030;
damp=0.0;
force=0.1;
forcefreq=0.1;
k=2.5;
// Define the x domain
ni = 1001;
xmax = 10.0;
dx = xmax/(ni-1);
x = 0:dx:xmax;
/... |
0dc3291358783e06f3f122b1d9cd5591018638d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH11/EX11.8/11_8.sce | 1f3868afa4c289bf535bfb294fb3d01def88807a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | 11_8.sce | clc
//Initialization of variables
p=14.7 //psia
ps=0.363 //psia
n2=7.52 //moles
n1=1 //moles
//calculations
x= (n1+n2)*ps/p /(1-ps/p)
n=n1+n2+x
y1=n1/n
y2=n1/(n1+n2)
//results
printf("Percentage of co2 on a wet basis = %.1f percent",y1*100)
printf("\n percentage of co2 on a dry basis = %.2f percent",y2*100... |
142424d28a5c54f90c15ce2b8fd1feb470268374 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH16/EX16.5/Ex16_5.sce | d20aa02d4c97b44d7b839e3f3b8dab016030383d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 755 | sce | Ex16_5.sce | //Fluid Systems - By Shiv Kumar
//Chapter 16- Hydraulic Power and Its Transmissions
//Example 16.5
//To Calculate the Increase in Pressure Intensity.
clc
clear
//Given Data:-
d=200; //diameter of Pipe, mm
Q=40; //Discharge, Litres/s
l=600; //Length of Pipe, m
... |
f70fd2e5fc304ec557431599fc2376cf0ee89cbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH8/EX8.2/ex8_2.sce | 96470f450cdfb29d6b4b60f519a6f4d044eca096 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 607 | sce | ex8_2.sce | //Exam:8.2
clc;
clear;
close;
d_o=12.7;//tensile test specimen diameter (in mm)
d=12;//tensile test specimen diameter after load (in mm)
P=76*10^3;//load(in N)
pi=22/7;
A_o=(pi/4)*(d_o^2);//Initial area of cross section(in mm^2)
A=(pi/4)*(d^2);//area of cross section after load of 76 kN
E_stress=P/A_o;//engin... |
127b5646f6655bfebb265a2edeb1ba2b454ce991 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3296/CH2/EX2.11/Ex2_11.sce | 84c29b6945656988740a88bdd79ca514286bab1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 869 | sce | Ex2_11.sce | // chapter 2
// exapmle 2.11
// fig. 2.8
// Find the total elongation of the bar
// page-21-22
clear;
clc;
// given
A=500; // in mm^2 (cross-sectional area of the bar)
E=80; // in GPa (modulus of elasticity)
PA=100, PB=80, PC=50, PD=30 ; // in kN (forces acting at the points A,B,C,D)
l_AB=500; // in mm (length of part ... |
e6040075fba123be53859b390c7774bb880ad428 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH13/EX13.6b/eg13_6b.sce | 7f703bbc58db468498d2d632064d6fe5cd61bc4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | eg13_6b.sce | X = [48 52 70 62 57 81 56 59 77 82 78 80 74 82 68 84];
u = 62;
n = 4;
sigma = 24;
alpha = 0.25;
W = zeros(17);
W(1) = 60;
for i =2:17
W(i) = (0.25*X(i-1)) + (0.75*W(i-1));
end
disp(W , "The values of W are")
val = 3*sigma*sqrt(alpha/(n*(2-alpha)));
lcl = u- val;
ucl = u+ val;
disp(lcl, "LCL is");
dis... |
aa00214f09b56155a434ce2d82d8e1b0e91455cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH5/EX5.23/Example5_23.sce | 4a48c39d56fb8fc6a7e4e814452e94f6a9e619bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 984 | sce | Example5_23.sce | //Exa 5.23
clc;
clear;
close;
//Given data :
A=0.936+%i*0.016;//parameter of 3-phase line
D=A;//parameter of 3-phase line
B=33.5+%i*138;//parameter of 3-phase line
C=(-0.9280+%i*901.223)*10^-6;//parameter of 3-phase line
VRL=200*10^3;//Volt
VR=VRL/sqrt(3);//Volt
P=40*10^6;//W
pf=0.86;//power factor
cos_fi_... |
e7f4c08860f618250792f36b862fe21089ffee5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH6/EX6.14/ex6_14.sce | 34714abc4cf5bc1888ad83dc1c73bbe33aea43dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | ex6_14.sce | // Exa 6.14
clc;
clear;
close;
format('v',6)
// Given data
Av =10000;// open loop gain
Beta = 1/10;// feedback ratio
Avf = Av/(1+(Av*Beta));// closed loop gain
dAvByAv = 50/100;// change in open loop gain
dAvByAvf = 1/(1+(Beta*Av))*dAvByAv*100;// change in closed loop gain in %
disp(dAvByAvf,"The percentage... |
a601b53161f55cb49e0350e9015ff84c682a1859 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH8/EX8.19/ex8_19.sce | 2ef49e77c584622dd920366b7adb118e52d8e27b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,022 | sce | ex8_19.sce | // Exa 8.19
clc;
clear;
close;
// Given data
GCR= 110;// gas consumption rate in m^3/hour
rpm= 300;// round per minute
Vs= 0.1;// swept volume of engine in m^3
V_H2=0.50;// in m^3
V_CO= 0.05;// in m^3
V_CH4=0.25;// in m^3
V_CO2= 0.10;// in m^3
V_N2= 0.10;// in m^3
V_O2= 5.8;// in m^3
AirRequired= (0.5*(V_... |
695d0b037d11470bd76fa279f1e6c583b9f1b0d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH6/EX6.5/ques5.sce | e20611f6c687681446f5074579a8734327d8677f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | ques5.sce | //error no internal error
//ques5
clc
disp('definite integral');
syms x m n
n=input('Enter n :');
m=input('Enter m : ');
g=(cos(x))^m*cos(n*x);
f=integ(g,x,0,%pi/2);
disp(float(f));
g2=(cos(x))^(m-1)*cos((n-1)*x);
f2=m/(m+n)*integ(g2,x,0,%pi/2);
disp(float(f2));
disp('Equal');
|
0d21f10b729dbb35937183d38be5c3156e1d93d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH19/EX4.2.15/U4_C2_15.sce | 4a289e42811a51f5532b97f435c0ff7f89eec326 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sce | U4_C2_15.sce | //variable initialization
zH=1 //atomic no. of H
zHe=2 //atomic no. of He
deltaHe=5.84 //doublet spli... |
3a7210f2da29c95ecedc5212d185365bb9f51e5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH8/EX8.6/Ex8_6.sce | f640e244cc12ddbc51501027a2fbe91c4b07bae6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | Ex8_6.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex8_6.sce.
clc;
clear;
N=360;
phi=45e-3;
s=120;
E=260;
p=4;
n=N/60;
a=8;
Z=(E*a)/(2*phi*p*n);
coductors_per_slot=Z/s;
total_no_of_conductors=coductors_per_slo... |
dd686d0bb31d18851c533d8d39473fd315d0d044 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH16/EX16.3/EX16_3.sce | 8773bfb1e6acc4e170e0d945e8c99170952c1cc2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,192 | sce | EX16_3.sce | clc;funcprot(0);//EXAMPLE 16.3
// Initialisation of Variables
ec=3600*10^(-6);.............//Engine capacity in m^3
pw=13;...............//Power developed in kW per m^3 of free air induced per minute
etaV=0.82;............//Volumetric Efficiency
N=3000;................//Engine rpm
p1=1.0132;......................... |
f2c224d926e7ad5abeb631ff1d883c1ae8dc18a2 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testpause.sce | a56e030899bb49bc6eab6f080810211a372915c9 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 50 | sce | testpause.sce | x=1
pause
x=2
halt('hit ''Enter'' to resume')
x=3
|
7dabd7f0041b57bf5ba77290a2d1420d14600641 | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/rule/0003.tst | de864d5eea4d50cdb91cc8703dde0f36efd2652e | [
"MIT"
] | permissive | scravy/abnf | 76515bd820b3b9d8e2dbc2cec2a2f845720a6022 | cc4228f403b436cc4e34ff4d6a7def83922174be | refs/heads/master | 2023-01-09T14:30:50.095268 | 2020-06-07T16:18:09 | 2020-06-07T16:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 123 | tst | 0003.tst | qW4-0=/;6
z (;
[ 3["" [%Xcc;
/
7E ; v
]
/
*cl ]] *7"";
[*"pA" ;
;
] 6"";
); v
|
baa673c02254ac77b3c189c76ef5480c4a558426 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH7/EX7.2/Ex7_2.sce | 168b0e55b42a8467d5031cbfd4fdef4e6d0250e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 579 | sce | Ex7_2.sce | // Example 7.2
clc;
clear;
close;
// Given data
format('v',6);
f_H= 2*10^3;//cut-off frequency in Hz
C= 0.033*10^-6;// in F
R= 1/(2*%pi*f_H*C);// in Ω
// 2*R= Rf*R1/(Rf+R1)= 0.586*R1^2/(1.586*R1) since Rf= 0.586*R1
R1= 2*R*1.586/0.586;// in Ω
R1= round(R1*10^-3);// in kΩ
disp("The value of R1 is : "+string(... |
711f70e292821b1c939f34690f67e26969afbd42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH9/EX9.17/ex9_17.sce | 57a5301e1402859c13b44230f81e5322cc4f68d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | ex9_17.sce | // Exa 9.17
clc;
clear;
close;
// Given data
k = 0.12;// in mA/V^2
V_T = -2.5;// in V
V_GS = 0;
I_D = k*((V_GS-V_T)^2);// in mA
disp(I_D,"The value of I_D in mA is");
V_DD = 6;// in V
R_S = 4.7;// in k ohm
V_DS = V_DD -(I_D*R_S);// in V
disp(V_DS,"The value of V_DS in V is ");
V_S = 0;// in V
V_DSsat ... |
22bf5159c6488753235f8ceaba0526c443dcbd57 | e424e40d906c9eb8f8034d6f8e2cd4647334387e | /Corto 1/Ejercicios basados en compuertas/And16.tst | 3b8898b55870d8d5970c5bc8e8bc03458a81ea97 | [] | no_license | EzioAARM/practicas-arqui-nand2tetris | ef20358ea414875178bb26b4a552552d6ccd32dc | 0e1b424fa02d3cc2d79984808450224926936323 | refs/heads/master | 2020-04-29T19:11:03.560135 | 2019-03-18T18:32:32 | 2019-03-18T18:32:32 | 176,346,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | tst | And16.tst | load And16.hdl,
output-file And16.out,
output-list a%B1.16.1 b%B1.16.1 out%B1.16.1;
set a %B111111111111111, set b %B000000000000000, eval, output;
set a %B101010101010101, set b %B101010101010101, eval, output;
set a %B111111111111111, set b %B111111111111111, eval, output; |
d84ee2987224fd14fae8a025d2a2373f73bc0f5c | 582be270b7fa07bed4052844aaa055f2a97d2a09 | /FACES/FACES_sce.sce | 32d15cc558fca56d88dd82868263830bf3954704 | [
"CC0-1.0"
] | permissive | GNilsonne/SleepyBrain-StimulusPresentation | 9de4aef10fe4bbb7ac4bb37606382ec303fe4fb0 | fc8244a85dace20e25e64989be0aa3cf7f771532 | refs/heads/master | 2021-01-10T17:33:26.112138 | 2017-08-08T03:59:47 | 2017-08-08T03:59:47 | 50,339,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 12,310 | sce | FACES_sce.sce | ###########################################################
# This experiment presents pictures of faces with different
# expression. The aim is to study emotional contagion in
# the context of sleep deprivation.
# The paradigm is adapted from Wright et al, Neuroimage
# 42 (2008) 956-968.
#
# By Gustav Nilsonne 12112... |
5417f480a32c3a4f2ad098b0d3fb8f5d860f97c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH2/EX2.23/ex_23.sce | 3a72496d07bcac3416e046009c6a79d9db498ff6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,463 | sce | ex_23.sce | // The equation 3*x^3+4*x^2+4*x+1==0 has three real roots.
// the graph of this function can be observed here.
xset('window',22);
x=-1.5:.001:1.5; // defining the range of... |
be77b602ff0cf80a2611b7726192281e1352c2f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH11/EX11.13/example11_13.sce | 58dfadbbfa2f51fa753c41a3b353d03abf7ed2b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | example11_13.sce | //clc()
T1 = 1500;//K
Tr = 273;//K
T2 = 400;//K
Cpm1 = 50;//kJ/kmol
Cpm2 = 35;//kJ/mol
H = Cpm1 * ( T1 - Tr ) - Cpm2 * ( T2 - Tr );
disp("kJ/kmol",H,"Enthalpy change = ") |
7bd2419a65fd1581bb786692203062a09ecd1c8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH6/EX6.7/6_7.sce | 6c10c1568825ad286ca1f47cd74d00e13ca21425 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | 6_7.sce | //Eg-6.7
//pg-290
clear
clc
//sorting data in ascending order
x=[233;216;229;238];
m1=median(x);
y=[56;62;51];
m2=median(y);
disp("medians of given data are as follows")
disp(m1)
disp(m2) |
fea7d50adae9d1117dd113a3233d4b6f192f7960 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH1/EX1.4/Ex1_4.sce | d5698999388ddb0674b9b020a5b0b5854f543252 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | Ex1_4.sce | clc;
clear;
omega=500 //frequency in radian/s
L=0.08 //inductance in H
R=15 //resistance in ohm
C=30*10^-6 //capacity in F
//calculation
L_omega=L*omega //in ohm
C_omega=1/(C*omega) //in ohm
tan_phi=(L_omega-C_omega)/R //in degrees
phi=atand(tan_phi)
mprintf("The current leads the applied voltage by =... |
fef3860e76ee573868e2865d48c92205de534a84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH7/EX7.13/Example7_13.sce | 21e42734da4cd727d4cc1117a1cb41cece4ac63c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,824 | sce | Example7_13.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART I : GENERATION
// CHAPTER 7: TARIFFS AND ECONOMIC ASPECTS IN POWER GENERATION
// EXAMPLE : 7.13 :
// Page number 77
clear ; clc ; close ; // Clear the work space and ... |
78bff318818353843d5d0f168c9e42167e8feceb | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH2/EX2.4/Example2_4.sce | 6db7c40e219b74eb87d8ca3f4d2e88b7082e668a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | Example2_4.sce | //Resistance R, Voltage V, Current I
close();
clear;
clc;
R1 = 5;//ohm
R2 = 15;
R3 = 5;
R4 = 4;
R5 = 12;
V5 = 132;//V
I = V5/R5;
I1 = (R1+R2)/(R1+R2+R3)*I;
I2 = R3/(R1+R2+R3)*I;
mprintf('I1 = %0.1f A\nI2 = %0.1f A',I1,I2); |
f066717fc151635e3222c5c451b93881dce978ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH2/EX2.3/Example2_3.sci | 1d3cb0b474c6788a7958b31b7e0b26336025cbad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 716 | sci | Example2_3.sci | //Chapter 2_Thick Film and Thin Film Hybrid ICs
//Caption : Sheet Resistivity
//Example2.3: Calculate the sheet resistivity of a square of thick film resistor material with the following properties: bulk resistivity=10^-1ohm-cm and thick film thickness=10micrometer.
//Solution:
clear;
clc;
function Ps=myfunction4... |
6bb75390e7a58df2871727df46e44ea64dea3524 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.10_1.tst | 49fb832ab1075faedec312d0680f005e248d8948 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,381 | tst | bow.10_1.tst | 10 964:0.16666666666666666 965:1.0
10 6:1.0 14:0.030303030303030304 30:0.2 186:0.5 344:1.0
10 3:1.0 6:1.0 55:0.5 56:0.25 66:0.5 69:0.6666666666666666 84:0.25 183:0.25 199:0.125 301:1.0 331:1.0 346:1.0 349:0.3333333333333333 369:1.0 394:1.0 971:1.0 973:1.0 1056:0.5 1256:1.0 1317:1.0 1327:1.0
10 14:0.030303030303030304 2... |
67e1040316d795272bc3ad3cf1c5bdd2f9b88843 | 7e1b0b7ceda8e9c25d67d330a7bb5e562a01f27a | /ProbInverses/CCRegLineaire/CCquestionE.sce | 9ec239dfee5abff24003367db5a9c6d9da213ddb | [] | no_license | sebherv/master2 | 59b8232e62bef140636bfad8c986bbd10e7d7beb | b8cd8bcde1ae3ae7a5bca58183804faa21456dd8 | refs/heads/master | 2021-09-13T19:33:50.766722 | 2018-02-09T15:09:24 | 2018-02-09T15:09:24 | 103,376,025 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,515 | sce | CCquestionE.sce | clear;
getd();
// Get data from file
disp("Loading ballistic data file...");
DATA=fscanfMat('BallisticsDataFile.txt');
d=DATA(:,2);
t=DATA(:,1);
// Create G from the time data
disp("Creating matrix G...");
n=size(t)(1);
G=ones(n,1);
G=[G t -0.5*t^2];
// Compute model
disp("Computing model...");
m=inv(G'*G)*G'*d;
/... |
7b92a931ba174859be52ef3811b01ff4b20c61d8 | ec32ca42a761a1bff5bf951ee44f864d175cfcfd | /Tests/testDMux.tst | e68276c3f3ff5c0c7274c97e41d2b9e7a2333412 | [] | no_license | jakoborel/nand2tetris-Project | 18256faeec02b6c2ab947c6dc24afddda2678d68 | 01ea2263da5d8ba2a6e81c07d9992b5a3cb79785 | refs/heads/master | 2021-05-21T04:27:59.487198 | 2020-04-04T23:24:59 | 2020-04-04T23:24:59 | 252,542,832 | 0 | 0 | null | 2020-04-04T01:38:00 | 2020-04-02T19:04:43 | Scilab | UTF-8 | Scilab | false | false | 208 | tst | testDMux.tst | load DMux.hdl,
output-file dmuxOutput.out,
output-list in sel a b;
set in 0, set sel 0,
eval, output;
set in 0, set sel 1,
eval, output;
set in 1, set sel 0,
eval, output;
set in 1, set sel 1,
eval, output;
|
d7880c36579975ca8cf03aa68b6dc7ac6c3c0ed4 | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/cmd/test/man-material.tst | 7b78c69313bb34013f53426ca7d7777ba62db9d4 | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 627 | tst | man-material.tst | #material stream example
$thermo = VirtualMaterials.Advanced_Peng-Robinson
/ -> $thermo
thermo + WATER TRIETHYLENE_GLYCOL
#generate WATER/TEG bubble temperature curve
units Field
s = Stream.Stream_Material()
s.In.P = 1 atm
s.In.VapFrac = 0.0
s.In.Fraction = 0.0 1.0
s.Out.T
s.In.Fraction = 0.1 0.9
s.Out.... |
56d3989dbec35e11935d67e977c767ba07e9bdbf | 178822612bcd418dc12ba7a649304a24ab618d60 | /Numerical Analysis/sans.sce | b1eee5857ae84b4f482f46b4edfcfd6ef024a3d4 | [] | no_license | engom/Math_Problem_Solving | b56c6cbfbff6c416c519795b9ab8f0c0bbba5ea3 | 6538c476681ae4ee803ea9b3a8944c5f370e1961 | refs/heads/master | 2022-05-25T01:13:16.123161 | 2016-02-13T11:32:28 | 2016-02-13T11:32:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 701 | sce | sans.sce | A = [1 2 -2;1 1 1;2 2 1]
b = [1;-2;3]
function [x]=GaussSansPivot(A,b)
// résout le système Ax=b par
[m,n]=size(A);o=length(b);
if m~=n | o~=n then, error('probleme de dimensions'), end;
// initialisation
zero=1.e-16;
for k=1:n-1
u=A(k,k:n);pivot=A(k,k);i0=k
if abs(pivot)<zero then, error('stop : pivot nul')... |
32cfb70e136cdec4eafa56881cffae694b53ef03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH9/EX9.5/Example9_5.sce | da4980a8e73a97f4c035658ae5895902119e3f63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 562 | sce | Example9_5.sce | clear;
clc;
//Caption:Value of theta for Ge Transistor
//Given Data
Vcc=30;//in V
Rc=2;//in K
Re=4.7;//in K
Ic=1.5;//in mA
//We know that dPc/dIc = Vcc - (2*Ic*(Rc+Re))
//Let D=dPc/dIc
D = Vcc - (2*Ic*(Re+Rc));
disp('Ic increases by 0.131mA over a temprature range of 35 to 75 degree C');
disp('theta... |
5077a74947de824a6db2074e0bb5d1f6df319dd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.14/2_14.sci | adb89dbd5af76a5b89ab4f3afcd9db269fb1cebf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sci | 2_14.sci | // 2.14
clc;
mo=0.8;
sr=250;
sm=sr/mo;
R=sm*1*10^-3;
printf("Resolution of 1mm movement = %.4f degree/mm",R)
Rq=300/1000;
printf("\nRequired Resolution of 1mm movement = %.3f degree/mm",Rq)
disp('Since the resolution of potentiometer is higher than the resolution required so it is suitable for the application'... |
95fbf33f827a7f7756a6cabac5d07334a2462db8 | 53a108238b9fda736d1411a9722d4043922e73e3 | /lab.sci | 631574b91e01b31d0676b0ebfdec655832b8c09e | [] | no_license | 3reedm/scilab | 708d315412cdb48590c66821d78a883e28b5a7e6 | 2508a225d5e8b744da1be7443f5831b665a60aee | refs/heads/master | 2020-03-18T01:56:55.225475 | 2018-05-20T16:27:39 | 2018-05-20T16:27:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,827 | sci | lab.sci | // Решение уравнения теплопроводности методом разностных схем
// ∂u / ∂t - a ^ 2 * ∂ ^ 2 u / ∂t ^ 2 = 0
// a ^ 2 = λ / cρ, 0 <= x <= L, 0 <= t <= T, (T - время, любое число до ∞)
// u(0, t) = 0, u(L, t) = 0, u(x, 0) = fi(x),
// a ^ 2 - коэффициент температуропроводности,
// λ - коэффициент теплопроводности м... |
81ef0cdf8afbe01d5efbc3e386da6cc978d71e0f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fiber_Optics_And_Optoelectronics_R._P._Khare_2216.zip/Fiber_Optics_And_Optoelectronics_R._P._Khare_2216/CH7/EX7.5/ex_7_5.sce | 3d169421f199ec927cc074e34aa790ebc72d0d56 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | ex_7_5.sce | errcatch(-1,"stop");mode(2);//Example 7.5: The number of longitudinal modes excited
;
;
format('e',10)
//given data :
lamda=632.8*10^-9;// in m
n=1;
L=20*10^-2;// in m
del_lamda=((lamda)^2/(2*n*L))*10^9;
disp(del_lamda,"The number of longitudinal modes excited,(nm) = ")
exit();
|
f73ea59046d5e3845adeefa3e5c755575ceff5c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH20/EX20.4/20_4.sce | d333541f9d3bddd5632b72810fecc66829a4a08d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 969 | sce | 20_4.sce | //Example 20.4
//Seven Point Formula
//Page no. 686
clc;clear;close;
printf('Itr\t\t U111\t\t U211\t\t U121\t\t U221\n-----------------------------------------------------------------------\n')
for i=1:4
for j=1:4
for k=3:-1:1
if k==3 then
u(i,j,k)=100
elsei... |
21bbae6e431e3c2f1183f4992ac4d83ceae9ee8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH12/EX12.8/Ex12_8.sce | aa53c031e892557a5a4fe0c86d86368a1b2257a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | Ex12_8.sce | clear
//Given
B=1 //T
l=0.5 //m
v=40 //m/s
//Calculation
//
e=B*l*v*sin(60*3.14/180.0)
//Result
printf("\n emf induced in the conductor is %0.2f ",e)
|
997b32adcd086aad8d90f332c3159e88529129d6 | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/builder.sce | 5f03cb06524880a81108b47df3b766fb7e858399 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | builder.sce | toolbox_dir = get_absolute_file_path("builder.sce");
tbx_builder_macros(toolbox_dir);
tbx_build_loader(toolbox_dir);
tbx_build_cleaner(toolbox_dir);
tbx_builder_src(toolbox_dir);
tbx_builder_gateway(toolbox_dir);
tbx_build_localization(toolbox_dir);
tbx_builder_help(toolbox_dir);
|
1291f8232e01d7cf1d579de9c604f0636337fee0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH7/EX7.4/exm7_4.sce | 857d99a74928b758fae92ae12a619166db4d028d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | exm7_4.sce | // Example:7.4
//Write a program to compute and print a multiplication table for numbers 1 to 5
ROWS=5;COLUMNS=5;
disp("MULTIPLICATION TABLE");
printf("*|")
for j=1:COLUMNS
printf("%4d",j);
end
disp("________________________");
for i=1:ROWS
printf("%1d|",i);
for j=1:COLUMNS
... |
4a390faf466b52ec7082b0a33c5715d7583a4c98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH24/EX24.14/Example24_14.sce | 73ad07d3eedc4a8a25d1aad4dfcdc00c5bfa9d08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | Example24_14.sce | //example 24.14
clc;
disp('The kanaurgh map for given truth table will be :');
disp(' A''B'' A''B AB AB'''); //displaying the given kmap
disp('C'' 1 0 0 1');
disp('C 0 1 1 0');
disp("The adjacent cells that can be combined together are cells 000 and 100 and the cells 011 and 111")... |
76bdaf72e03679183aac20a28041d1c8cc0363d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH3/EX3.20/Ex3_20.sce | 7e3bda266987313cb1a95b0d345edd8cc868a929 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 849 | sce | Ex3_20.sce | //==================================================================================================
// chapter 3 example 20
clc;
clear;
//input data
f = 50; //number of reversals/s in Hz
W = 50; //weight in kg
d = 7500; //density in kg/m^3... |
794e295a2bbd3ce7561bf392b1cae3e61ebdb896 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3289/CH12/EX12.1/Ex12_1.sce | 164a14c55019be6edaf5ed171221cdc8e2f0f3bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | sce | Ex12_1.sce | clc
alpha=45
sigmayp=35*10^6 //Pa
k=840//MPa
n=0.2
L0=3 //m
Aad=10*10^-5 //m^2
Acd=10*10^-5 //m^2
Abd=15*10^-5 //m^2
P=sigmayp*Abd+2*sigmayp*Aad*cosd(45)
disp(P,"plastic yeilding in N is= ")
sigma=k*n^n
disp(sigma,"maxi allowable stress in MPa is= ")
epsilon1=n
disp(epsilon1,"axial stress is= ")
epsi... |
deb3692ae80a217c8a01564fbf4fc1998ef05cf2 | 623a9dd972dc78dbde5d5b8dc187acd6a1eb5910 | /TP4/puntofijo.sci | 1d7d8b869bd243f4ae4c0252ce88c075055d63a9 | [] | no_license | gtessi/CN2012-FICH | 0daad054ceb6c36636ee5e8b174a676b9e0acb9b | 4024384653b61b5af9e1c11ffb575e154025ee47 | refs/heads/master | 2020-03-27T05:53:04.684505 | 2018-08-25T03:03:15 | 2018-08-25T03:03:15 | 146,059,800 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sci | puntofijo.sci | function [x,h] = puntofijo(g,x0,kmax,tol)
h=zeros(1,kmax);
i=1;
p0=x0;
while(i<kmax)
x=g(p0);
r=abs(x-p0);
h(1,i)=r;
i=i+1;
if (r<tol) then
return;
end
p0=x;
end
endfunction |
5f8f5a4539fe0d840cc9491257c7e589f592e0ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH2/EX2.31/Ex2_31.sce | f6b65bdb2d79aba7baabd51ac49835b44d559370 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 880 | sce | Ex2_31.sce | //Caption: Mean,Variance
//Example 2.31
//page no 85
//find i)Mean
// ii)Variance of given function
clc;
clear;
//Mean Value
function X=f(x),
z=3*(1-x)^2,//Marginal Probability Density Function
X=x*z
endfunction
a=0;
b=1;
EX=intg(a,b,f);//Mean value of X
function Y=c(y)
z=3*(1-y)^2... |
3f4b6c0219ab735e4344784821cb3fc773250e54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH5/EX5.2.a/Example5_2_a.sce | 9018347d7e36a316dfb12c22265f6c8b74d021d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | Example5_2_a.sce | //Example 5.2(a)
clear;
clc;
R=100*10^3;
C=1*10^(-9);
vo0=0;
IB=80*10^(-9);
IOS=20*10^(-9);
Vsat=13;
Rp=0;
Ip=((2*IB)+IOS)/2;
In=((2*IB)-IOS)/2;
vo1=(R*IB)/(R*C);
t=Vsat/vo1;
printf("Time taken by the op amp to enter saturation (t)=%.4f sec",t); |
895d2fb06be963e5f5eb7b31c38d0b408ce7a367 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH11/EX11.8/11_8.sce | 27febdf1d5e1fdf06ac6ce34d56ab1b6b1fa3db0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,089 | sce | 11_8.sce | //Eg-11.8
//pg-485
clear
clc
a = 0;
b = 1;
h = b-a;
deff('out = func(in)','out = 1/(1+in^2)')
//From equations [30],[31],[32] & [33]
//Please note that the subscripts(i&j) we use here are different from that used in
//text book i.e they are increased by 1, because we cant give the index zero in /... |
8eb983aa74cc5fc0296f542d14af91dd8e4744d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH2/EX1.2/ex_2_2.sce | 660e22846c4e7ae925da661225a01cfa0d745f68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | ex_2_2.sce | //Example 2.2 // Wavelength of light
clc;
clear;
//given data :
a=.2D-3;//slit width in m
D=2;// screen is placed at distance in m
x=5D-3;// first minima lies at distance to central maxima
w=(a*x)/D;// wavelength of light in m
w=w*1D10;// to convert in A
disp(w,"wavelength of light used in A")
|
3cb0e5bd60491f6d4eb95e4360bf577b3d1b7377 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH23/EX23.13/23_13.sce | 5b41f10640f842a99378c0976e04bc8f3993c4b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | 23_13.sce | //Chapter 23, Problem 13
clc;
p = 4/2; // no. of pole pairs
f = 50 ; // in Hz
nr = 24; // in rev/sec
V = 415; // in Volts
R2 = 0.35; // in Ohms
X2 = 3.5; // in Ohms
//At the moment of starting, slip,
s = 1
//Maximum to... |
0c354cb8ea120490718a3a1e26751690e5ab99ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.17/Ex1_17.sce | 26afafefc3eae7ec1f2b5c114f23210a4e421551 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 991 | sce | Ex1_17.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 17
clc;
disp("CHAPTER 1");
disp("EXAMPLE 17");
//VARIABLE INITIALIZATION
v=7; //voltage source in Volts
I=7; //current source in Amperes
r1=1; //in Ohms
r2=2; ... |
7c10fa69fdba22cffe48b8ec5db868d55cd44571 | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH9/EX9.4/ex4.sce | 64f83d94781d7aa0437f7a3d986c345a8841fc07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | ex4.sce | //example 4
//calculating required specific work
clear
clc
Cp=1.004 //specific heat of air at constant pressure in kJ/kg-K
Ti=290 //initial temperature in kelvins
Pi=100 //initial pressure in kPa
Pe=1000 //final pressure in kPa
k=1.4
Te=Ti*(Pe/Pi)^((k-1)/k) //final temperature in kelvins
we=Cp*(Ti-Te) //requ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.