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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e036af9080369cf67d8fd5bffa4a3b11b6bdb575 | d299dd93e2e8e52cf779334ce10e01db666cf575 | /testing_sb.sce | 0e7b7fc70ac577c8cb0665cf7b2070e12bae5b6d | [] | no_license | mgonchar/Nastia-PhD | 2f0bebad63b2883e2a1b89e9c574baa8118d0ce4 | 84347cfff8e26c8c3961bfcd9c2bb5e528542566 | refs/heads/master | 2020-12-24T16:36:07.027834 | 2016-03-15T20:04:57 | 2016-03-15T20:04:57 | 38,119,678 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,622 | sce | testing_sb.sce | default_font_size = 48;
#log_key_presses = true;
response_matching = simple_matching;
active_buttons = 2;
button_codes = 16, 32;
begin;
TEMPLATE "words_arrays.tem";
TEMPLATE "semantic_block.tem";
/*
TEMPLATE "syntax_block.tem" {
caption_1 caption_2 caption_3 caption_4;
"хватает" "трогает" "гладит" "пишет";
}; */... |
2fb27270778e5d6ce24468fab4072abfb36039cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.2/Ex4_2.sce | 84878809e717c6f7e61af33c12748afe15a2f3e4 | [] | 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 | 486 | sce | Ex4_2.sce | clc;
l=0.3;//core length
r=0.2;//radius
n=20;//speed in r.p.s.
Ia=20;//armature current
Z=500;//total conductors
Bav=0.5;//avg. flux density
a=4;//lap-wound
P=4;//no of poles
Wm=2*%pi*n
phi=((0.5*2*%pi*0.2*0.3)/4);
Ea=((P*n*Z*phi)/a);//generated emf
Pm=Ea*Ia;//gross mechanical power developed
Te=((Ea*Ia)/W... |
c2d751e9be2a4b480a2682f46b7bb2ec0cd454f2 | 6227c5ef4e1c5d72cdebd6eac81f82161dda7e17 | /digi_dc_dc/Scilab/Quantization/LimitCycleamp.sci | d7cfeb71425b050451fb3822e72c938ef88d7690 | [] | no_license | maxsimmonds1337/Scilab | b4e8a03a9fbeda4d8f6e51e07d205bcf51addce8 | b413659e2b697565c24ad440d158f5bd28203570 | refs/heads/master | 2022-11-04T23:17:50.045864 | 2020-06-13T20:35:24 | 2020-06-13T20:35:24 | 272,081,285 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,985 | sci | LimitCycleamp.sci | function [Kp_limit,Ki_limit,Vlimit,Gcz_l]=LimitCycleamp(Kp,Ki,Nbitsection,H,nq,Vfs,Nadc,margin,fs)
//This function scales Kp and Ki so the limit cycle has an amplitude of Amp_limit, the gain of the feedback resistor is set by H and the number of sections is needed
//In digital the limit cycle will be limitid to... |
4289d0d5e8bcc5b042553d623e390d213c162062 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH3/EX3.7.b/ex_3_7_b.sce | 9dfd74e0404fc1d74b515a9ed81cdac4956592ac | [] | 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 | 300 | sce | ex_3_7_b.sce | //example 3.7//
//4 input nand gate using and and not//
clc
//refreshes all variables//
clear
//clears the screen//
disp('in the figure output of first gate is given to input of second gate on both input. output of second gate is input to the third gate. and the output is (ABC)''')
//result// |
e277bd93c8bee3f3b9cc732ab93047d72ef2c19f | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Assignrep.sci | 0a362b012133b885f38c217badf1cf75679be9ae | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sci | Assignrep.sci | // 09.10.17
// 09.12.05
// 09.12.29
// 14.09.30 addition supported
function Assignrep(varargin)
global ASSIGNLIST;
Nargs=length(varargin);
for I=1:2:Nargs
Vname=varargin(I);
Val=varargin(I+1);
Tmp=Assign('?'+Vname);
if Tmp=='Not found'
Tmp=length(ASSIGNLIST);
ASSIGNLIST(Tmp+1)=Vname;... |
622e61f75653069d744088964eec4c2224a6e40b | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH5/EX5.9.5/exa5_9_5.sce | 72c3d35bdbf01c14581da6a79e3c49efa9b0abe1 | [] | 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 | 394 | sce | exa5_9_5.sce | //Caption:calculate_reference_voltage_Vr
//example 5.9.5
//page 102
exec series.sce;
Vt=250//output_voltage
Rf=100//field_winding_resistance
Kg=500//generator_constant
A=2//amplifier
Vf=0.4//fraction_of_output_voltage_compared_with_reference_voltage
a=1/Rf;
b=series(A,a);
c=series(b,Kg);
d=c/.Vf;
disp(d,"V... |
90a80289d153c59d2bcddb15d7a4623da223e4d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH11/EX11.9/Example11_9.sce | af628cd3557e14e42d109f0f4ef028013e746796 | [] | 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 | 752 | sce | Example11_9.sce | //clear//
//Example 11.9:Gain and Phase Margins and their
//associated cross over frequencies
s =poly(0,'s'); // Define ss as polynomial variable
//Create s transfer function in forward path
F = syslin('c',[(4*(1+0.5*s))/(s*(1+2*s)*(1+0.05*s+(0.125*s)^2))])
B = syslin('c',(1+0*s)/(1+0*s))
OL = F*B;
fmin = 0.01... |
a32474ea48c2e4eedb925f8a31e14ca8bc923d61 | 922e50886064af80a9eaf3d095f946f12e686088 | /acceptance/extension_does_not_exist/exists.tst | f311bf019886d6d04d59c4f3ce2d2a8564e3c4e8 | [] | no_license | thoni56/jregr | 62c24dde4777af5ffdf7152f03f02f6988f9ef82 | 987f4e5a2e53103e71a2a24802bd7af489cd7e80 | refs/heads/master | 2021-12-24T16:59:17.134227 | 2021-08-10T21:24:45 | 2021-08-10T21:24:45 | 119,990,815 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 55 | tst | exists.tst | ########## exists ##########
exists.tst does not exist! |
ea52718c32cd36ebf229b1794c9e47189c421668 | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH9/EX9.12/ex_12.sce | c96a99f376f7872723a7167f621c7bbc981c105b | [] | 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 | ex_12.sce | // Chapter 9_The bipolar transistor
//Caption_Transistor cut off frequency
//Ex_12//page 403
Ie=0.001 //emitter current
Cje=10^-12
xb=0.5*10^-4
vs=10^7
Dn=25
xdc=2.4*10^-4
rc=20
Cu=0.1*10^-12 //B-C junction capacitance
Cs=0.1*10^-12 //collector to substrate capacitance
re=0.0259/Ie
tau_e=re*Cje*... |
fde271fef9634e14dd9218ea487149ba686fc7eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH8/EX8.7/7.sce | 9facf8d16d0f134062b9bed12e66ee1844459d46 | [] | 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 | 847 | sce | 7.sce | clc
//Example 8.7
//Calculate the cross sectional area, pressure, temperature and mach number at a pt in duct where air velocity is 1400ft/s
P1=30//psia
T1=660//R (Rankine temperature scale)
ratio_T=0.83333//dimentionless
m=10//lbm/s mass flow rate
v1=1400//ft/s
R=4.98*10^4//(ft^2/s^2)*(lbm/lbmol.R)^0.5
k=1.4/... |
36219275a0ae94646474f71a7d6fc99d86937269 | e8bcf3f9ffdfb367940fb9ed498b1c598ce92e65 | /paramfplot2d.sce | 06f461d3cdd5ce906da64a3d2864a93b4143626e | [] | no_license | yoddha24/Intro-to-Scilab | 1fe25aee3ebd319bc2c9e2cf7c25d7050b09890e | 4c458c1bea6880839ebae07adfd39dea0eac4e2c | refs/heads/master | 2021-01-20T18:24:05.191473 | 2016-08-08T13:45:16 | 2016-08-08T13:45:16 | 65,207,356 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | paramfplot2d.sce | deff('y=f(x,t)','y=t*sin(x)+sin(2*x)+sin(4*x)')//Defining equation
x=linspace(-4*%pi,4*%pi,10e3);//defining spatial steps
t=100;
time_speed=0:0.05:1;// step size determines speed of animation
paramfplot2d(f,x,time_speed);
xtitle('Using paramfplot2d function to animate an equation')
xlabel('x')
ylabel('y')
|
aab15a28751efa04458e117509ab775d49a59922 | 333d6160f9a6d9e23a6bea06cd03e5e8fa8785a9 | /RobotLab1/SciLab/MakeModel.sce | 9b9f8597ad7785622cdd8d6d029762410c7ac26d | [
"MIT"
] | permissive | DmitryIo/ROBOTS | 6f6bb12a8e08dd28024136ee1a8a84ea7254da60 | 777f0884a098c4f21d044985c25a8be276334116 | refs/heads/master | 2023-04-30T12:52:54.082977 | 2021-05-17T19:55:34 | 2021-05-17T19:55:34 | 294,091,170 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | MakeModel.sce | aim = [time, angle]';
deff('e=curve(k, z)', 'e=z(2)-k(1)*(z(1) - k(2) * (1-exp(-z(1)/k(2))))');
att = [15;0.06];
[koeffs, errs] = datafit(curve, aim, att);
Wnls = koeffs(1);
Tm = koeffs(2);
model = Wnls * (time - Tm * (1 - exp(-time / Tm)));
J = 0.0023;
Mst = J * Wnls / Tm;
plot2d(time, model, 3);
|
44fa05ab5074e7b59a74496dd398368330a09b85 | 23573b967e8324d44226379d70559b8f0ea34905 | /code/fminsearch/MinOilCost.sce | 8ba1c9480b9b45870c72b0f82783a28126b7941b | [] | no_license | FOSSEE/FOT_Examples | 91c8b8e9dc58545604b2c2af41a7e22f702b78f3 | 75947a7aa5a3955fe5a72e09f55bbdc05e3b8751 | refs/heads/master | 2020-03-22T09:00:48.306061 | 2018-07-24T04:49:25 | 2018-07-24T04:49:25 | 139,807,736 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,384 | sce | MinOilCost.sce | //Reference: Edgar, Himmelblau and Lasdon,"Optimization of Chemical Processes",2nd Ed,McGraw-Hill Chemical Engineering Series,chapter 6
//The cost of refined oil when shipped via the Malacca Straits to Japan in dollars per kiloliter was given as the linear sum of the crude oil cost, the insurance, customs, freight cos... |
073135148d68cdb9375838395aa0f57dd613ba59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH3/EX3.19/19.sce | 1ec6d28c17bbad10e494bc96845c59c65d270d9d | [] | 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 | 275 | sce | 19.sce | clc
h_g1=2797.2; //kJ/kg
c_ps= 2.25;
T_sup=350; //0C
T_s=212.4; //0C
h1=h_g1+c_ps*(T_sup-T_s);
h_f2=908.6; //kJ/kg
h_fg2=1888.6; //kJ/kg
// Main:20 bar, 250 0C
T_sup=250; //0C
Q=2*[h_g1+c_ps*(T_sup-T_s)];
x2=(Q-h1-h_f2)/h_fg2;
disp("Quality of steam")
disp(x2) |
55fd03dc78b0b13bc76b35d702f0b4ee87fd281e | a550430672dfb5984bd8561b894897323028b7f5 | /tests/results/kar12.tst | 2e811646b9ceeb1045682d3163880d3795322a72 | [] | no_license | carlosmata/LabelPropagation | c91f68489a941e6f8cfb15de478d2fe28eadbcad | 2f169cc4ece49a0d0f868fee15e5eefe02bbc6df | refs/heads/master | 2020-12-18T17:46:23.501020 | 2020-05-09T06:13:16 | 2020-05-09T06:13:16 | 235,474,033 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | tst | kar12.tst | argc:7
Dataset: ../datasets/converted/karate.net
Nodes Edges Com Mod NMI Time
seq semisync 34 156 2 0.421598 -1 8.9489e-05
par semisync 34 156 2 0.4216 -1 0.069436
|
d0c5d1fac24a8721c38c4bfdd6c41ea9334eade3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH8/EX8.21/Ch08Ex21.sce | 28b4d9872a422f878c15c9df6442d0efbd4b787e | [] | 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 | 919 | sce | Ch08Ex21.sce | // Scilab code Ex8.21 : Pg:347(2008)
clc;clear;
bin = ['10001100', '00101110', '01011111', '01111011', '00111010', '10010101', '10110110', '01011011'];
printf("\n___________________________________");
printf("\nBinary Octal Hexadecimal");
printf("\n___________________________________");
for i=1:1:8
pr... |
932f0d26a69eec7b6de9118ada7c0d1b30b1d116 | 6138481191cf879454ac593b81f5eec9fc16cdc2 | /pcommon/unittests/Test_Unittest_Diff.out.tst | f566f5fa5fe3ccd0ba817983fe20735b4fa5f89e | [
"Zlib"
] | permissive | ymarkovitch/libpcomn | 0eb122863618e79353489d76190a0cd655858912 | baf5f87e107f8e9f2a6136e1e20c7b20e9f800b2 | refs/heads/master | 2022-05-24T00:13:04.212161 | 2022-05-23T14:38:29 | 2022-05-23T15:13:38 | 23,715,041 | 7 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 46 | tst | Test_Unittest_Diff.out.tst | Start
Hello, world!
Bye, baby...
42
end
|
58c5b7c0e67135eb3aa878576e147fc5bec2d24d | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/fht.sci | f7e5c8e61a577123843a7d8de2fd52e6130935be | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 691 | sci | fht.sci | function y=fht(d,n,dim)
//The Function calculates the Fast Hartley Transform of real input.
//Calling Sequence
//M = fht (D)
//M = fht (D, N)
//M = fht (D, N, DIM)
//Parameters
//Description
//This function calculates the Fast Hartley transform of real input D. If D is a matrix, the Hartley transform is calculated alo... |
41ddadbe587d8b51de939bddd3f17eac58448656 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH2/EX2.37/exa_2_37.sce | 273e63f7b51312e5d535d8d51dd786ce3d280a99 | [] | 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 | 264 | sce | exa_2_37.sce | // Exa 2.37
clc;
clear;
close;
// Given data
format('v',11)
Io= 1;// in nA
Io= Io*10^-9;// in A
T= 27+273;//in K
V_T= T/11600;// in V
V_F= 0.3;// in V
n=1;
I_F= Io*[%e^(V_F/(n*V_T))-1];// in A
disp(I_F,"The forward current of diode in ampere is : ")
|
c313f86ff3bbf18a39d26159e2bb48a7fceb17bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH7/EX7.4/exm7_4.sce | 8de6ed61f44690f91759ce7be17bf5d36432f973 | [] | 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,052 | sce | exm7_4.sce | //page no 222
//example no 7.4
// USE OF ADDRESSING MODES.
clc;
//register B contains 32H
B=32;
//using indirect addressing modes
printf('B= %d \n',B);
disp(' 1) LXI H,8000H'); // loads HL register pair.
disp('H=80H L=00H');
disp('MOV M,B'); // contents of register B are moved in memory location pointe... |
a182493383ced1574b7a2764c142c5c3cfc13fa0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH7/EX7.10/ex7_10.sce | 49c9f43df6d6424a1b8c1c52f04b17dca9f82c68 | [] | 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 | 358 | sce | ex7_10.sce | //Determine the small signal voltage gain and input and output resistance
clear;
clc;
//soltion
//given
Rd=2*10^3;//ohm
rd=100*10^3;//ohm
Rg=1*10^6;//ohm
gm=2*10^-3;//S
Av=-gm*(rd*Rd/(rd+Rd));
Ri=Rg;
Ro=rd*Rd/(rd+Rd);
printf("The small signal voltage gain = %.0f\ninput resistance= %.0f MΩ\noutput resistan... |
84fbd865c49ca0ce16973aa9a49fa9921e3801b0 | a9e4f785bae765218645c0750b822a4d476f8eed | /code/task-doubleauction.sce | 5cb8c4ae8aeb150e919e0d01a8112e67dd4af49c | [] | no_license | OpenNeuroDatasets/ds003012 | 40de7d837ab255c8dc46b3056b17cc72178a52ac | 2dcbca21214df7ec0d26bca8a11ec740195fb570 | refs/heads/master | 2023-08-11T15:56:06.851389 | 2021-01-18T18:38:29 | 2021-01-18T18:38:29 | 279,991,206 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | sce | task-doubleauction.sce | ../.git/annex/objects/zK/46/MD5E-s9250--ca8c132d28d13bdb03d4048c2ceed702.sce/MD5E-s9250--ca8c132d28d13bdb03d4048c2ceed702.sce |
cf3c9758d39528d76451621f2bf0a058d153a4e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH4/EX4.12/Ex4_12.sce | b39aaa1da300befbb7cc0e432e57af7ce9c7a13a | [] | 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,733 | sce | Ex4_12.sce | // Problem no 4.4.12,Page No.102
clc;clear;
close;
F_C=5 //KN //Pt Load at C
F_D=4 //KN //Pt Load at D
L_BC=1.25 //m //Length of BC
L_DB=1 //m //Length of DB
L_AD=3 //m //Length of AD
w=2 //KN/m //u.d.l
L=5.25 //m //Length of beam
//Calculations
//Let R_A & R_B be the reactions at A & B
//R_A+R_B=15
//Taking Moment... |
e0ef19182bc0047b887700fe8f32c16c2983df4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3050/CH6/EX6.2/Ex6_2.sce | a86f4adb84f21d38e5cda3c363b48611a9ec3bf4 | [] | 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 | 210 | sce | Ex6_2.sce | //calculating pH
//Example 6.2
clc
clear
//for quinhydrone electrode
Ecell=0.284//Emf of cell in V
pH=(0.6996-0.2422-Ecell)/0.0591//pH of the solution
printf('Thus the pH of the solution = %2.3f V',pH)
|
87d46347964e946309f79a9dc92b844614fedb2e | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/hdf5/tools/h5repack/testfiles/plugin_none.h5repack_layout.UD.h5.tst | 034d292bdbfe4f4c71528a3b21cc3f7a155651f7 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | tst | plugin_none.h5repack_layout.UD.h5.tst | version https://git-lfs.github.com/spec/v1
oid sha256:bb36689709bae7d61dcc4bd8d3ad16d7a64be659cc5fe755cae2a48e82942a96
size 508
|
d54a3d4839d31a0a3bbc6dff6ad8470de246ba76 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Closerange Tracking Training Easy Thin.sce | b69a1986ec42f41a37cffbf61aed6a1e01390218 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 38,612 | sce | Closerange Tracking Training Easy Thin.sce | Name=Closerange Tracking Training Easy Thin
PlayerCharacters=QWer
BotCharacters=Dodgey.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=QWer
AddedBots=Dodgey.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=0
BotTeams=0
MapName=kroadmm4.map
MapScale=1.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=fal... |
429e7dc40a690b0702a757236f8f74df58d774dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH5/EX5.2d/eg5_2d.sce | 4246773f1f10c89025248fb2ad07a9935f50263a | [] | 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 | 410 | sce | eg5_2d.sce | function result= bino(n, k, p)
result = factorial(n)*(p^k)*((1-p)^(n-k))/(factorial(k)*factorial(n-k))
endfunction
avg = 5;
i=3;
prob = cdfpoi("PQ", 2, avg);
disp(prob, "Proportion of days that have less than 3 claims is")
probX4 = cdfpoi("PQ",i+1, avg) - cdfpoi("PQ", i, avg);
reqdprob = bino(5,3 , probX4... |
00947ff71a0c90060eed70f723008a09e20519d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH4/EX4.11/Ex4_11.sce | a5d834890a32f650d5194b11732eebaca0af1a07 | [] | 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 | 132 | sce | Ex4_11.sce | clear
//find the electric generator to takes 150 kn
//given
//
g=150.
a=1.341
p=g*a
printf("\n \n equilient horse power %.2f hp",p)
|
57b402b84d00f40e2b3bdb2f5ed71ad4339af33c | c89ed5cb6b15cf00b23663dc9b8a25aeea13f68d | /NS2 example/tres.sim/tres.sce | eea9c542d3a49f07ce1b479053d4a39557d4c9aa | [] | no_license | stratogit/Bachelor-Projects-Espe | d9dcbe54a464d6db0ab9cdc5e190446be1096ab6 | c52f5f669f63902151c27b152b604aab9e8d108d | refs/heads/master | 2020-12-02T11:12:08.402811 | 2017-07-09T11:57:39 | 2017-07-09T11:57:39 | 96,615,591 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | tres.sce | #nctuns scenario file
$node_(1) set 326.000000 526.000000 0 0.0 0.0 0.0
$node_(2) set 335.000000 346.000000 0 0.0 0.0 0.0
$node_(3) set 2334.000000 344.000000 0 0.0 0.0 0.0
$node_(4) set 4339.000000 316.000000 0.0 0.0 0.000000 10.000000
|
17f53c69cf5dddb10ad8477788795268fbafc8e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH5/EX5.8/5_8.sce | efbf51f85794900bb2fd9526644fa311e62ab1e2 | [] | 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 | 322 | sce | 5_8.sce | //cubic B-splines
//example 5.8
//page 200
clc;clear;close;
k=[0 1 2 3 4];
pi=[0 0 4 -6 24];
x=1;
S=0;
for i=3:5
S=S+((k(i)-x)^3)/(pi(i));
end
printf( ' the cubic splines for x=1 is %f\n\n',S);
S=0;
x=2;
for i=4:5
S=S+((k(i)-x)^3)/(pi(i));
end
printf( ' the cubic splines for x=2 is %f\n\n',S);... |
e8742bc0e961e822a1dacfa10a05311a6c451c97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH4/EX4.2/ex4_2.sce | 21660e933508e19cfe305fdf203bc6120aae4dc0 | [] | 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 | 246 | sce | ex4_2.sce | clc;
clear all;
I1 = 100;// Intensity of sound produced by turbine in Watts per square meters
I0 = 1e-12; // standard intensity
b = 10*log10(I1/I0);//The relative intensity of a turbine
disp('dB',b,'The relative intensity of a turbine is')
|
7128bde0fa9ce75b9fccb682e3c6e43fcaf70861 | b4be5ed282b4c531c0d140038804106b52e5e9be | /initialState.sce | 56aa5d67b6fc4ba898b3ab1ac68593bd78360910 | [] | no_license | solothinker/compare | 9df946e9d40f0565d1eb3bcb18cb4891435d8fed | d0b4b633f47aaa2578d39f723c6becd1d3aa2359 | refs/heads/master | 2021-06-24T21:42:05.654744 | 2017-09-08T05:57:35 | 2017-09-08T05:57:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,246 | sce | initialState.sce | loadmatfile('data.mat')
z = [data(:,1) data(:,2)];
A = 1
B = [0 0 0 2.6509 -2.0596];//[0 0 0 2.3057 -1.2170];
C = 1;
D = 1;
F = [1 -0.9448 0.5055];//[1 -1.1887 0.6424];
oeModel = idpoly(A,B,C,D,F,1)
[y1,x0] = pe(data,bjModel);
obMat = [];
//http://www.icm.tu-bs.de/NICONET/doc/IB01RD.html
A = [1.2992 -0.7834 0... |
9c20e9630d099aa8cc5beb4fb32c1613fc91a6cb | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/tests/colnew.tst | b2ae21f2b2a5ec2b498a1c3f4cd974c1d46ea3dd | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | 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 | 275 | tst | colnew.tst | // Copyright INRIA
getf('SCI/tests/bvode_tst.sci')
[z,zf]=col1();
if maxi(abs(z-zf))>1.e-5 then pause,end
[z,zf]=col2(0);
// Fortran Coded version
if maxi(abs(z-zf))>1.e-2 then pause,end
[z,zf]=col2(1);
// Scilab coded version
if maxi(abs(z-zf))>1.e-2 then pause,end
|
fd49db4742d3832c5f2bd7e8784b87bac9046d1a | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/diffuse_rel/diffuse/diffuse_multi.sce | 8040c6d00a2bdd2e7103102e7390646483de241a | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,205 | sce | diffuse_multi.sce |
//This requires
//diffuse.m
//nonlinearity term for multi-species diffusion
function [compfunc]=compfunc(concm,specid,nspecies,inconsts, t)
//simple linear multi species model with no time dependence
total=0
for i=1:nspecies
temptot=total+(inconsts(specid,i)*concm(i));
total=temptot
end
compfunc=... |
11b2416a49ae08924ad091069a907d97b45f517d | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH11/EX11.3/11_3.sci | 8305c3d5ad9ab684f6fc0491189456016a585180 | [] | 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 | 641 | sci | 11_3.sci | //Control of DC motors//
//Example 11.3//
Edca1=230;
N1=1000;
N2=500;
Eb1=210;
printf('Eb1=230-20=210volts');
Eb2=Eb1*N2/N1;
printf('\nEb2=%fvolts',Eb2);
V=40;//motor armature drop at rated load in volts//
Edca2=Eb2+V;
printf('\nEdca2=%fvolts',Edca2);
C1=1;//cosine of the firing angle corresponding to 1000 ... |
70d236b976f7e2185d8caf10f60945087b3a563b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH3/EX3.4/Ex3_4.sce | 692a5d348c652d6bbdd33ba252b113fa1402cc85 | [] | 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 | 261 | sce | Ex3_4.sce | //Chapter 3
//Output current of circuit
//page 88
//Example no 3-4
clc;
clear;
R1=9000; // in Ohm
R2=1000; //in Ohm
B=R2/(R1+R2);
printf("\n B is %.2f\n",B);//Result
//Aps=1/B;
Aps=(R1+R2)/R2;
printf("\n Aps = %.0f \n ",Aps);//Result
|
768382bfcb0a6138dad919404f1bbcfb08b94c2a | 4dd8f6235eafcc0034bd1569f4f1226cc511f4bc | /data/AUTO.TST | fd65a3787c873c995db2e0b1438529b7be485e3a | [] | no_license | bravesoftdz/PowerTests | 72b81e56a43ec6ab5e95cdf681d8976269146436 | 0b34c5df4c27a9a58092c649ff2e6b4a877573ec | refs/heads/master | 2021-04-15T12:21:35.314727 | 2017-01-16T15:18:25 | 2017-01-16T15:18:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | tst | AUTO.TST | # Acesta este un fisier ce contine descrieri despre generarea unui test
.path tstauto
.testname "Test auto incepatori"
.domain "Auto" "Teste de circulatie"
.time 15 # 0=timp nelimitat ????
.random 10
|
6fd55198943b9d3d5cca66cbf857579d1b77e1d4 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.1_4.tst | 64bb98f5498991dfb7abb30bc2411106cd82c5de | [] | 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,482 | tst | bow.1_4.tst | 1 10:0.5 19:0.029411764705882353 30:0.14285714285714285 66:0.2 149:1.0 203:1.0
1 4:0.09090909090909091 11:1.0 49:0.14285714285714285 249:0.25 345:1.0
1 3:0.5 13:0.5 14:0.07407407407407407 17:0.013157894736842105 28:1.0 30:0.14285714285714285 84:0.2 187:1.0 298:1.0 883:1.0
1 4:0.09090909090909091 6:0.5 10:0.5 14:0.07407... |
e84c8df1616d75131edc910eb55a5d73f977a23c | 717ddeb7e700373742c617a95e25a2376565112c | /773/CH18/EX18.08.01/18_08_01.sci | 3a33aec942a423b1f34d2890a0660e0ca5915834 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 102 | sci | 18_08_01.sci | //symsum//
exec ztransfer.sce;
sequence=[0 2 0 0 -3 0 0 8]
y=ztransfer(sequence);
disp(y,"ans=")
|
604df1af17f48ec6defd41a9c004172641f8799e | 564beb66e232557765505973f93cc322a394133a | /KONA/scilab/forward_substitution_test.sce | 993ebea768f25c11376da8b2b71316527aa12f12 | [] | no_license | KeithEvanSchubert/Keith_On | 2442bb74b9d531c96d9f10da8df1dede54423094 | fe8dd1e90e695957346aa176b7e0d0fea30171e3 | refs/heads/master | 2021-01-18T22:08:18.862471 | 2019-09-04T17:39:58 | 2019-09-04T17:39:58 | 51,767,267 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sce | forward_substitution_test.sce | n=5;
l=zeros(n,n);
for row=1:n
for col = 1:row
l(row,col)=rand(1);
end
end
xtrue=rand(n,1)
b=l*xtrue;
exec forward_substitution.sci;
x=forward_substitution(l,b) |
9de9aa5da2c6043304fff4f318e029c3b1fa8841 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH15/EX15.30/30.sce | 8724f43f73e21f1691c0eef2c50a6d99b42d8583 | [] | 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 | 290 | sce | 30.sce | clc
r1=0.105; //m
r2=0.15; //m
T1=120; //K
T2=300; //K
e1=0.03;
e2=0.03;
h_fg=209.35; //kJ/kg
a=5.67*10^(-8);
F_12=1;
Q=4*%pi*r1^2*a*(T1^4-T2^4)/( ((1-e1)/e1) + 1/F_12 + ((1-e2)/e2)*r1^2/r2^2);
rate=-Q*3600/h_fg/1000;
disp("Rate of evaporation = ")
disp(rate)
disp("kg/h") |
5cbc4bc52ea12f63c05756734396f20bf9461720 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH10/EX1.10/Ex_B_1_10.sce | d439ab20c3f261fa19d4bae3677c9d93048b8d16 | [] | 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 | Ex_B_1_10.sce | //Part B Ex 1.10
clc;clear;close;
format('v',5);
C=10;//micro F
R=1;//kohm
T=C*10^-6*R*1000;//seconds
disp(T,"Time constant(seconds)");
omega_c=1/T;//rads/s
disp(omega_c,"omega_c(rads/s)");
fc=1/2/%pi/T;//Hz
disp(fc,"fc(Hz)");
|
ff535203e8d2ce6187efae7cd75e8f7b42a55296 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/util/evstr.sci | 0a2f252e0bdfa3d5a22b1a9d95d5b2124e16652e | [
"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 | 746 | sci | evstr.sci | function [%val,%ierr]=evstr(%str)
[lhs,rhs]=argn(0)
%val=[]
select type(%str)
case 10 then
for %l=1:size(%str,'r')
%t1(%l)=strcat(%str(%l,:),',')+';'
end
%t1(1)='%val=['+%t1(1);
%t1($)=part(%t1($),1:length(%t1($))-1)+']'
if lhs==2 then
%ierr=execstr(%t1,'errcatch')
else
execst... |
cfc1b397b8f535c86f2e1c83c66f7686e3415b4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH20/EX20.13/20_13.sce | 101573dd134d0aeee8ddc85f6ba2a31d5b837ed5 | [] | 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 | 363 | sce | 20_13.sce | //ques-20.13
//Calculating binding energy per nucleon for Krypton
clc
M=83.9115;//atomic mass of Krypton (in amu)
mp=1.00727;//mass of proton (in amu)
mn=1.008665;//mass of neutron (in amu)
me=0.000548;//mass of electron (in amu)
dm=36*mp+48*mn+36*me-M;//mass defect
BE=(dm*931)/84;
printf("The binding energy p... |
ef68db84c3caf3aa1a77a79e123e531fcabd765e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/sci2for/typconv.sci | b7f32b85a50db7acccf3271c742fbd7469f7551f | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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,332 | sci | typconv.sci | //[s,nwrk,txt]=typconv(s,nwrk,typ)
//[s1,te1,t1,m1,n1]=s(1:5);
//!
txt=[]
if typ='1'&s(3)='0' then
if s(4)=='1'&s(5)=='1' then
if isnum(s(1)) then s(1)=s(1)+'D0',else s(1)='dble('+s(1)+')',end
else
if part(s(1),1:6)=='iwork(' then
pti=part(s(1),7:length(s(1))-1)
in='iwork'
else
pti='0'... |
8b1cbca4724dfb87368bedd958b7ba38e876d339 | 81a5c9fb4452c596031b1d529ea71e53e423de8d | /print5.sce | 5fc76b21002047847f80d41c60410b2c348838a6 | [] | no_license | thevinitgupta/scilab | b9d6b31b27bd3192d3713470c4a51da080d6a572 | c0aa61b0463c3501d43b73fdec07b9dc7fc27b21 | refs/heads/main | 2023-03-22T07:49:10.980286 | 2021-03-12T13:32:10 | 2021-03-12T13:32:10 | 346,394,901 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 46 | sce | print5.sce | array = [4:3:18]
for i = array
disp(i)
end |
11c47a426e097ac83e76406114d424f68ab1c973 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH3/EX3.21/Ex3_21.sce | 8a47e33080387f36b601679f2360d4c074f005c0 | [] | 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 | 453 | sce | Ex3_21.sce | //Example 3_21
clc;
clear;
close;
format('v',5);
//given data :
L=100;//mH
//i=14.148sin(314*t+%pi/6)
//v=325*sin(314*t)
Vm=325;//V
Im=14.14;//A
omega=314;//rad/s
V=Vm/sqrt(2);//V
I=Im/sqrt(2);//A
Z=V/(I*expm(%i*%pi/6));//ohm
R=real(Z);//ohm
disp(R,"Value of R(ohm)");
XCL=-imag(Z);//ohm//XCL=XC-XL
XC=... |
55b5d55ab560d7e52f85b95375bf6c44e2b91ad9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH6/EX6.25/Ex6_25.sce | d24e286faac148f683c064a44d44d02003ea077a | [] | 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 | 986 | sce | Ex6_25.sce | clc;
P=10;
f=50;
Pm=48000;
pf=0.8;
f21=120; //min frequency range
f22=300; //max frequency range
Ns=(120*f)/P;
//for f2=300
Nr1=((120*f21)/P)-Ns;
//for f2=600
Nr2=((120*f22)/P)-Ns;
mprintf('Thus the dc motor changes speed from %f to %f rpm \n',Nr1,Nr2)
//for part b and c
s1=(Nr1+Ns)/Ns;
s2=(Nr2+Ns)/N... |
91606756b0b976290079e399518211b6a1204f8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH2/EX2.1/2_1.sce | edad20edfadffa0380df8bacd1d392367d8d6cf2 | [] | 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 | 770 | sce | 2_1.sce | clear;
clc;
// Illustration 2.1
// Page: 94
printf('Illustration 2.1 - Page: 94\n\n');
// solution
//*****Data*****//
// a-oxygen b-stagnant water
T = 310; // [K]
// Since the solubility of oxygen in water at 310 K is extremely low, we are dealing with dilute solutions
k_L = 3.3*10^-5; // [coeffici... |
33e6232dcb362f2f61c97359588c0fda842b86f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH2/EX2.12/EX_2_12.sce | 3484b0f02c22f1cd81275786cb21c0968ee496dd | [] | 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 | 210 | sce | EX_2_12.sce | // Example 2.12:diameter
clc;
clear;
close;
v=2.4*sqrt(2);//
h=1.3;//in micro meter
n1=1.5;//refrative index
d1=0.01;//
a1=((v*h)/(2*%pi*n1*sqrt(2*d1)));//in micro meter
disp(a1,"radius in micro meters is")
|
b96fd76f74166f3a0ea88e54cf1b869cdec7ab73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH2/EX2.4/Example24.sce | bb5230eac6213c482127aad387436fcbdbca9198 | [] | 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 | 889 | sce | Example24.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 2 Example # 2.4 ")
//Temperature of liquid nitrogen in degree K
Tnitrogen = 77;
//Radius of container in m
ri = 0.25;
//Temperature of surro... |
d7b1bbdb6abcda6db21edbb8b7db4c5954035b11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH9/EX9.8b/Exa_9_8b.sce | fc27bc3d65e1399d91a5c6a4a1491a842dee44b7 | [] | 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 | 518 | sce | Exa_9_8b.sce | //Bilinear transformation
//To convert twin-T notch analog filter to digital filter
s=%s;
z=%z;
HS=(s^2+1)/(s^2+4*s+1);
Wo=1;
S=240;f=60;//sampling and analog frequencies
W=0.5*%pi;//digital frequency
C=Wo/tan(0.5*W)
HZ=horner(HS,C*(z-1)/(z+1))
f=0:120;
HZ1=abs(horner(HZ,exp(-%i*%pi*f'/120)));
HS1=abs(horne... |
264054b15c5e5d45a68b9d488c97c60e0c2104fc | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1/Unix/scilab-2.1/macros/xdess/xbasimp.sci | fc68e123d741dfe8c575ccec56d89ed86d58078c | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | 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,143 | sci | xbasimp.sci | function xbasimp(win_num,filen,flag)
// xbasimp(win_num,[filen,flag])
// This function will send the recorded graphics of the
// window win_num in the Postscript file filen
// and will print the Postscript file with the
// command Blpr.
// -filen is optionnal.
// -win_num can be a number which gives the
// number of ... |
7d6751c5c02664e15ccaa0aaf8302069a319800c | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH1/EX1.3/ch1ex3.sce | 59181a953750911aaac7f5da5e214c0197429e46 | [] | 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 | 517 | sce | ch1ex3.sce | //signals and systems
//time shifting
clear
close
clc
t=[-4:0.001:4];
a=gca();
plot(t,(exp(-2*t)).*(t>0))
a.thickness=2;
a.y_location="middle";
xtitle=('the signal x(t)')
//delaying the function by 1 second we obtain
figure
a=gca();
plot(t,(exp(-2*(t-1))).*((t>1)))
a.thickness=2;
a.y_location="middle";
... |
0b75a0f0f44c4944d09ebee4915984987232de95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH3/EX3.27/27.sce | d557c8fdd7e7459ce7972d01de1448168d47e8ec | [] | 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 | 450 | sce | 27.sce | clc
clear
//INPUT DATA
r=0.1605*10^-9//radius of magnesium atom which has HCP structure in m
//CALCULATION
a=2*r//lattice constant of magnesium which has HCP structure in m
c=(a*sqrt(8/3))//height of the HCP structure in m
V=((3*sqrt(3)*a*a*c)/3)/10^-28//Volume of the unit cell of Magnesium which has HCP struc... |
9618e193925e5d1fb39cbccd2789714179ce0fad | 449d555969bfd7befe906877abab098c6e63a0e8 | /728/CH3/EX3.10/Ex3_10.sce | 6c0280f50077d6b8117d1f115a6bf34cc8706d26 | [] | 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 | Ex3_10.sce | //Caption:Calculate the charcterstic impedance & phase velocity
//Exa:3.10
clc;
clear;
close;
e=2.718;
f=1000;//in Hz
l=10000;//in meters
Z_sc=(2631+%i*1289);//in ohms
Z_oc=(221-%i*137);//in ohms
Z_o=[Z_sc*Z_oc]^0.5;
Z_mag=[real(Z_o)^2+imag(Z_o)^2]^0.5;
Z_ang=[atan((imag(Z_o))/real(Z_o))]*180/%pi;
disp(Z_m... |
e888d0443d1b36b03914fb96f5437170bfcb1b67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH7/EX7.2/ex_7_2.sce | ce444cf44cab0137dab03b79a6834ba9750f4357 | [] | 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 | 208 | sce | ex_7_2.sce | ////Ex 7.2
clc;
clear;
close;
format('v',9);
ft=2;//kHz
C=0.01;//micro F
T=1/ft;//ms
n=3;//for divide-by-3 circuit
th=(0.2+(n-1))*T;//ms
R=th/(1.1*C);//kohm
disp(R,"Value of Resistance R(kohm)");
|
4c540a56b5838b4297f4c47758c471aeba3dbbc2 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnHe/enhe.8.tst | 0b80c537f6e596f546d81f46b001301d07fa76e2 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 28,488 | tst | enhe.8.tst | a a t e f ע א ט ף
a b a n e ע ב א ן
a c o n c a g u a א ק ו נ ק א ג ו א
a d a i r א ד י י ר
a d o l p h א ד ו ל ף
a d o n i s א ד ו נ י ס
a g a t h a א ג א ת א
a g r i p p a א ג ר י פ א
a h m e d א ח מ ד
a k r o u r ע ק ר ו ר
a l a i d y א ל ע א י ד י
a l a l i א ל ע ל י
a l d o א ל ד ו
a l e k s a n d r א ל ק ס נ ד ר
... |
279e3662fa96c9a4e6b5542a4ac7b4b9a2c6204e | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH18/EX18.3.b/Example_18_3b.sce | 5e4332c2597f327fe0b8e761c6fa7cb26dab873e | [] | 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 | 458 | sce | Example_18_3b.sce | //Room-Temperature for Extrinsic Silicon
clear;
clc;
printf("\tExample 18.3\n");
printf("\n\tPart B\n ");
n=10^23; //m^-3 Carrier Concentration
e=1.6*10^-19; //Coulomb Charge on electron
//From graph 18.18 m_e is calculated corresponding to n=10^23
m_e=0.07; //m^2/V-s Mobility of electron
//... |
e2046469e8120a9252f57ce7daebe4e85cf68618 | 49148682b78b6520a61de9a700f791835e1b32d5 | /Gachan/Gachan3D/Gachan3DTextData/TextKanji1st6Mplus2p.tst | 8455e41c01f958644f600150d7fa88313dcaa29f | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Ashitagachan/Gachan | 535a19ea05bfcb3207a0a106b1d62db48a143f16 | 63b5410e128628222447c837a7209162487aa246 | refs/heads/master | 2021-08-07T21:53:13.048753 | 2020-05-16T08:01:10 | 2020-05-16T08:01:10 | 178,514,045 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,485,482 | tst | TextKanji1st6Mplus2p.tst | //skipped groundPlane_transform
//skipped Manipulator1
//skipped UniversalManip
//skipped CubeCompass
/////////////////////////////////////////////
// object_Trim_Char_x_1_1__
/////////////////////////////////////////////
#if 0
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1
#endif
DX3DMATERIAL_STA... |
15f0f5b793aebde485a5f0802d0e18500214c6ef | c9285067e636c3d90d2ba32cd79618a83934bb7f | /LeastSquares.sce | 6c8b7258f7b7fb6de5f30b8f006b7a526c204fbc | [] | no_license | SreekanthGunishetty/ScilabAssignment | 7313cc47e31aabad725b7f2b067f31e0ecf7f41f | b9df679f70d16af141534d1b18105c60476c726a | refs/heads/master | 2021-01-02T20:22:47.454878 | 2020-04-18T10:15:08 | 2020-04-18T10:15:08 | 239,784,550 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,538 | sce | LeastSquares.sce | clc;clear;close;
disp("Projections by Least Squares")
disp("****************************")
n=input("Enter the number of linear quations of form C + Dt = b : ");
printf("\n")
A(1,1)=0
b(1,1)=0
max=0;
min=0;
//Creating the Linear equations using input()
or(i=1:n)
mprintf("Enter t%d: ",i);
A(i,1)=inp... |
e83c77c28e1523f646a9df35de999955f1ae0055 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH4/EX4.9/4_9.sce | 9893e7f3295c8de0a856bea7d6b201aef17604ba | [] | 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 | 198 | sce | 4_9.sce | clc
//initialisation of variables
HfHcl= -22.063 //kcal
H298= -17.74 //kcal
//CALCULATIONS
HfHcl200H2O= HfHcl+H298
//RESULTS
printf ('enthalpy of formation= %.2f kcal mole^-1',HfHcl200H2O)
|
11e1ad63cd0a1bc700f357e23423a204ad6ef7f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH37/EX37.5/example5.sce | 83e37465be2d39f58bffa325d4cfd86fbbe90ccc | [] | 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 | 209 | sce | example5.sce | //chapter 37
//example5
clc
//given
u=1.4*10^-26 //in amp-m2
B=0.50 //wb/m2
Lp=0.53*10^-34 //in joule-sec
fp=u*B/(2*%pi*Lp)
disp(fp,"Precession frequency of phoyon in given magnetic field in cps is")
|
f3060a673c60c0ef79fcf98fcd904fec2033049c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH5/EX5.7/Ex5_7.sce | 864f4cb23b45a2a14e058d2caeb54e3c7d6a3716 | [] | 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 | Ex5_7.sce | clc
// initialization of variables
T1=350+273 // initial temperature in kelvin
P1=1200 // initial pressure in kPa
P2=140 // final pressure in kPa
k=1.4 // polytopic index for air
Cv=0.717 // specific heat at constant volume for air
//solution
T2=T1*((P2/P1)**((k-1)/k)) // reversible adiabatic process relation... |
ba0199bfcaa7559bceafba60030981d6a1bcfb02 | 86768941ac8a736c70888634342d72f272d17470 | /DSC_TEST.tst | 125f564327bc0a1b9f4b954099b33c99b8c94676 | [] | no_license | foreos/WangR_Technomous | 5867d865517b537b59e32bff518187f4d0c1d8fb | 3e1f24aba2758054ac17590100ec9e3dbd03d354 | refs/heads/master | 2022-11-28T21:25:14.723107 | 2020-08-08T02:12:57 | 2020-08-08T02:12:57 | 281,324,550 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 207,202 | tst | DSC_TEST.tst | -- VectorCAST 18.sp4 (12/20/18)
-- Test Case Script
--
-- Environment : DSC_TEST
-- Unit(s) Under Test: CpApDSC_DTCConfiguration CpApDSC_EventManager CpApDSC_FOTAUpdateTriggerHandling CpApDSC_Gen_ConfigurationDIDReadServices CpApDSC_Gen_ConfigurationDIDWriteServices CpApDSC_Gen_ReadMeasurementData CpApDSC_Gen_Routi... |
28b0d85b97648574a1a7d99c2cd53078f5887a52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH4/EX4.11/Ex4_11.sce | 57707d495150ef184e9e2d93ba50346a28531a0d | [] | 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,054 | sce | Ex4_11.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 4 : DIRECT CURRENT GENERATORS
// Example : 4.11
clc;clear; // clears the console and command history
// Given data
P = 4 // number of poles
I_L = 25 // generator delivering ... |
3a2b1e94311eeb6a08a028fb6fe0da25370c27c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /555/CH4/EX4.2/2.sce | 6208ed76608f10db6915332464f8eb9331ca21df | [] | 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 | 817 | sce | 2.sce | // Implementation of example 4.2
// Basic and Applied Thermodynamics by P.K.Nag
// page 73
clc
clear
Qacb=84 // (heat flow into system along path acb in kJ)
Wacb=32 // (work done by system along path acb in kJ)
Wadb=10.5 // (work done by system along path adb in kJ)
Wab=21 // (work done on system along curv... |
5f370b868d5cdcdba989519fd10f8ef525586e59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH14/EX14.8/Ch014Ex8.sce | a1170bbae3172e57b0415009f573ca8a64e6a59b | [] | 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 | 532 | sce | Ch014Ex8.sce | // Scilab code Ex14.8 : Pg:723(2011)
clc;clear;
I = 55e-03; // Forward current through Si diode, A
V = 3; // Forward bias across Si diode, V
eta = 2; // Ideality factor for Si diode
R_dc = V/I; // Static diode resistance, ohm
R_ac = 0.026*eta/I; // Dynamic diode resistance, ohm
printf("\nT... |
2a99d3a33bf4628802bf54bfe661efd10c4a2155 | 9ce4292954000fd66bcdbd0797a280c306308d08 | /mooc/nand2tetris/projects/04/fill/FillAutomatic.tst | 90bfef9ed9db399c21296aef45db7f5f403f3c3f | [
"MIT"
] | permissive | JiniousChoi/encyclopedia-in-code | 0c786f2405bfc1d33291715d9574cae625ae45be | 77bc551a03a2a3e3808e50016ece14adb5cfbd96 | refs/heads/master | 2021-06-27T07:50:10.789732 | 2020-05-29T12:50:46 | 2020-05-29T12:50:46 | 137,426,553 | 2 | 0 | MIT | 2020-10-13T08:56:12 | 2018-06-15T01:29:31 | Python | UTF-8 | Scilab | false | false | 1,469 | tst | FillAutomatic.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/04/fill/FillAutomatic
// This script can be used to test the Fill program automatically,
// rather than interactively. Specifically, the script sets the keyboard
... |
1518839afe1b5d571b6a5b55afd67197633b3379 | 897ce6a3fd5b682122c396af7e24fa53014c7cb3 | /src_script/scilab/_import/rtsx_10/Link2AT.sci | 63db7a6f1a771771dc521ef95dd47b0aefcab011 | [] | no_license | stub22/glue-ai-v1_friendularity | e66f5ab357eba45de2def6f7900f414e358a4125 | 74949dc3e9b0d08b39857735aad901915e61322d | refs/heads/master | 2022-12-19T18:57:01.336831 | 2017-08-04T12:55:12 | 2017-08-04T12:55:12 | 284,544,364 | 0 | 0 | null | 2020-10-14T00:08:14 | 2020-08-02T21:24:34 | Java | UTF-8 | Scilab | false | false | 2,402 | sci | Link2AT.sci | // Link2AT.sci generates "A" and "T" matrix from link information
// www.controlsystemslab.com July 2012
//
// Usage: [A,T] = Link2AT(L,q);
// if L contains n links, A becomes a 4 x 4 x n matrix
// and T is the overall homogeneous transformation; i.e, T=A1*...*An
//Notes:
// - For a revolute joint the THETA p... |
194a2cb896af7a3afb732534cac06ec5e19a75ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH6/EX6.2/Exa_6_2.sce | f002a41c86779cc0d6d1aa8d3bf54d29ad9be59e | [] | 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 | 637 | sce | Exa_6_2.sce | //Example No. 6.2
clc;
clear;
close;
format('v',7);
//Given Data :
P=6;//poles
f1=50;//Hz
Pg=80;//KW
f2=100;//alternation/min
f2=f2/60;//Hz
Ns=120*f1/P;//rpm
Ns=Ns/60;//rps
S=f2/f1;//Slip
disp(S,"Slip is : ");
N=Ns*(1-S);//rps
disp(N*60,"Motor speed in rpm : ");
Pm=Pg*(1-S);//KW
disp(Pm,"Developed ... |
c8eefad5e26a707bbe86160e585ac160d65590f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH10/EX10.14/10_14.sce | 504d5b9c1fddfcf90a84e5a410cb6dadf9f4a023 | [] | 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 | 310 | sce | 10_14.sce | //Problem 10.14: 6% of the power supplied to a cable appears at the output terminals. Determine the power loss in decibels.
//initializing the variables:
rP = 0.06; // power ratios rP = P2/P1
//calculation:
X = 10*log10(rP)
printf("\n\n Result \n\n")
printf("\n decibel Power ratios = %.2f dB\n",X) |
ee22f1dc82efa7b56cf3e915f53c7dcfc76b30ac | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/Local_Planner/interpolatePosition.sci | d5811a744151d6e775496714807c1a24f28efd01 | [] | no_license | mxch18/SRL-WRT_pathPlanning | 38a1701934a4a0e919a6c1c7990092b242df72da | 6992febbbe103814d2cef5351a0e8917b183a2b0 | refs/heads/master | 2020-03-23T06:43:54.155192 | 2018-09-26T17:26:56 | 2018-09-26T17:26:56 | 141,226,032 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 959 | sci | interpolatePosition.sci | function pathP = interpolatePosition(config1P,config2P,s)
//Author : Maxens ACHIEPI
//Space Robotics Laboratory - Tohoku University
//Description:
//Outputs the interpoled path between two positions with s steps.
//Interpolation is cubic
//INPUT
//config1P : a row vector containin... |
fc0937cabfb39b3f50b27a006f00b0862234b737 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH6/EX6.2/Ex6_2.sce | ff969b20e442c4eaf07f57536cf21200842ca257 | [] | 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,128 | sce | Ex6_2.sce | //===========================================================================
//chapter 6 example 2
clc;clear all;
//variable declaration
Rm = 1; //instrument resistance in Ω
Rse = 4999; //series resistance in Ω
V = 250... |
a9fe3598043be273a4724893f96d790e181a7282 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH5/EX5.30/Ch05Ex30.sce | b444ecdceebb759c595071e3e8052722cfb59cf6 | [] | 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,016 | sce | Ch05Ex30.sce | // Scilab code Ex5.28: Pg 189 (2008)
clc; clear;
R_L = 15; // Load resistor, ohms
V_2 = 240; // Terminal p.d at secondary, V
V_1 = 600; // Supply voltage, V
// Part (a)
// Since V_1/V_2 = N_1/N_2 = k
k = V_1/V_2; ... |
8dee6a39fecbae82b14d8b2bba12b466cccc5873 | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH4/EX4.7/4_07.sce | dcda386a785b1818beab2b5b4afad4b1686c515a | [] | 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 | 467 | sce | 4_07.sce | //Example No. 4_07
//Absolute and Relative Errors
//Pg No. 71
clear ; close ; clc ;
h_bu_t = 2945 ;
h_bu_a = 2950 ;
h_be_t = 30 ;
h_be_a = 35 ;
e1 = abs(h_bu_t - h_bu_a)
e1_r = e1/h_bu_t
e2 = abs(h_be_t - h_be_a)
e2_r = e2/h_be_t
mprintf('\n For Building : \n Absolute error, e1 = %i \n Relative error , e... |
22f2905adf2ba1b250f6e55674e89c771699e07b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH15/EX15.6/15Q6.sce | d793e578030dfca9c3bc3c2131f2c5c2d0094ed2 | [] | 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 | 120 | sce | 15Q6.sce | clc
b=45
c=20
C=24
G=18.9
m=0.06
Hc=C/(G*m)
Cd=G*Hc*m
Fc=C/Cd
printf('a)Critical height of slope = %f \n',Hc)
|
bc7a97987c5e8d1d141f4213f27bf6db5842c43c | 1bf004dac4edd2c2a117fa1b7c43ccc9e61bf6e6 | /pca.sce | dc85b7898286e3e83f842fd6a698292d9bead0fc | [] | no_license | TakeyukiHarayama/Advanced_Course_In_Cmputational_Algorithms_report3 | 8ae58f0926ff7c05fc959be41819b3bce9ec20c9 | 54146f8a469fee184a12b2bdef6b972c13dcb482 | refs/heads/master | 2020-11-29T21:54:49.803291 | 2019-12-26T08:22:08 | 2019-12-26T08:22:08 | 230,224,380 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 584 | sce | pca.sce | clear
figure(1);
clf;
function [l_v] = detp(l_A)
n = size(l_A, 1)
l_v = rand(n,1);
for k = 1:20
w = l_A * l_v;
l_v = w / norm(w);
end
endfunction
A = [167, 67;158,56;153,48;174,68;171,62;157,49;177,79;163,56;164,58;172,70];
plot2d(A(:,1), A(:,2), -1);
m1 = mean(A(:,1));
m2 = mean(A(:... |
0d1a76371605c24f5918bac0f7213e3bece12b3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH10/EX10.11/Ex10_11.sce | a82bbace7cb4b8a4725bd75741331dbd1943f34d | [] | 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 | 506 | sce | Ex10_11.sce | //Ex10_11
clc;
// Given:
t1=12.7;// in hours
a=4.5*10^-24;// in cm^2
r=69.1;//in %
cf=10;// in %
flux=10^6;
Na=6.022*10^23;
cpm=1500;// activity in counts per min
M=63;
//Solution:
dpm=cpm*100/10;
dps=dpm/60;
x=exp(-0.693*5/t1);
A=dps/x;
s=1-(exp(-.693*10/(12.7)));
w=(A*M*100)/(Na*r*a*flux*s);// gms ... |
31de71a79eeff1f13605f3abe7564426686cddae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH2/EX2.4/Ex_2_4.sce | a990fd70dbf2877dd23840c9f2698509ff75470d | [] | 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 | 958 | sce | Ex_2_4.sce | //Example 2_4
clc;
clear;close;
//Given data:
Vs=230;//V
R=15;//ohm
alfa=%pi/2;//radian
//Solution :
Vm=sqrt(2)*Vs;//V
Vdc=Vm/2/%pi*(1+cos(alfa));//V
disp(Vdc,"Vdc(V) : ");
Idc=Vdc/R;//A
disp(Idc,"Idc(A) : ");
Vrms=Vm*sqrt((%pi-alfa)/4/%pi+sin(%pi)/8/%pi);//V
disp(Vrms,"Vrms(V) : ");
Irms=Vrms/R;//A... |
8b694559634383f2dbe63bcc49da175a82831a6e | 190d7a52f0fed9737c92e627958e4c1b6c7ddb55 | /Robotics/Scilab Code/moveRobot.sce | 38fa7d51ba23e9495c570498bf4c46c9f10d45b8 | [] | no_license | Jsw-4111/SchoolWork | 3389c9179d088b26c98a3410180dc3f2569bfdf3 | a9a6e345fc30bfa79a7e2bb4848655cb301facee | refs/heads/master | 2023-04-12T01:11:02.216417 | 2021-04-25T21:21:06 | 2021-04-25T21:21:06 | 300,689,960 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,135 | sce | moveRobot.sce | function [ newRobotLocation, obstacleHit, pathLength ] = moveRobot( x_move, y_move, RobotLocation, OccupancyMap )
//Move the robot. Only 1 unit moves are allowed.
//In the y direction +1 is down, -1 is up
//In the x direction +1 is right -1 is left.
global p_Length;
if(isempty(p_Length))
p_Length = 0... |
b5660772b3619c821686808f930560986ce1d6e5 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/KZ78PHV/ATWM1_Working_Memory_MEG_KZ78PHV_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | d2761e7707b3fd8dbef83cc569444a0cac121646 | [] | 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,597 | 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... |
578725601c9db05f383c83b0867c200412dff60a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH6/EX6.11/Ex6_11.sce | 0937a57041186cb66a05a3389d4f31719c824eb4 | [] | 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 | 484 | sce | Ex6_11.sce | clear;
clc;
printf("\nEx-6.11\n");
//page no.-189
//given
I=15;............//current in A
A=2.1*10^-6;.....//area in m^2
rho=8.95*10^3;...//density in Kg/m^3
M=63.5;..........//mass in g/mol
N=6.02*10^23;....//avagadro no.
e=1.6*10^-19;....//charge in J
no=N*rho/M........//no. of free electrons per unit vo... |
83bff48f5bab8f51be074a23baacb0bfd01e3a2f | 717ddeb7e700373742c617a95e25a2376565112c | /3165/CH2/EX2.2/Ex2_2.sce | 213ae1dcde4b2acf9b0e4587d685b7286613b0bc | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 154 | sce | Ex2_2.sce | //exponential//
clc;
i=10;//input//
n=0:i;//variable//
y=exp(n);//output//
plot2d3(n,y);
xlabel('n');
ylabel('amplitude');
title('exponential');
|
6b943ff95a6af257f502bf68bffce3143dd8f7ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH21/EX21.2/Ex21_2.sce | a5dd761caee2628b08a86d39ddbfad712efa94a7 | [] | 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 | 723 | sce | Ex21_2.sce | //Exa 21.2
// To find-
//a) the hopping bandwidth,
//b) What is the chip-rate,
//c) How many chips are there in each data symbol,
//d) What is the processing gain.
clc;
clear all;
Stepsize=200; //in Hz
Chipsmin=20;//length of linear feedback shift register
Datarate=1.2*10^3; //bps
//solution
No_of_t... |
dbbec47a23c2bd56be7c99603433954d9ddcb770 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH11/EX11.1/Example11_1.sce | ab90694a0f3ee29f3067f12c8e84aa71f642d4f8 | [] | 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 | 892 | sce | Example11_1.sce | ///Chapter No 11 Steam Boilers
////Example 11.1 Page No 228
///Find Mass of evaporation
//Input data
clc;
clear;
ms=5000; //Boiler produces wet steam in Kg/h
x=0.95; //Dryness function
P=10; //Operating pressure in bar
mf=5500; //Bour in the f... |
c28e85fb401a9461a85d70142957b5334a150b0e | 57bf4c6c3a40f5d25e9c8e7ddf0d572b36d1ff72 | /projects/07/MemoryAccess/tests/argVME.tst | 140346dde6f42ac8c939a851e8e8b1fb0d5283bb | [
"MIT"
] | permissive | theapi/nand2tetris | 516879eb0a2defe9a7269ccd7d423f8983dc2581 | 0e09a7b3f1f1ec68e56b5299128d4b62f5b164d7 | refs/heads/master | 2021-01-10T21:40:34.591217 | 2016-01-26T14:09:38 | 2016-01-26T14:09:38 | 37,582,867 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | tst | argVME.tst |
load arg.vm,
output-file arg.out,
compare-to arg.cmp,
output-list RAM[401]%D1.6.1 RAM[402]%D1.6.1;
set sp 256,
set local 300,
set argument 400,
set this 3000,
set that 3010,
repeat 4 {
vmstep;
}
output;
|
e8aba193165f6a35f39af2292e0aca00db655284 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH11/EX11.3/exa11_3.sce | 0ef138c3ca47a864bdd5cc5cd3356277fd2a6955 | [] | 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 | 467 | sce | exa11_3.sce | //Example 11-3//
//compute gain of an op-amp//
clc
//clears the console//
clear
//clears all existing variables//
Rf=40
Rs=5
Ein=3.2
//Given the resistance values in kilo ohms and the input voltage in volts//
Av=Rf/Rs
//Av denotes the gain of the op-amp//
Eo=Av*Ein
//Eo denotes the output voltage//
disp('... |
c749bb592073667c818c5003d9c349abd13cb852 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH18/EX18.3/Example_18_3.sce | cd43921a92ca8db4a5a93e496220d8a01e0a5b85 | [] | 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,263 | sce | Example_18_3.sce | //clear//
clear;
clc;
//Example 18.3
//Given
mdot = 30000; //[kg/h]
wF_b = 40;
wD = 97;
wB = 2;
R = 3.5;
lambda_b = 7360; //[cal/g mol]
lambda_t = 7960; //[cal/g mol]
alpha = 2.5;
TB = 95; //[C]
TF = 20; //[C]
P = 1; //[atm]
Mb = 78;
Mt = 92;
Cp = 0.44; //[cal/g-C]
//Solution
xF = (wF_b/Mb)/(wF_b/... |
ff1f1e016d36a84f07456b4ddea84af921cf3006 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/952.sci | 69c967ea72c039a2e65d5c78b010bd9365a31787 | [] | 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 | 367 | sci | 952.sci | NinMethane=100 //mol
NinOxygen=100 //mol
NinNitrogen=376 //mol
NoutMethane=60 //mol
NoutOxygen=50 //mol
NoutNitrogen=376 //mol
NoutFormal=30 //mol
NoutCarbon=10 //mol
NoutWater=50 //mol
H1= -74.85 //Kj/mol
H2= 2.235 //Kj/mol
H3= 2.187 //Kj/mol
H5=3.758//Kj/mol
H6=3.655 //Kj/mol
H8= -393.5+4.75 //Kj/mol
H... |
cc11fd5413c5fadae53fe0aec4206cd6717b5f9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH7/EX7.12/SolEx7_12.sce | 77d5a3a2acd85380cef93c309835688dd7be72c4 | [] | 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 | 348 | sce | SolEx7_12.sce | //determine the voltage gain of this amplifier circuit using SPICE methods.
//Example 7.12 page no 215
clear
clc
gm=1.5*10^-3
rds=75*10^3
Rd=3*10^3 //kΩ
rds=75*10^3
vds=-(gm*rds*Rd)/(rds+Rd)
printf("\n The value of vds=%0.3f vgs",vds)
Vdsm=-1*vds //V
idm=(gm+(Vdsm/rds))*1000
printf("\n The val... |
e82093ce8cb6ad7383e7a5b72a4e524980e18404 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH6/EX6.19/example6_19.sce | aed11e4f0008f78f57cf58070ffdbdffafc396fe | [] | 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 | 760 | sce | example6_19.sce | // Find operating region,Vgs,Vds,Id
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 6-19 in page 290
clear; clc; close;
// Given data
Ids = 4*10^-3; // Drain-source current in mA
Vp=-4; // Peak voltage in V
Vdd=10; // Drain voltage in V
Rd=1*... |
45c81cf43d1b7d4121eb6d11913df1312dac2456 | 488671045d59079d7b3aa27dcecc04e73e9d90c2 | /cinematica/aula2dia2111.sce | abdb0d332ed8f825080f364fd9521e452668e238 | [] | no_license | marieediaas/Robotica | cd09b30629e9a090077e72556a3379af5877e9f2 | f4aaf15bd7f11b8a6f6a5f898305f5bdb483fdcf | refs/heads/master | 2022-04-10T06:48:10.906055 | 2020-02-22T16:14:45 | 2020-02-22T16:14:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 724 | sce | aula2dia2111.sce | L1 = 10;
L2 = 5;
px = 5;
py = 13.66;
//teta2 positivo
teta2p = acosd((px^2 + py^2 - L1^2 - L2^2)/(2*L1*L2));
teta1p = atand(py/px) + atand(sqrt(py^2 + px^2 - (L1+ L2*cosd(teta2p))^2)/(L1 + L2*cosd(teta2p)));
teta1n = atand(py/px) - atand(sqrt(py^2 + px^2 - (L1+ L2*cosd(teta2p))^2)/(L1 + L2*cosd(teta2p)));
//teta2 n... |
9e7def9800774a9490f941cb4f75532df0344276 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH5/EX5.5/Ex5_5.sce | 4a69f254105e18d51684ee66ba54b62c552a5ce8 | [] | 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,045 | sce | Ex5_5.sce | // Scilab Code Ex5.5: Page-285 (2008)
clc; clear;
function [] = check_energy(E, L)
phi = 4.8; // Work function for tungsten, eV
if E > phi then
printf("\nThe wavelength %d angstrom will be able to liberate an electron.", ceil(L/1e-010));
else
printf("\nThe wavelength %d angstrom will n... |
1dd465150753cc5f795e607a9c3b795ac729dd08 | 6b7e9274b9748e4dffc5ede7f068decafb31ee39 | /Common-Core/Basic-numerical-methods/code/src/poisson/test_poisson_curl.sce | 9efbbe5d4f9e6925d8b0b4171cb6f6bf8275600a | [] | no_license | nadir-aitlahmouch/Grenoble-inp-Ensimag | 9ae70296c7ddac221dff9cfeb5b02bb2fc673a4a | ea1ea530ea05420e9caf16db6b3d3e4c306248df | refs/heads/main | 2023-03-12T00:08:33.719439 | 2021-03-04T00:53:39 | 2021-03-04T00:53:39 | 343,920,590 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,459 | sce | test_poisson_curl.sce | // Initialise f(x,y)
function [w]=init_field_curl(y,x)
w = 8*%pi^2*cos(2*%pi*x)*cos(2*%pi*y)
endfunction
// Solution de référence du problème laplacien(psi(x,y)) = f(x,y)
function [refx]=solution_field_ux(y,x)
refx = - 2* %pi* cos(2*%pi*x)*sin(2*%pi*y)
endfunction
// Solution de référence du problème laplac... |
0f833c8d1989ee1296c439eebb8ea1eab0524b9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH1/EX1.7/Ex1_7.sce | 0ce5bd9d293521a2d3706f82ae5ec5048a0d33fc | [] | 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 | 407 | sce | Ex1_7.sce | clc
//Given that
e = 1.632e-19 // charge on electron in coulomb
V = 50 // Applied voltage in volts
m = 9.1e-31 // Mass of electron in Kg
h = 6.62e-34 // Plank constant
printf("Example 1.7")
lambda = h/(sqrt(2*e*V*m)) // calculation of de Broglie wavelength
printf("\n de Broglie wavelength of neutron is %f an... |
78ae0b308bda0aaf247f47da395d5e22ccf7911e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH5/EX5.4/Example_5_4.sce | 67188864f44e5d94491d058e180a5f358bd27769 | [] | 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,331 | sce | Example_5_4.sce | clc;
clear;
Xij = [9 12 11; 10 11 12; 9 9 10; 10 11 12];
disp(Xij,"Xij =");
Xij=Xij - 10;
disp(Xij,"Xij-30 =");
T1=0;
T2=0;
T3=0;
T4=0;
Total_Square=0;
for i=1
for j=1:3
T1= Xij(i,j) + T1;
end
end
for i=2
for j=1:3
T2= Xij(i,j) + T2;
end
end
for i=3
for j=1:3
T3= Xij(i,... |
cae060d0fa9377ee6dde58bf90c37bc0c905e8e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH12/EX12.6/Ex12_6.sce | c53cd96d6cb87871494fa409bb97c5259882a0a7 | [] | 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 | Ex12_6.sce |
// Theory and Problems of Thermodynamics
// Chapter 12
// Statistical Thermodynamics
// Example 6
clear ;clc;
//Given data
T = 300 // temperature of particles
E = 300 // activation energy
e1 = 3*E // permissible energy levels
e2 = 6*E // permiss... |
b9875dbf6724bcac33f6642856fb8df6feab75d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH2/EX2.22/example2_22.sce | 821e9bbde53f23a0dfd102829ade66b193372321 | [] | 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 | 218 | sce | example2_22.sce | //example2.22
clc
disp("P=4, A=2, psi=0.0121 Wb, Z=792, E_g=240 V")
disp("(E_g)=(psi*P*N*Z)/(60*A) i.e. 240=(0.0121*4*N*792)/(60*2)")
n=(480*60)/(792*4*0.0121)
format(9)
disp(n,"Therefore, N(in rpm)=")
|
5ac879ef77d3541a61591e18f01d45374fb4b704 | 857f7516c898df1639b27c209cf85ba30f76f696 | /SumOfPeriodsOfDiscreteSineWaves.sce | 34b969836c19f1fe85166d97beee479ed441b88b | [] | no_license | pracheejaviya1/signals-and-systems | ba72429fc1022d72245c2b2305e341fc9faea7c7 | 604aa7a71a858c03f816702f689ea05dc139ecf4 | refs/heads/master | 2022-02-25T23:54:46.695092 | 2019-11-16T12:41:14 | 2019-11-16T12:41:14 | 222,097,028 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sce | SumOfPeriodsOfDiscreteSineWaves.sce | clear;
clf;
dn=1
n = 0:dn:20;
k1 = 5;
n1 = 20;
k2 = 1;
n2 = 8;
k3 = 2;
n3 = 16;
x1 = sin(2 * %pi * n * k1/n1);
x2 = sin(2 * %pi * n * k2/n2);
x3 = sin(2 * %pi * n * k3/n3);
subplot(4,1,1);
plot2d3(n,x1);
xgrid(2);
subplot(4,1,2);
plot2d3(n,x2);
xgrid(2);
subplot(4,1,3);
plot2d3(n,x3);
xgrid(2);
subplot(4,1,4);
p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.