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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9b8e323c572fb5b89b915e19fff13072fccfb143 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH4/EX4.6/Ex4_6.sce | 3ed599e89f42453e9244e43c4dbd3762b327a876 | [] | 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 | 391 | sce | Ex4_6.sce | //Example 4_6
clc;funcprot(0);
//Given data
Q=260;//m^3/s
H=1.7;//m
n_p=0.825;
N_s=890;// r.p.m
N=50;//r.p.m
//Calculation
w=1000*9.81;// N
P_t=(Q*w*H*n_p)/(1000);// Total power to be developed in kW
P=((N_s*H^(5/4))/N)^2;// kW
n_k=P_t/P;// Number of kaplan turbine required
printf('Number of Kaplan turbi... |
eec779ff115a28727aa78ed2d0ec538fe74c8efb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH5/EX5.23/23.sce | 1a183c193781ff3251203fde6744035c0d174c6c | [] | 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,781 | sce | 23.sce | clc
clear
//Input data
D=0.4 //Duct diameter in m
Po=12 //Stagnation pressure in kPa
To=600 //Stagnation temperature in K
f=0.0025 //Friction factor
M1=1.8 //Mach number at entry
M2=1 //Mach number at outlet
Mx=1.22 //Mach number upstream of shock
//Calculations
A2=%pi*D^2/4 //Exit area in cm^2
p1=0.17... |
b425928a869e9af3e4b46aae513708e973997ffe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH7/EX7.10/Ex7_10.sce | b217f6ccb2114c27070d6fe3fe9ddde6a915d047 | [] | 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 | 419 | sce | Ex7_10.sce | //Example number 7.10, Page number 149
clc;clear;
close;
//Variable declaration
epsilon0=8.85*10**-12;
N=2.7*10**25; //density of atoms
R=0.55*10**-10; //radius(m)
//Calculation
alpha_e=4*%pi*epsilon0*R**3; //polarisability(Fm**2)
epsilonr=(N*alpha_e/epsilon0)+1; //relative permittivity
//Result
prin... |
46b6be8efc084c670db4c16d509fb90b2311a852 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH1/EX1.23/23.sce | 18ffef8d3ff3de4ff4f80879f0bfb7dda750092c | [] | 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 | 169 | sce | 23.sce | // problem 1.23
x=30
z=sin(x*3.142/180)
h=6-(z*0.5)
l=1
b=4
a=l*b
w=9810
p=w*a*h
h11=(z*z)/(12*h)+h
f=p*0.5072
disp(f,"force normal to the gate at point B")
|
2d8ae82ea8240b580b364b4e398968a9d5b0d62e | 76d58c93412c99ad3e8468ca843883add5b16d43 | /plus-minus_tau4.sci | e3e4e270edf49af5e7e417853893020ab7b7e05a | [] | no_license | NnataKha/Mixed-plus-minus-interaction-conflict-model | cd6daadc26e6189720f088adf9a739072125f1fa | a02cf4c1c21dc5559721c219c93ad706f3af30be | refs/heads/master | 2020-03-16T18:52:00.884504 | 2018-05-10T11:24:44 | 2018-05-10T11:24:44 | 132,889,968 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,048 | sci | plus-minus_tau4.sci | clear;
if 1==1 then
n=15;
for i=1:n
T(i)=rand(100)//*110;
M(i)=rand(100);
end
end
n=length(M);
st = sum(T);
sm = sum(M);
T = T'./st;
M = M'./sm;
eps=1/(n);
m = 100;//number of steps
check(1)='plus';
for k = 1:m
time(k)=k;
T_v(k,:)=T;
M_v(k,:)=M;
Theta=0;
for i=1:n
... |
0d43f2b1d988d65ae5c863bf43899ea7991a89cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH7/EX7.7/Ex7_7.sce | 62aee95e9816766efafc60bd027593f626c2ba99 | [] | 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,404 | sce | Ex7_7.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 7.7\n\n\n");
// Chapter 7 : Mixtures Of Ideal Gases
// Problem 7.7 (page no. 328)
// Solution
//We will take as a basis 100 lbm of mixture.
//Dividing colomn 2 by 3 gives us mass/molecular weight or moles of each constituents.The total number of moles... |
58566fcda8b49b9f0358a4d3cf66a91fa211f296 | 8c802fb8c6a8dc8ed61222ce257eb61f580a462e | /projects/03/a/Bit.tst | de8b0ffa785b6a3d421793cfeea2e1e42a39ee15 | [] | no_license | radavis/nand2tetris | 0703b55695378cd8ec279599a34114cbfba48ef7 | 021ba06dbbe203206b44360f162a0d64e2dc41f9 | refs/heads/master | 2021-01-01T20:05:37.036752 | 2015-05-16T19:13:31 | 2015-05-16T19:13:31 | 34,955,667 | 8 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 6,576 | tst | Bit.tst | // File name: projects/03/a/Bit.tst
load Bit.hdl,
output-file Bit.out,
compare-to Bit.cmp,
output-list time%S1.4.1 in%B2.1.2 load%B2.1.2 out%B2.1.2;
set in 0,
set load 0,
tick,
output;
tock,
output;
set in 0,
set load 1,
tick,
output;
tock,
output;
set in 1,
set load 0,
tick,
output;
... |
136220add3244f5cb7ae6426701a6de044b4f617 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_-_1_T._Singh_704.zip/Electrical_Machines_-_1_T._Singh_704/CH4/EX4.1/ex4_1.sce | 4083ecae86978ddb72bdefa4a34fb53b34baf9ad | [] | 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 | 685 | sce | ex4_1.sce | errcatch(-1,"stop");mode(2);//Caption:Determines the turns per phase for the HV and LV winding of the 3 phase transformer.
//Exam:4.1
;
;
F_max=0.024;//Maximum flux (in weber)
f=50;//Supply frequency(in Hz)
E_1p=11000;//Primary phase voltage(in Volts)
N_1=ceil(E_1p/(4.44*F_max*f));//Turns per phase on primary
... |
18ed2ae809b833dd50d216a90e9b7fb8387a96b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH2/EX2.18/example_18.sce | b4fda753a34129807783425b354890a0d58a1e97 | [] | 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 | 594 | sce | example_18.sce | clc
clear
printf("example 2.18 page number 77\n\n")
//to find molecular formula
C=50.69 //% of carbon
H2=4.23 //% of hydrogen
O2=45.08 //% of oxygen
a=C/12; //number of carbon molecules
c=O2/16; //number of oxygen molecules
b=H2/2; //number of hydrogen molecules
molar_mass=71;
functio... |
b52f56f5733eacc91fd781c307610567c0db8010 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/util/typeof.sci | e8cd90f74c9e0bbabbbca25d6aa51d46077584eb | [
"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 | 427 | sci | typeof.sci | function [tf]=typeof(object)
select type(object)
case 1 then tf='usual';
case 2 then tf='polynomial';
case 4 then tf='boolean';
case 10 then tf='character';
case 11 then tf='macro';
case 13 then tf='macro';
case 14 then tf='library';
case 15 then
select object(1)
case 'r' then tf='rational';
case 'l... |
0668456b54aece3edf58a4ce38c7e6acfbb99c57 | df924acfdd5b043da9336a2276726dbfb655735a | /test_suite/stobjcst.tst | 8ca7599b167e6e96b005170ab4de8f015a141cdd | [] | no_license | noxdafox/clips | b8fb280223b5aae615e427bf1f31c03cb932b09d | a2c548b69394f0e2cf7c6d583810b6a29a662ae1 | refs/heads/master | 2023-09-01T18:52:07.614807 | 2021-12-14T20:10:21 | 2021-12-14T20:10:21 | 95,596,886 | 11 | 10 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | tst | stobjcst.tst | (unwatch all)
(clear)
(dribble-on "Actual//stobjcst.out")
(batch "stobjcst.bat")
(dribble-off)
(clear)
(open "Results//stobjcst.rsl" stobjcst "w")
(load "compline.clp")
(printout stobjcst "stobjcst.clp differences are as follows:" crlf)
(compare-files "Expected//stobjcst.out" "Actual//stobjcst.out" stobjcst)
(close sto... |
1b942869143d052bc10b580f3f3213b6b9c01fb9 | 49148682b78b6520a61de9a700f791835e1b32d5 | /Gachan/GachanGame/GachanGameObject/GachanGameObjectSystem00.tst | ed6b227c978adb275cc868649ee605223e0cef43 | [
"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 | 19,458 | tst | GachanGameObjectSystem00.tst | //skipped groundPlane_transform
//skipped Manipulator1
//skipped UniversalManip
//skipped CubeCompass
/////////////////////////////////////////////
// object_LineA__
/////////////////////////////////////////////
#if 0
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1
#endif
DX3DMATERIAL_START( materi... |
b313aaa5f9ea3ed6071ec2955ea881c8fef508f6 | 430e7adb489914d378a5b0a27d8d41352fa45f3a | /scilab/example/オブザーバに基づく推定状態フィードバック.sce | 25904318f73238e2fe9aa6a17e91b2a38918f64b | [] | no_license | ziaddorbuk/Lesson | 04906ff94bf8c1f6bbc6971d5692ae011a9b8869 | 20fe20a6c9c145ef48a35574d885d3952f9ab6ff | refs/heads/master | 2021-09-23T11:48:05.958608 | 2018-04-30T01:54:13 | 2018-04-30T01:54:13 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | Scilab | false | false | 570 | sce | オブザーバに基づく推定状態フィードバック.sce | //オブザーバに基づく推定状態フィードバック
A=[1 0;0 2]; b=[1;1]; c=[1 1];
k=[12 -20]; g=[-30;42];
Plant=syslin('c',A,b,c);
Cnt=obscont(Plant,k,-g);
ExClosed = Plant/.(-Cnt);
spec(ExClosed('A'))
t=0:0.01:10; v=0*t; x0=[1;0;0;1]
[y,x]=csim(v,t,ExClosed,x0);
xset("window",0); clf();
plot2d(t',[x(1,:)',x(3,:)'])
xtitle("Extended ... |
7959490a4a7dad6e195713e6e35d1a470728ddd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH11/EX11.5/Ex11_05.sce | ee0d040b7c236d8227c76935c359c28313e6312d | [] | 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 | 998 | sce | Ex11_05.sce | // Scilab Code Ex11.5: Page-412 (2014)
clc; clear;
A = 100*100; // Area of solar cell, Sq.m
t = 12*60*60; // Time for which the solar cell operates, s
phi = 680; // Solar flux received by the solar cell, W/Sq.m
eta = 0.30 // Efficiency of the solar array
E_array = eta*phi*A*t; // Energy produced by... |
187306a478c31736e7babb63ae05c56aaba8ab1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH9/EX9.2/Ex9_2.sce | 0bcbb207bac19fee83f675456661cd86368ea026 | [] | 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 | 938 | sce | Ex9_2.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 9.2\n\n\n");
// Chapter 9 : Gas Power Cycles
// Problem 9.2 (page no. 463)
// Solution
cv=0.172; //Unit:Btu/(lbm*R) //Specific heat constant
Rc=7; //Compression Ratio Rc=v2/v3
k=1.4; //It is apparent incerease in compression ratio yields an increased ... |
3379197902088cd76cbcfadb5a09a9409acbbe97 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /Collaboration/SCENARIOS/collaboration.sce | 1f84252f56d71af1874bfff9273064bcd3ab7baf | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,952 | sce | collaboration.sce | #************************************************************
# Scenario of humanTestEnv
#
# date : Tue Apr 30 17:51:38 2013
#************************************************************
p3d_sel_desc_name P3D_ENV humanTestEnv
p3d_sel_desc_name P3D_ROBOT HERAKLES_HUMAN1
p3d_set_robot_steering_method Linear
p3d_set... |
73effbd7808ff3b1ac2de9706f46361ae0e13c19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH18/EX18.3/Ex18_3.sce | 34b3f2212301b9b92536a71aa0cc27a7565c0dca | [] | 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 | 533 | sce | Ex18_3.sce | // Initilization of variables
h_1=9 // m // height of first bounce
h_2=6 // m // height of second bounce
// Calculations
// From eq'n (5) we have, Coefficient of restitution between the glass and the floor is,
e=sqrt(h_2/h_1)
// From eq'n 3 we get height of drop as,
h=h_1/e^2 // m
// Results
clc
printf('The b... |
e4c51fbe6c0114d15e55a0810d55f5cca3f2a5f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH12/EX12.2/Example12_2.sce | 14d967e14a2a533a983f1b62963dbe0347abb870 | [] | 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,196 | sce | Example12_2.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 5: MECHANICAL DESIGN OF OVERHEAD LINES
// EXAMPLE : 5.2 :
// Page number 198
clear ; clc ; close ; // Clear the work spa... |
af50b6e67ccece46c675910672d330a6297e63d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH4/EX4.4/Ex4_4.sce | 8a33a023559ddbff9cd315b8ead938121b145bf5 | [] | 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 | 802 | sce | Ex4_4.sce | clc();
clear;
//Given :
d = 8.8*10^-2 ; // slit width in mm
b = 0.7;// seperation between slits in mm
lambda = 6328 ; //Wavelength in A
//First diffraction minima is possible, when d*sin(theta) = lambda
// 1 A = 1.0*10^-7 mm
theta = asind((lambda*10^-7)/d); // angle in degrees
printf("theta = %.3f degrees .\n... |
23fd8f33def3a0c36bc0b849020c742eaf08cc68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3526/CH6/EX6.2/EX6_2.sce | 79cd35b7d71cd4c47d0cf0207ea1f7977d184aec | [] | 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 | 973 | sce | EX6_2.sce | clc;funcprot(0);//EXAMPLE 6.2
//page 152
// Initialisation of Variables
F=45000;.......//Force applied on an aluminum rod in lb
e=25000;.......//the maximum allowable stress on the rod in psi
l2=150;.......//the minimum length of the rod in in
e1=0.0025;......//The strain appiled on rod
sigma=16670;.........//St... |
53aebec4f28806d7bf559decb77d37b6e557a33e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH3/EX3.8/example8.sce | 7b38e36b55d9d68fd1fe140d00ef8c3407e0b467 | [] | 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 | 614 | sce | example8.sce | //Chapter-3, Problem 3.8 , Page107
//===========================================================================
clc;
clear;
//INPUT DATA
Vb1 = 20;//first blind speed in m/s
Vb2 = 30;//second blind speed in m/s
n1 =1 ;//since first blindspeed
n1 =2 ;//since second blindspeed
lamda = 3*10^-2;//wavelengt... |
d2714796a4d7ee1861a4345c74c3bfecf33f3380 | a8f42082049435843c9744242d5227d93bd88745 | /kadai2.sce | 613cbeb5f56d689c7063a4626a2bb10e80a9aa45 | [] | no_license | SatokiOgiso/crs_excercise | e5d44f3fd39287a1ea624befd530e2d23f21f022 | 5ff0cbfd56868b02a3b46cf8fd08ddf5abe443d6 | refs/heads/master | 2021-01-10T15:34:17.113920 | 2015-10-22T17:23:06 | 2015-10-22T17:23:06 | 44,755,522 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | kadai2.sce | //関数の読み込み
exec('prod_matrix_vector_crs.sci');
exec('sparse2crs.sci');
A = sprand(1000,1000,0.005); //疎行列生成
[AA, IA, JA] = sparse2crs(A); //CRS (CSR?)に変換
x = ones(1000, 1); //適当にベクトルを作る
AprodX = prod_matrix_vector_crs(AA, IA, JA, x); //CRSで積を計算
norm_of_difference = norm(AprodX - A * x); //Scilabの演算と比較
print(%io(2)... |
27b7e91d5edf648a9a39d4c1bde7bae67a1e07eb | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/brts.instr.tst | 22a615f03999c4554538f220a62458894b2485d9 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,670 | tst | brts.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x00000100 vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00000134 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0xfe 0xf1 brts .+126 ; 0x80
0x2: 0xf6 0x... |
aae7974c4b612386ceff1ed9a6fe8ff92c177795 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH2/EX2.18.36/2_18_36.sce | f0bafb2d9a5a9d0855af7cdaad316f5e7f634d8f | [] | 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,005 | sce | 2_18_36.sce | //water and its treatment//
//example 2.18.36//
clc
Purity_Lime=.86
Purity_soda=.90
W1=35.2;//amount of CaCO3 in ppm//
W2=7.8;//amount of MgCl2 in ppm//
W3=12.5;//amount of HCl in ppm//
W4=33.3;//amount of Al2(SO4)3 in ppm//
W5=8.8;//amount of Na2SO4 in ppm//
W6=18.6;//amount of Fe2O3 in ppm//
M1=100/99.... |
6862595b8331c6a3a9fa0255c42d4e00815172fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH5/EX5.2/5_2.sce | 884c400f6a01d67fd3e93dc816efecc6288716c8 | [] | 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 | 344 | sce | 5_2.sce | clc
//Intitalisation of variables
clear
p= 27.17 //mm
T= 99.5 //C
T1= 100.5 //C
T2= 100 //C
sv1= 1674 //cc per gram
sv2= 1.04 //cc per gram
g= 980.7 //cm/sec^2
d= 13.595 //kg/m^3
//CALCULATIONS
r= (p/10)*d*g
lv= (273.2+T2)*(sv1-sv2)*(p/10)*d*g/(4.184*10^7)
//RESULTS
printf ('Heat of vapourisation of wate... |
6f7d22566c398f6ee1f991f9a2c1d7b14fc49787 | 2f7b1fa044c246ffe96b7e6e7b96aa95f9031cdf | /Anul 2/Anul_2/Metode_Numerice/Laborator/MN rezolvari/MN_Lab/lab6/exemplu plot2D-2.sce | 531c80bdeb2983319119c87037f3f388767064ea | [] | no_license | stickyrst/automatica | 1f902091376c0f65c08a66721de3185a70f88d26 | 2ac48ae78f45b787724fa90c0e7acd8052e6725c | refs/heads/master | 2020-06-11T18:39:23.768638 | 2018-05-30T19:55:38 | 2018-05-30T19:55:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sce | exemplu plot2D-2.sce | //Exemplu:
n=10;
x=(0:n)';
y=x;
//xbasc();
plot2d2(x,y,style=2,frameflag=5,rect=[0,-1,n+1,n+1])
xtitle("Exemplu de grafic cu plot2d2")
|
3faa48389309a1613f40962efeb480a880ca5582 | 348b83f2cd32e6616b86e704a374661890d58cda | /opration_of_waveform.sce | fb651ff7798aa94eef491172550b89b268c4f6d1 | [] | no_license | YashGandhi17/Scilab | 012b35caad56d0c7600b9a207956e25774339c66 | 6d509dc17afe2ca32376df795693c84f94e3f360 | refs/heads/master | 2020-04-07T03:13:24.046967 | 2018-11-17T17:24:44 | 2018-11-17T17:24:44 | 157,837,866 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sce | opration_of_waveform.sce | S=input("enter sample");
Si=input("enter starting index");
V=input("value to wave advance(-ve) or delay(+ve) or scale:");
O=input("enter 1 for delay or advanced // Enter 2 for fold // Enter 3 for scale ");
n=1:length(S);
r=[n+(Si-1)]
figure(1);
clf(1);
subplot(2,1,1)
plot2d3(r,S);
xlabel("y");
ylabel("x");
... |
1d3b799ee13ceb0b19d3c3e13fa63024ce8e1de0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH17/EX17.5/141ex2.sce | 0930558e0b28439bd7cf3cc428879e5ea4d4e37b | [] | 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 | 143 | sce | 141ex2.sce |
//9*x*(x+1)=4
clear;
clc;
close;
x=poly(0,'x');
y=9*x*(x+1)-4; //y=0
mprintf("the solution is \n")
mprintf("x=%f, \n",roots(y))
|
60ca8365c007480ebac80a4946e9e1a4c752a5ad | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testMatplot.sce | d448eaf16e0b82b6e12c07b13fa67b656d142e7a | [] | 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 | 329 | sce | testMatplot.sce | // grid definition
x=[1:5];y=[2:5];
// surface computation
[X,Y]=meshgrid(x,y);
Z=X+Y;
//surface display
clf;
F=gcf();F.color_map=jetcolormap(10);
subplot(121)
Matplot(Z)
xtitle('Matplot(Z)')
subplot(122)
A=gca();A.data_bounds=[0,0;10,10];
A.axes_visible=["on" "on" "on"];
Matplot1(Z,[1,2,5,5])
xtitle('Matplot1(Z,[1,2... |
4ca26edbec101e48a83713e19f7d0baead3e060b | be07c1e346737e6e38bb958d9a66f52f6da2180a | /Regression/ADVANCED_STUBBING/ADVANCED_STUBBING_W.tst | d25aa413acf28510e3d89e8ab1702c732c63bf21 | [] | no_license | dpreisser/Training | 1bc8840d646306d861f4c7610a28bb23667f06e5 | 97eb58c7963e4725d6a2ad9e8200ca9367c84061 | refs/heads/master | 2021-01-10T13:03:12.508795 | 2016-04-11T12:49:06 | 2016-04-11T12:49:06 | 54,963,561 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,804 | tst | ADVANCED_STUBBING_W.tst | -- VectorCAST 6.4d (02/29/16)
-- Test Case Script
--
-- Environment : ADVANCED_STUBBING_W
-- Unit(s) Under Test: advanced_stubbing
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_... |
a0def2bb94898e88293b81fcf835f03ef2890b77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH17/EX17.6/176.sce | cf029ea40c2798c62bd7d388cbbdb22fba6e3197 | [] | 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 | 850 | sce | 176.sce | clc;
//Example 17.6
//page no 214
printf("\n Example 17.6 page no. 214\n\n");
//the total head developed by a centrifugal pump is given by a equation
//hc=42-0.0047*q^2
//the pump is to be used in a water flow system in which the pump head in feet of water is given by eq.
//hp=12+0.0198*q^2
//for cal. flow rat... |
1180313dd5885a6e67417a0133cf6e354c2256d3 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/auto/frep2tf.sci | a90b617b7df1279ed93504eeb5bb5ec7441779ba | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 716 | sci | frep2tf.sci | function [h,err]=frep2tf(frq,repf,dg)
w=2*%i*%pi*frq
n=prod(size(w))
//initialisation
m=2*dg
a=[0*ones(m+1,m+1)];
err=0
x=ones(1,dg)
//triangularisation
for k=1:n
for l=1:dg-1, x(l+1)=x(l)*w(k),end
a(m+1,:)=[x repf(k)*[-x x(dg)*w(k)]]
for k1=1:mini([k,m])
u=givens(a(k1,k1),a(m+1,k1));
a([k1,m+1],k1:m+1)... |
d2a6de5c5d505f4589c387efd7dd917eff6e746e | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH6/EX6.4.1/ques4_1.sce | 531f5f4cae0f5e835f013988ca9bba89b75bb883 | [] | 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 | 121 | sce | ques4_1.sce | //ques4
clc
disp('definite integral');
syms x
g=(sin(6*x))^3*(cos(3*x))^7;
f=integ(g,x,0,%pi/6);
disp(float(f));
|
83d387e884713016c01bcca25ccb9efbe08693f6 | 207c864c3f938783d617dca78232e70445ae21e6 | /Ch12_I.sce | 32386ddc5439fe417011270c0dc0d585155308b1 | [] | no_license | raresica/CalculNumeric | a211a57fd4851e546c0b5eb866b3b228534a982c | 5564822ff9f5dab745208898ef9162322b28bff2 | refs/heads/master | 2021-02-11T05:03:13.720791 | 2020-04-15T10:42:58 | 2020-04-15T10:42:58 | 244,457,154 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 116 | sce | Ch12_I.sce | x=%pi/10:1:9
y=cos(x)
exec('D:\Scoala Sem 2\CN-VladMonescu\lq.sci',-1)
c1=lq(1,x,y)
c2=lq(2,x,y)
c3=lq(3,x,y)
|
f6d83b28ca060c38df89fc08b07c0ddd2a1bc7c1 | 881e0bcc7118244a24f736786ac36140acfb885e | /yeast/results/GAssist-ADI-C.yeast-4/result2s0.tst | c28759586820b14bf4d947043bbd6413879ef115 | [] | no_license | woshahua/Experiment_File | 3e34e5a4a622d6d260fbdf8d5ef2711712aad9bc | 6a139cd3f779373799cb926ba90d978235b0de0d | refs/heads/master | 2021-01-01T06:57:13.285197 | 2017-07-28T08:17:38 | 2017-07-28T08:17:38 | 97,557,409 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,593 | tst | result2s0.tst | @relation yeast-4
@attribute Mcg real [0.11, 1.0]
@attribute Gvh real [0.13, 1.0]
@attribute Alm real [0.21, 1.0]
@attribute Mit real [0.0, 1.0]
@attribute Erl real [0.5, 1.0]
@attribute Pox real [0.0, 0.83]
@attribute Vac real [0.0, 0.73]
@attribute Nuc real [0.0, 1.0]
@attribute Class {MIT, NUC, CYT, ME1, ME2, ME3, E... |
9bea11aad03bcdaffae9c9088243ab7d8dfbbb6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH6/EX6.19/Ex6_19.sce | ff50973b9c322b855a0e86e8246d6e22ca5c1a88 | [] | 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 | 451 | sce | Ex6_19.sce | clear;
clc;
printf("\nEx-6.19\n");
//page no.-192
//given
E=5.53;......//fermi energy in eV
e=1.6*10^-19;.....//charge
tau=3.91*10^-14;..//relaxation time in s
m=9.11*10^-31;....//mass of electron
v=((2*E*e)/m)^(1/2).......//fermi velocity
printf("\nfermi velocity is 1.39*10^6 m/s\n");
k=1.38*10^-23;..... |
cc615a58ae10bcd6b352ba4466d0647cf7344409 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH9/EX9.5/EX9_5.sce | 9864d5ff4bab5d48294f0404e923170b476d3f1d | [] | 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 | 816 | sce | EX9_5.sce | // Example 9.5
// Determine (a) Bus frequency (b) Load on each machine
// Page 360
clc;
clear;
close;
// Given data
Padd=720; // Additional load connected
GD=0.0008; // Governor droop
f=60.2; // Frequency of machine
Pbus=900; // Bus load
//... |
be5a8a60795a7d4ddd7a976bb87d5018b9941a0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH14/EX14.8/14_8.sce | 9e0b9a288baec4c2b986d008e6513d937a743ecb | [] | 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 | 528 | sce | 14_8.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 14.8
//calculation of the height of the water in the column
//given data
r=.2*10^-3//radius(in m) of the tube
S=.075//surface tension(in N/m) of the water
g=10//gravitational acceleration(in m/s^2) of the earth
rho=... |
3393e60360184108efb4eccb369bf0491ade20e2 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/cpa.tst | f220aa5fe0d51734a3ce72448037630552b61c8b | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 51,656 | tst | cpa.tst | guiú² mi³-guiu¹² V;IPFV;SG;1;PST
mi²+dsiúg² mi³-mi²+dsiug³ V;IPFV;PL;1;PST
neɁ¹² mi³-neɁ¹² V;IPFV;3;PST
hog¹² mi³-hog¹² V;IPFV;2;PST
tsø²+nióɁ¹² tsø²+nioɁ¹ V;IPFV;PL;1;PRS
koɁ¹² koɁ¹² V;IPFV;SG;1;PRS
méɁ² mi³-meɁ¹² V;IPFV;PL;1;PST
kionɁ¹² kionɁ¹² V;IPFV;PL;1;PRS
Ɂán² Ɂán² V;IRR;3;FUT
ngo² ngo² V;IPFV;PL;1;PRS
hne¹² han... |
da2935230f1f51e5450f49f8e5d22b6dc0d0e382 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/gr_harm/out/condor/centralderiv.sce | b7166a2019eafd534421280b328069334efcdd01 | [] | 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 | 5,581 | sce | centralderiv.sce | function [dxuxx,dyuxx,dzuxx,...
dxuxy,dyuxy,dzuxy,...
dxuxz,dyuxz,dzuxz,...
dxuyy,dyuyy,dzuyy,...
dxuyz,dyuyz,dzuyz,...
dxuzz,dyuzz,dzuzz]=centralderiv(...
nx,ny,nz,...
dx,dy,dz,...
uxx,uxy,uxz,uyy,uyz,uzz)
//[dxuxx,dyuxx,dzuxx,...
// ... |
c2608a45ae2735deabf97b0aeaca9e20f41b7cc8 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/lkuptb.sce | 030af41265a3cfc35c1c7e3368a54155292b69f0 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 2,056 | sce | lkuptb.sce | //**************************** LOOKUP Table ********************************
if(blk_name.entries(bl)=='lkuptb') then
disp(scs_m.objs(blk_objs(bl)).model.rpar(1))
mputl("# LOOKUP Table-> "+scs_m.objs(blk_objs(bl)).model.opar(1),fd_w);
truecase_ss=strsplit(scs_m.objs(blk_objs(bl)).model.opar(2),";");
for... |
fd2c84f2527e5d126bcb8bbd0400ed0a38406ff8 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /newcs.sce | 1046e47a7476d482dc06d17ba61fc0105abde1e6 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 53,096 | sce | newcs.sce | Name=newcs
PlayerCharacters=Counter-Striker
BotCharacters=cspeekers.rot;cs crouch.bot;cs jiggle.bot;cs stop.bot;cs swing.bot;cs peek.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Counter-Striker
AddedBots=cspeekers.rot;cspeekers.rot;cspeekers.rot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapNam... |
665c8c25a1e8c6ec1bf4e23138ed39952255478f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3682/CH10/EX10.5/Ex10_5.sce | 13f5389b9209e956acabd761b9f62e015bf6a929 | [] | 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 | 654 | sce | Ex10_5.sce | // Exa 10.5
clc;
clear;
// Given data
// A 16bit dual slope ADC is specified
Va = 4.129; // Input analog Voltage
Vr= 8; // Maximum integrator output voltage(Reference Voltage)
n=16; // 16 bit counter
// Solution
disp("Referring to Eqn 10.7 on page no. 365 we get,")
// Va = Vr*(N/2^n);
N = round(Va... |
8749f946140a07f28df66e9674f42c0ca9126fb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH4/EX4.7/Ex4_7.sce | da941b99c77d036e087d144f933b01180fabe132 | [] | 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 | 362 | sce | Ex4_7.sce | // Example 4_7
clc;funcprot(0);
// Given data
D_1=0;// m
D_2=0.0500;// m
Sigma_s=0.0400;// N/m (constant)
// Solution
A_1=0;// m^2
R_2=D_2/2;// m
A_2=2*(4*%pi*R_2^2);// m^2
W_12=-Sigma_s*(A_2-A_1);// J
W_12=W_12/1055;// Btu
printf('\nThe amount of surface tension work required to inflate the soap bubble,... |
1bf94afa8a268e0bcf0006d1f02382b92879ee9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH8/EX8.4/8_04.sce | 46503eb44fa6f7ce3a5942044609fcebea1071fa | [] | 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 | 434 | sce | 8_04.sce | //Chapter 8, Problem 4
clc;
l=350*10^-3; //length of conductor
I=10; //current
r=0.06; //radius of pole
phi=0.5*10^-3; //flux
A=%pi*r^2; //area of pole
B=phi/A; ... |
db8341c0fa8e2b596b09b1eb0282dfb7bfe1341e | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH15/EX15.5/15_5.sce | 087fb03ff03aa7e29ef5be44b811d08d15ea5a04 | [] | 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 | 143 | sce | 15_5.sce | clear; clc; close;
Idc = 50;
C = 100;
Vdc = 27.9;
r = (2.4*Idc/(C*Vdc))*100;
disp(r,'Ripple value of capacitor in percentage = ');
|
9570d14d74567020dcf6a143f06fecd9685c2ef3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3369/CH3/EX3.15/Ex3_15.sce | 6fb064290c22c2f95505f07e8152896227371dc6 | [] | 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 | 240 | sce | Ex3_15.sce | //Chapter 3, Exmaple 15, page 109
//Mobility of electrons
clc
clear
Ie = 3
d = 0.8
A = 8*10**-4
Vne = 20*10**17 //V*ne
e = 1.6*10**-19
ke = (Ie*d)/(A*Vne*e)
printf("\Mobility of electrons = %d m^2/s*V ",ke)
//Answer may vary from the text
|
b2e2497fa22d4505c4ece49329bcf97e0f8477bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH22/EX22.8.b/Ex22_8.sce | ff6c5ffbabc27ba0e7ba54e34430d71c40c216e7 | [] | 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,787 | sce | Ex22_8.sce | clear
//Depends on data22_8.sci file
//Obtain path of solution file
path = get_absolute_file_path('Ex22_8.sce')
//Obtain path of data file
datapath = path + filesep() + 'data22_8.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Make radius array rad
rad = [D1/2, D2/2, D3/2];
//Calculate the tan... |
2dfbe3ffe31fd9404ce2cc0380f758bd7f7b44e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH27/EX27.5/Example27_5.sce | 3c2483801d24c2f5bf5db2ffe4842fb5897834c4 | [] | 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 | 462 | sce | Example27_5.sce | //Given that
e = 1.6*10^-19 //in C
Re = 1.69*10^-8 //in Ohm.m
n = 8.49*10^28
m = 9.1*10^-31 //mass of electron in kg
Veff = 1.6*10^6 //in m/s
//Sample Problem 27-5a
printf("**Sample Problem 27-5a**\n")
//resistivity = m/(n*e^2*t)
t = m/(n*e^2*Re)
printf("The mean free time between two collision is %es\n... |
a746a4540c5d72a222f44e590d8e4274dd660096 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/hanning.sci | 60ca783ccfac1c1a02161ffc79de1c04f31ccb06 | [] | 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 | 828 | sci | hanning.sci | function y = hanning(m, varargin)
//Return the filter coefficients of a Hanning window of length M
//Calling Sequence
//hanning (M)
//hanning (M, "periodic")
//hanning (M, "symmetric")
//Parameters
//M: real scalar, which will be the length of hanning window
//Description
//Return the filter coefficients of a Hanning ... |
444e626ed0ba8fdfacc6d24e709daefee4f5ae4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/9_07.sci | a6add1b08ee3e2cc7f33499763e4ab161713d70e | [] | 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 | 9_07.sci | //Weight of the dragster(in lbf):
w=1600;
//Speed of dragster(in mph):
s1=270;
//Area of drag chute(in ft^2):
A=25;
//Speed of dragster after deceleraton(in mph):
s2=100;
//Acceleration due to gravity(in ft/sec^2):
g=32.2;
//Density of air(in slug/ft^3):
d=0.00238;
//Value of coefficient of drag:
Cd=1.42;
... |
0483d7f268491e96fc76679a4390cf729548d090 | 48355d97461898b3f45c6ade638f3d55ba879607 | /scilab/mota_motp.sce | d673d269b28cfd445cbc23c63a6d274e4d7ad966 | [
"MIT"
] | permissive | edison2301/pipol_tracker | 5756a7f79f3fe7f022b595cf70cb31ef771d1eb2 | 5056dd3858cdb5139373862da220082191301d2c | refs/heads/master | 2021-01-15T12:31:21.679183 | 2015-07-10T16:11:02 | 2015-07-10T16:11:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,944 | sce | mota_motp.sce | // clear all
xdel(winsid());
clear;
//includes
exec('/home/andreu/dev/ros_ws/src/pipol_tracker/scilab/munkres.sci');
//gt file
fd_gt=mopen('/home/andreu/dataSets/people_tracking/reem/ground_truth/20140925_FollowMe.txt','r');
//fd_gt=mopen('/home/andreu/dataSets/people_tracking/reem/ground_truth/20140925_robotMoving.... |
7ee5a4bf3c67f2e3b37c578db2f3f37364c4216a | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH26/EX26.3/HG_3.sce | 3de8d145585d914f06520b47aa5cc29a93103f47 | [] | 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 | 583 | sce | HG_3.sce | // sum 26-3
clc;
clear;
Zp=24;
Zg=72;
alphan=20*%pi/180;
phi=24*%pi/180;
N=720;
mn=5;
b=50;
sigut=600;
BHN=360;
Cs=1.4;
FOS=2;
sigb=sigut/3;
dp=mn*Zp/cos(phi);
Zp=Zp/(cos(phi))^3;
Zg=Zg/(cos(phi))^3;
Y=0.358+((0.364-0.358)*1.48/2);
Sb=b*mn*sigb*Y;
Q=(2*Zg)/(Zp+Zg);
K=0.16*(BHN/100)^2;
Sw=b*dp*Q*K/... |
544acd4e0c75b73ee9ba127454c514cc65344fe5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH2/EX2.9/Ex2_9.sce | aff594e50fcda16ae497e7a016c93b7fce2f45ba | [] | 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 | 294 | sce | Ex2_9.sce | clc
//variable initialisation
V=440 //voltage in volts
P=100e+3 //power in Watts
N=900 //speed in rpm
V1=415 //supply voltage in volts
//solution
k=(3*sqrt(2))/%pi
a=acosd(V/(k*V1))
V2=0.5*V//At 50% of rated speed
a1=acosd(V2/(k*V1))
printf('\n\n The Firing Angle=%0.1f\n\n',a1)
|
3e52ca5d250f916612bda191b594b6bfd0234d54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH7/EX7.2/72.sce | 989a9daf48398ea1c072dc7bfcab3e971d5b518a | [] | 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,111 | sce | 72.sce | clc;
//Example 7.2
//page no. 65
printf("Example 7.2 page no. 65\n\n");
//water flowing through a converging circular pipe fig 7.3
//we have to determine mass and volumatric flow rates, mass flux of water
D1=.14// diameter of pipe at section 1
D2=.07//diameter of pipe at section2
v1=2//velocity at section
S1=... |
3ba7bb1bce75db0c99000a9f68ff97b0d7eb288e | b12941be3faf1fd1024c2c0437aa3a4ddcbbfd67 | /normal2/fase_4.tst | 1252dfb2215fc9a8f141309a24e2d016bfad83d1 | [] | no_license | JanWielemaker/optica | 950bd860825ab753236ce1daa399ee7a0b31b3ee | 3a378df314b5a60926b325089edac89c00cc8c6d | refs/heads/master | 2020-06-12T14:22:46.567191 | 2019-06-21T11:24:41 | 2019-06-21T11:24:41 | 194,328,239 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,343 | tst | fase_4.tst | /* Questionaire created by optica toolkit
Date: Tue Mar 24 11:20:47 1998
*/
question(1, '4.21',
'Wanneer komt het beeldpunt meer naar rechts te liggen?',
[ 'Als je de linker lens iets naar links verschuift.',
'Als je de rechter lens iets naar links verschuift.',
'Als je de lamp iets naar links... |
5d0d0f1061c616c21bfbb48676cfe0d8e33925a1 | ca0ea3139875f786caa2df8ef9ada885b326dd6f | /scilab/trabalho2adaline.sce | 24b98ff56fb17a7fcc7dc03a5754eeb16cefedb1 | [] | no_license | hitokey/exemplo-machine-learning | f0186a4e7acced7de16af6c96f3337129159225b | 2635ef2c88765b58267691a45a4b53f8d7207f2d | refs/heads/master | 2023-03-13T15:43:34.970552 | 2021-03-06T07:57:25 | 2021-03-06T07:57:25 | 289,837,645 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,491 | sce | trabalho2adaline.sce | clc;
clear;
x = [ 1.0 1.0
1.1 1.5
2.5 1.7
1.0 2.0
0.3 1.4
2.8 1.0
0.8 1.5
2.5 0.5
2.3 1.0
0.5 1.1
1.9 1.3
2.0 0.9
0.5 1.8
2.1 0.6];
t = [1 1 -1 1 1 -1 1 -1 -1 1 -1 -1 1 -1];
/*
clf();
set(gca(), "auto_scale", "on"... |
132dd43c6fbdc50a9bef369076a4af807b43728c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH10/EX10.2/Ex10_2.sce | c5e34aec22b62e1b0ecc3aa544105074115c6314 | [] | 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 | 251 | sce | Ex10_2.sce | clc
clear
printf("Example 10.2 | Page number 333 \n\n");
//Find the ratio of mass of saturated liquid to saturated steam
//Given Data
x = 0.85 //quality of steam
printf("The ratio of mass of saturated liquid to saturated steam = %.5f",(1-x)/x)
|
1bf6e114f368b32be0df3010018b981c56044607 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH8/EX8.8/Example8_8.sce | cc7f378066b9396c8515a7de6183bafc5d2fb1ca | [] | 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 | 313 | sce | Example8_8.sce | //clear//
//Caption: Program to percentage of burst error detected by CRC
//Example8.8
//page 309
clear;
clc;
close;
N =32;
Ped = 1-(1/(2^N));
disp(Ped*100,'Percent of burst error detected by CRC for a length of 32 Ped=')
//Result
//Percent of burst error detected by CRC for a length of 32 Ped=100.
|
08f5a7ec65bac5b0cf5e26c31c83d55ab37dd544 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/errbar.man.tst | 1bfed41da3e6d879df578beb9936e178acb03d0f | [
"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 | 112 | tst | errbar.man.tst | clear;lines(0);
t=[0:0.1:2*%pi]';
y=[sin(t) cos(t)]; x=[t t];
plot2d(x,y)
errbar(x,y,0.05*ones(x),0.03*ones(x))
|
f00dbc087a91ca23186d9995f8d81cbd096c7822 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH4/EX4.4/Example4_4.sce | dd76da165decc202a63b60a275185c2fa1bd4200 | [] | 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 | 647 | sce | Example4_4.sce | //Example 4.4
clc
disp("Using the expression for the frequency")
disp("Now, f = 1 / 2*pi*R*C*sqrt(6)")
f=(1/(sqrt(6)*2*%pi*9.7*5*10^6))*10^9 // in nF
format(5)
disp(f,"Therefore, C(in nF) =")
disp("Now using the equation(27)")
disp(" |A| = g_m * R_L")
disp("Therefore, |A| >= 29")
disp("Therefore, g_m * ... |
29a95c8e9fd87c9fdd8f86aea3cb4e44c7341bae | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH3/EX3.3/Ex3_3.sce | c1fae7fbd54485ee9a25c414104ca8d9a7fa7b6a | [] | 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 | 203 | sce | Ex3_3.sce | clear;
clc;
ml=0.98//*m0
mt=0.19//*m0
//rest mass m0 = 9.1*10^-31 kg
//Calculation
mn=6^(2/3)*(ml*mt^2)^(1/3)
mprintf("Density of states effective mass of electrons in silicon= %1.1f m0",mn)
|
ccd74e1248b96650624944c84cc9c351feef16b9 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/gcc/testsuite/ada/acats/tests/c4/c45231d.tst | 66be11b1ba0fb3080fc1ac52eda7ed5baeb75cc8 | [
"LGPL-2.1-only",
"FSFAP",
"LGPL-3.0-only",
"GPL-3.0-only",
"GPL-2.0-only",
"GCC-exception-3.1",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | Scilab | false | false | 7,906 | tst | c45231d.tst | -- C45231D.TST
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
c2d0dcca992dc4ef87419194289d4102098e6d9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH5/EX5.6.8/Ex5_8.sce | 06c969de8661da4c3409f5b3776a0cc41a26c717 | [] | 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,983 | sce | Ex5_8.sce | //Example 8// Ch 5
clc;
clear;
close;
// given data
delta=1;//at standard temp and pressure
r=1;//radius of conductors in cm
s=40;//subconductor to subconductor spacing in cm
D=500; //phase to phase spacing in cm
E0=30*delta*(1+(0.3/sqrt(delta*r)));//corona onset field in kVpeak/cm
printf("corona onset fiel... |
91de7be87656bb4bcf28158ea8b71305780e8254 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH1/EX1.34/Exa_1_34.sce | c8e2ef158c10a30804f36d91e9df522a6b8313e4 | [] | 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 | 441 | sce | Exa_1_34.sce | //Exa 1.34
clc;
clear;
close;
format('v',9);
//Given Data :
m=1;//Kg
v=1;//m^3
T=127+273;//K
a=138;//KNm^4/(Kgmol)^2
a=a*10^3;//Nm^4/(Kgmol)^2
M_O2=32;//
vm=v*M_O2;//m^3/Kgmol
//p*v=n*R*T
n=1;
R=8314.3;//gas constant
p=n*R*T/vm;//N/m^2
disp(p,"Pressure using perfect gas equation in N/m^2 : ");
//[p+... |
c957e8c6f664d11b305ea264c4a1a0246c176ba7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH5/EX5.6/exa5_6.sce | ca6526fe2c4045217081e4e8942463d45f79c1d1 | [] | 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 | 638 | sce | exa5_6.sce | //Example 5.6
// DC Steady-state Analysis
// Under DC steady-state means inductor acts as a short circuit while the
// Capacitor acts as an open circuit
//Form figure 5.17(b)
i_l=30/(20+40);// Ohm's Law
v_c= (40*30)/(20+40); // Voltage divider relationship
//Energy stored in capacitor
w_c=0.5*(5*10^-6)*400;
/... |
ae9b6e517644fde11f858e5d932d8d6bfff9b61a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH1/EX1.8/ex_8.sce | 43bbb56d43330107371407130464202737b3391a | [] | 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 | 228 | sce | ex_8.sce | //Example 8 // Period of motion
clc;
clear;
close;
//given data :
x=0.16;// in m
m1=4;// in kg
g=9.8;
K=m1*g/x;
m=0.50;// in kg
T=2*%pi*sqrt(m/K);//
disp(T,"The period of motion ,T(seconds) = ")
// answer is wrong in textbook
|
9b1267878a5f6c56a0f90c186dbb99f67d9ebca1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH12/EX12.11/Ex12_11.sce | b31b69e24f61796d53483dfbe58363f6d00420c4 | [] | 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 | 220 | sce | Ex12_11.sce | //EX12_11 Pg-12.30
clc
clear
Ptotal=10;//radiated power in kW when the carrier is modulated
m=0.75;//modulation index
Pc=Ptotal/(1+m^2/2)//since Ptotal=Pc*sqrt(1+m^2/2)
printf("\n carrier power Pc=%.1f kW \n",Pc)
|
15bd44f554e09cc2a040c1e6a20bae42ab54c671 | ed015189fc1a897f56b6b9fd5306c09f1f3e27dd | /coba.tst | a1e0246847e6ac9ce2f46c115f81722c96b67298 | [] | no_license | rival773845/praktikum | 18b15c604d3d6c7d81cd25772721bd8bb4182c37 | 2700a0f7b52e1462d84d124cf5ae4ed725581d90 | refs/heads/master | 2020-07-25T07:21:00.366356 | 2019-09-20T03:40:02 | 2019-09-20T03:40:02 | 208,212,266 | 0 | 0 | null | 2019-09-20T03:40:03 | 2019-09-13T06:58:06 | Scilab | UTF-8 | Scilab | false | false | 30 | tst | coba.tst | <html>
<head
</head>
</html>
|
80656895b7fbeabc33d8977ba27644c0669439cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH1/EX1.9/ex1_9.sce | ea281fc9d14dc3ad62a1bfd28ff334c35e35c030 | [] | 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,350 | sce | ex1_9.sce | // Exa 1.9
clc;
clear;
close;
format('v',6)
// Given data
R1= 30;// in ohm
R2= 40;// in ohm
R3= 20;// in ohm
R4= 60;// in ohm
R5= 50;// in ohm
V= 240;// in V
//Applying KVL in ABDA : I1*-(R1+R2+R3) + R2*I2+R3*I3 =0 (i)
//Applying KVL in BCDB : I1*R2+I2*-(R2+R4+R5)+I3*R5 = 0 ... |
f703ce516db0a5c05cb01ee4c0aafd1f69265a68 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_ods_fsed_2_h.tst | 6272b6bc35fb08bc79a2926ca410bcf290561092 | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 1,779 | tst | test_ods_fsed_2_h.tst | folder_add 111
cd 111
folder_add 222
cd 222
folder_add 333
cd /
file_move aaa 111
file_move bbb 111
file_move ccc 111
file_move ddd 111/222
file_move eee 111/222
file_move fff 111/222
file_move ggg 111/222/333
file_move hhh 111/222/333
file_move iii 111/222/333
branch objects
111/
111/222/
111/222/333/
111/222/333/ggg*... |
fc082e42a04ea804b9bc1d11f538784f4ceecd99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH1/EX1.8/1_8.sce | 667c4059ce8c2a419693c22da4d8d68ebae0fb8f | [] | 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 | 1_8.sce | clear;
clc;
R=65;L=1.6*(10^-3);C=.1*(10^-6);G=2.25*(10^-6);f=800;
w=5000;
Z=R+round(%i*w*L);
Y=G+%i*w*C;
Zo=sqrt(Z/Y);
printf('-Characteristic impedance is Zo = %f /_%f ohms\n',(abs(Zo)),(((atan(imag(Zo),real(Zo))*180/%pi))));
|
5411bbbc570650b7b10cf94ee5d57a6a963d5464 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436.zip/Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436/CH2/EX2.12/ex2_12.sce | 80146bab2fca80f3c9dfae61c32c743eeee95d87 | [] | 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 | 181 | sce | ex2_12.sce | errcatch(-1,"stop");mode(2);// Example 2.12, page no-122
p1=10^-2
h1=20
K=p1/h1^2
p2=K*30^2
p2=p2*100
printf("The unknown pressure p2 = %.2f * 10^-2 torr",p2)
exit();
|
4521cd7a736140f1e769918545f47bd832569d6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH6/EX6.6/ex6_6.sce | 2466eb4d0ca2a21146d48aa5c77ad51c4579d9e6 | [] | 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 | 182 | sce | ex6_6.sce | //Page Number: 333
//Example 6.6
clc;
//Given
I0=0.95; //A
V0=7D+3; //V
Z0=20; //ohm
N=20;
C=((I0*Z0)/(4*V0))^(1/3);
//Gain
Ap=-9.54+(47.3*C*N);
disp('dB',Ap,'Gain:');
|
ec4a3d414fba03b89a6320a29229cf9b2f9e2e93 | 364fc2bac23ae5482a18e5e9392ff63e68642dae | /Annales/2016_exo3.sci | a65b0c9e0f9101d5f5987344548ad33f6a34e216 | [] | no_license | Raphael-De-Wang/2M310TP | 259e55e9dc931b0a0102ed7a5dbbb31e82b88295 | af21ffee07fadeb5b27c5f30d0deb1926972ccee | refs/heads/master | 2021-01-11T14:14:21.447623 | 2017-03-29T20:27:35 | 2017-03-29T20:27:35 | 81,227,258 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 728 | sci | 2016_exo3.sci | exec 2016_exo2.sci
// Q1.
function Xheun = Heun(a,x0,T,p)
// x(n+1) = x(n) + (h/2)*(2*a + h*a^2)*x(n)
hp = T/p;
Xheun = [x0];
for k = (2:p+1),
Xheun(k) = Xheun(k-1) + (hp/2) * (2*a + hp * a .^ 2) * Xheun(k-1);
end
endfunction
// Q2.
Xheun50 = Heun(a,x0,T,p=50);
Xheun200 = Heun(a,x0,T,p=200... |
eeab312b1a103a25c8bcf4c340b5feb135cf82b2 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH9/EX9.5/EX9_5.sce | c87673d1b9c94cf9dfa9b458e1af88ace2111930 | [] | 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 | 641 | sce | EX9_5.sce | clc;funcprot(0);//Example 9.5
//Initilisation of Variables
T=3000;....//Temparature of filament in a bulb in K
L1=0.4*10^-6;....//First Visible range of Wavelength in Mew m
L2=0.7*10^-6;....//Last Visible range of Wavelength in Mew m
R=5.67*10^-8;.....//Stefens boltsman constant
//calculations
L1T=L1*T;....//
... |
42fc81079b288a380e94bd80cbc5b3a7c5715311 | 5db583d40c20aa406790f7a8c381455186d74544 | /data/local refinement-- new algorithm/1.sce | 62c0ca4653faf543c40a4091eb81a1c11e506843 | [] | no_license | kaiwangntu/kw-phd-thesis | a6e80dab87d04a3f67526a8e597cb8e81a6a3911 | 456da1c5e8a44ef702675cadd90ec9a4f1a33e7f | refs/heads/master | 2021-06-03T18:52:57.236319 | 2013-04-23T01:17:42 | 2013-04-23T01:17:42 | 40,125,552 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 627 | sce | 1.sce | #light position
0.000000 0.000000 1.000000 0.000000
#arball transformation
0.804307 0.147733 0.575663 0.000000 -0.593149 0.138834 0.793109 0.000000 0.037245 -0.979297 0.199280 0.000000 0.000000 0.000000 0.000000 1.000000
#translation parameter
0.170000 0.840000 -2.850000
#viewport
0 0 1152 678
#modelview
0.8... |
8e758498a5860e360a04587a474dbe907115b72b | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH9/EX9.6/9_6.sce | 1bed4ae21d49215020c732fd1ec4f29a2ccc331d | [] | 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 | 291 | sce | 9_6.sce | clear; clc; close;
Pi = 10*10^(3);
Po = 500;
Vi = 1000;
Ro = 20;
Gdb = 10*log10(Po/Pi);
Gv = 20*log10(sqrt(Po*Ro)/Vi);
Ri = Vi^2/Pi;
disp(Gdb,'Power gain in decibels = ');
disp(Gv,'Voltage gain in decibels = ');
disp(Ri,'Ri(ohms) is ');
disp('which is not equal to Ro');
|
cfe56249f547e30c37fb9e80b4f89c4d422a31f6 | 5f838df28ada5a3bbd5be4c69902b9df4dbffacb | /bilinear_transform.sci | 439a13a0d0edd316fc207cb6a1ec9c824c9adbd1 | [] | no_license | Sai-Sumedh/filter_design_180070024 | dca29c7b95cb43421e1577af3673f29df3a83251 | c8348c85b515e9d987404c335f52150933512405 | refs/heads/main | 2023-01-14T05:11:25.601573 | 2020-11-12T18:44:36 | 2020-11-12T18:44:36 | 312,361,627 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,137 | sci | bilinear_transform.sci | // take as input the normalized discrete time specs
// give out the analog frequency specifications
function [analog_specs]=bilinear_transform_wtoW(critical_w)
analog_specs = tan(0.5*critical_w);
endfunction
// for testing the function
//criticalw1 =[1.3099489, 1.3861088, 1.7669079, 1.8430677];
//cri... |
d792232221c52a5a8f681acb21b72c07b3676bdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH11/EX11.13/Example11_13.sce | d1bcb4c0a97806c03349b742b90b271d9439bb30 | [] | 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 | 664 | sce | Example11_13.sce | //Exa 11.13
clc;
clear;
close;
//Given data :
Vs=66;//kV
r=0.5;//cm
g1max=50;//kV/cm
g2max=40;//kV/cm
g3max=30;//kV/cm
epsilon_r1=4;//relative permitivity
epsilon_r2=4;//relative permitivity
epsilon_r3=2.5;//relative permitivity
//Q=2*%pi*epsilon0*epsilon_r1*r*g1max=2*%pi*epsilon0*epsilon_r2*r*g2max=2*%pi*... |
24f668b32f6648aff6faf1ac26b5bab2d62532bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH12/EX12.4.2/Ex12_4_2.sce | 247b79e3fc73225c48445ba4a22aed455c7cf8da | [] | 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 | 526 | sce | Ex12_4_2.sce | //Fiber Optics Communication Technology, by Djafer K. Mynbaev and Lovell L.scheiner
//Windows 8
//Scilab version- 6.0.0
//Example 12.4.2
clc;
clear ;
//given
w1=10.5E-6;//MFD of transmission fibre in m
lambda=1550E-9;//operating wavelength in m
w2=5.3E-6;//assumed average MFD of Pirelli EDF-PAX-01 Fiber in m... |
c0f1db7cc0763330fc0f189322b959454079e6f1 | c0c48c5a363ac2c0bf21e72833d72a99771dc6ce | /Simulation_Codes/lab10_18i190002/ex2a.sce | 182ac4cc8f4e22c4a470e83b7309985f04df5cce | [] | no_license | shubham1166/Operarions_Research_Projects | 3b6664b83d89b2a005b5194489bfd0d95cafe3d8 | 8f28eea93d9e4ff3d6a8e95160c3f9464ce2fc34 | refs/heads/main | 2023-03-14T02:48:42.359247 | 2021-03-03T05:51:28 | 2021-03-03T05:51:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | ex2a.sce | clc,clear,clf
function twodrand(n)
for i=1:n
x(i)=rand()
y(i)=rand()
end
scatter(x,y,xlabel('---x-->'),ylabel('---y --->'))
endfunction
subplot(2,2,1)
twodrand(100)
title('When n=100')
subplot(2,2,2)
twodrand(1000)
title('When n=1000')
subplot(2,2,3)
twodrand(1000000)
title('When n=100000... |
59a8c3826b68aa8515a611fac4a1472d8d8f0934 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/init.SCI | cbd42d021a48f74b37188cabd5d42737f107b2b4 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 759 | sci | init.SCI |
store("test","42");
resetall;
displayname="\\.\DISPLAY1";
tpe=1;
createvar(vp);
if tpe==1 then {
root.rendertype=RenderSingle;
root.vsync=2;
root.framerate=1400;
vp=addviewport(0,0,1,1,displayname,displayname);
}
if tpe==2 then {
root.rendertype=RenderDual;
root.vsync=0;
vp=addviewport(0.003... |
0dfae801bc2acfd2c21d97d26e48cb8ac74294e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH11/EX11.6/11_6.sce | bcd7b654aa4f8eef840f0300c7d221cdfb16c76a | [] | 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 | 538 | sce | 11_6.sce | clear all; clc;
disp("Ex 11_6")
//From the potential function analysis and te equilibrium analysis
m=69.14/10.58
printf('\n\n m = %0.2f kg',m)
//Second derivative of V w.r.t. theta at m=6.53 kg and theta=20 degrees is:
theta=20*%pi/180
a=(-73.6*sin(theta))-((m*9.81*-1*(-3.6*cos(theta))^2)/(2*2*(3.69-(3.6*sin(theta)))^(... |
8d88a45a41066c387ac413939bfe0163157d3261 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH6/EX6.1/Ch06Ex1.sce | 89f104e607823b34a6e0779b2cb474a7a2120b77 | [] | 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 | 722 | sce | Ch06Ex1.sce | // Scilab Code Ex6.1: Page-369 (2011)
clc;clear;
i = 2e-003;....// Current through X-ray tube, A
e = 1.6e-019;....// Charge on an electron, C
V = 12.4e+003;....// Potential difference applied across X-ray tube, V
m0 = 9.1e-031;....// Rest mass of the electron, Kg
n = i/e; // Number of electrons striking the... |
b33a86b7ec99428d4030dbd8b6b1e965d8d4b002 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH40/EX40.10/40_10.sce | b9404c8c72c55de2f31fc7d7f0a5480815a4d086 | [] | 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 | 840 | sce | 40_10.sce | //Problem 40.10: A single-phase circuit is composed of two parallel conductors, each of radius 4 mm, spaced 1.2 m apart in air. The p.d. between the conductors at a frequency of 50 Hz is 15 kV. Determine, for a 1 km length of line, (a) the capacitance of the conductors, (b) the value of charge carried by each conductor... |
c35e682ea8992f81d225130c9e14e5b68a2d02a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH3/EX3.14/ex3_14.sce | daf52d6faf90fecd4e6683462ef7d0008067afc9 | [] | 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 | 601 | sce | ex3_14.sce | //Exam:3.14
clc;
clear;
close;
a=3.03*10^(-7);//lattice constant(in mm)
N_100=1/(a^2);//Number of atoms in the (100) plane of a simple cubic structure
N_110=0.707/(a^2);//Number of atoms in the (110) plane of a simple cubic structure
N_111=0.58/(a^2);//Number of atoms in the (111) plane of a simple cubic structu... |
415b26de24dff3daf1a8db565e23a550fab624e0 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.7_4.tst | b0f52c62dd100fdf76c4e49cbc62767fb7c61009 | [] | 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 | 509,527 | tst | 5.7_4.tst | 7 314:1 370:1 523:1 1203:1 1485:1 1666:1 1856:1 1986:1 2210:1 2238:1 2268:1 2365:1 2371:1 2506:1 2737:1 2827:1 2912:1 2929:1 3072:2 3422:1 3501:1 3947:1 4288:1 4478:1 4840:1 5078:1 5235:1 5254:1 5256:1 5618:1 6297:1 6679:1 6704:1 6966:2 7432:1 8024:1 8104:1 8131:2 8608:1 8636:1 8659:2 9155:1 9352:1 9405:2 9416:1 10169:... |
4e8f1be8eb06faaf510e7f9083c7f04409c11ad6 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /ManipulationPlanner/SCENARIO/ManipulationPr2IkeaTop.sce | 88fb6633dd8bc14169304d542f26fa327803b72c | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 27,904 | sce | ManipulationPr2IkeaTop.sce | #************************************************************
# Scenario of grande_salle
#
# date : Mon Nov 7 23:07:32 2011
#************************************************************
p3d_sel_desc_name P3D_ENV grande_salle
p3d_sel_desc_name P3D_ROBOT MOVING_BOX
p3d_set_robot_steering_method Linear
p3d_set_robo... |
a179e0f9741d84a6e112ea59749dc6bcc92d4e9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH11/EX11.9/ex_11_9.sce | 2ed8b2b164fb01369775149858cda8069cf2684d | [] | 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 | 839 | sce | ex_11_9.sce | //find size of bolt required
clc
//soltuion
//given
D=300//mm
p=1.5//N/mm^2
n=8
fy=330//N/mm^2
fe=240//n/mm^2
//P1=1.5*P2
Fs=2
K=0.5
pi=3.14
P2=(pi/4)*D^2*p//N
P1=1.5*P2//N
Pmax=P1+K*P2//N
printf("the max force on head is,%f N\n",Pmax)
Pmax1=Pmax/n//N//load on each bolt
Pmin=P1/n//N
Pm=(Pmin+Pmax1)/... |
98fb3fffb9e10b7f0b94e2554e3e35eae1b92dcb | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1.1/Unix/scilab-2.1.1/macros/util/c_link.sci | 8a2f49934b54c15fd9194ac8872568a0080347dd | [
"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 | 437 | sci | c_link.sci | function [rep]=c_link(name)
// check if 'name' is already linked
//
rep=%f;
if type(name)<>10 then
error("c_link : name must be a string");
return
end
tablnk=link();
if prod(size(tablnk))=0 then rep=%f ;return;end
nn=length(tablnk(1))-length(name);
bb=' '; for i=1:(nn-1);bb=bb+ ' ';end
namep=name+bb
tablnk=[... |
4b08e980c7c61f91ec1d86c49ee0303cb6231d75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH1/EX1.33/1Ex33.sce | 45318111f3a7875bd6ea1a7278454d4276962fd7 | [] | 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 | 203 | sce | 1Ex33.sce | //chapter 1 Ex 33
clc;
clear;
close;
//The given series is in geometric progression
a1=2; a2=2^2; n=10;
r=a2/a1;
Sum=a1*(r^n-1)/(r-1); //formula for GP
printf("The required sum is %d",Sum);
|
e94d89280aa849a0c35351fe383adbf9c7855627 | 6b778fe7ce057aaef2abb8bcf50d716047b597b0 | /test/issue228.tst | 6adc8a231336e0aa7bcbf84787152de4ca1572b9 | [
"Apache-2.0"
] | permissive | grobian/carbon-c-relay | a9cfa93e51afca31df8fbb3f0115e4678e0502ca | 741937387d08e877d3c28583a7c453c99bf506f1 | refs/heads/master | 2023-07-04T23:29:37.333774 | 2023-01-26T15:27:39 | 2023-01-26T15:27:39 | 15,357,351 | 368 | 132 | Apache-2.0 | 2022-09-16T07:03:46 | 2013-12-21T10:33:29 | C | UTF-8 | Scilab | false | false | 75 | tst | issue228.tst | foo.bar this wrong
foo.bar 42 42
foo.bar 4.2 4.2
blah 4.2 4.2
blah 42 42
|
a729a93457d4dc52bdcf16889db746a0bc434b4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH14/EX14.3/Ex14_3.sce | ff31e944addb6199377c6bea5e8c36bd3e198fe2 | [] | 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 | 687 | sce | Ex14_3.sce | //Ex14_3
clc
VREF=-10
disp("VREF= "+string(VREF)+" V") // Reference voltage
RF=5*10^(3)
disp("RF= "+string(RF)+ " ohm") //Feedback resistance
R=10*10^(3)
disp("R= "+string(R)+ " ohm") // resistance
vLSB=(-RF*VREF)/(8*R)// Since IF=I/8,so vLSB=(-RF*IF)=(-RF*I/8)=(-RF*VREF/8*R)
disp("vLSB=(-RF*VREF)/(8*R)="+st... |
02b3ee1523f53ba4781517bf5103f35d4cc398dc | ca1417111d678336ecbd04c8fd928a283a5165e6 | /commandes.sce | 774dcb43cab479dafcaa4f1427480aa331a2fd25 | [] | no_license | Vayel/IMAG-TPLaTeX | 3ddaf14eda8673de7125574ffa4a43b3b5ec9163 | b565da1501169c8f6836d0b793f744e0037783f7 | refs/heads/master | 2021-01-10T15:25:43.030008 | 2015-11-19T11:31:29 | 2015-11-19T11:31:29 | 46,116,927 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,360 | sce | commandes.sce | // Mini stage Scilab/LaTeX
// Guyot - Lefoulon
// Question 1
// help spec
id = eye(3, 3)
// -----------
// Question 2
// -----------
A = [
1, 0, 3, 1
1, 2, 0, 1
0, 1, 3, 0
]
size(A)
first_line = A(1,:)
last_col = A(:,$)
l2_c3 = A(2, 3)
diago = diag(A)
trian_sup = triu(A)
trian_inf = tril(A)
// ----------... |
437e0b07085f823aa9e40270b3cedc6362a4eba6 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testgoodanim.sce | 20310384ee03e6495424da80335784dbf9e25aa5 | [] | 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 | 495 | sce | testgoodanim.sce | clf;
z=[0:0.01:2*%pi]; // to plot the trajectory
for t=0:0.01:1 // loop to increment the time
// compute the new position
x=cos(2*%pi*t); // x-coordinate
y=sin(2*%pi*t); // y-coordinate
drawlater()
clf; // parameterize the graphics window
A=gca();A.data_bounds=[-1.2,-1.2;1.2,1.2];A.isoview="o... |
2bde9c72e5f8555cba0bdcd4a2ebdd1f3c6f6b3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH5/EX5.5/5_5.sce | 523f35dd9928303c7fc402460c0f6f5678677d13 | [] | 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 | 5_5.sce | //cubic spline
//example 5.5
//page 191
clc;clear;close;
x=[1 2 3];
y=[6 18 42];
m0=40;
m1=(3*(y(3)-y(1))-m0)/4;
X=poly(0,'X');
s1=m0*((x(2)-X)^2)*(X-x(1))-m1*((X-x(1))^2)*(x(2)-X)+y(1)*((x(2)-X)^2)*[2*(X-x(1))+1]+y(2)*((X-x(1))^2)*[2*(x(2)-X)+1];
disp(s1,'s1=');
|
af0420f84afb68c9d1b505ee0158654d1c56580e | 7c8f8373b8f5e06d3ebe218c8485afadb95cf70f | /scilab/silnia.sci | 05b7dd774441b212f734461b7c19f8330e5236fa | [] | no_license | invalidCorgi/polibuda | 432b41e3ebbd169812017f0fd462b59f428b9516 | 4a4cd16efee42e010140bd991fbd5cf034955507 | refs/heads/master | 2021-09-24T11:50:05.097437 | 2018-10-09T11:12:10 | 2018-10-09T11:12:10 | 119,171,250 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sci | silnia.sci | function N = silnia(n)
N=1
while (modulo(n,1)<>0) | (n<1)
n=input("Podaj n:")
end
while(n>=2)
N=N*n
n=n-1
end
endfunction
|
4555ed8e8d04597e59fc74117e5cba0cf1a44651 | c67157a12058b6af9250654154c4cd14b7c0ece5 | /Documents/Lagrange.sce | 5154344415f825e6a4361fe4456bfb46f59108a2 | [
"Apache-2.0"
] | permissive | PeterPirog/PRT_calculations | 70c77dc52bb8f80ff952bd60e77578f9db88efb8 | 7e1e72173700fbfd624a67c7b6984256de878f42 | refs/heads/master | 2021-04-20T14:58:22.359411 | 2021-04-14T12:55:40 | 2021-04-14T12:55:40 | 249,693,308 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 695 | sce | Lagrange.sce |
function y = lagrange_interp(x,data)
for i = 1:length(x)
y(i) = P(x(i),data);
end
endfunction
function y = P(x,data)
n = size(data,1);
xi = data(:,1);
yi = data(:,2);
L = cprod_e(xi,x) ./ cprod_i(xi);
y = yi' * L;
endfunction
function y = cprod_e(x,a)
... |
aa12dea154cf97ddd3829bfbc4a2debc56a5c3b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH4/EX4.4/exa4_4.sce | fd67501b3e7e507c8057edd895f9dc0be2f885ea | [] | 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,102 | sce | exa4_4.sce | clc;
//Example 4.4
//Page no 128
Vc=10; //Vp
m=1;
Rl=10;
m1=0.5;
//(a)
disp("(a)The carrier power is found by substituting into equation 4-18 (pgno 126): ");
Pc=((Rl^2)/(2*Rl));
disp('W',Pc,"Pc = ");
disp("The upper and lower sideband power is found by substituting into equation 4-21 (pgno 127):");
P=(((m^2)*Pc)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.