blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
305d1f4b15033a8b1059d406385b14793012f97d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH18/EX18.13/ex18_13.sce | b218be605b24d87b9625629369b6bcfc815456e4 | [] | 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 | 184 | sce | ex18_13.sce | // Example 18.13, page no-467
clear
clc
c=2*10^-6//F
v=1000//V
epsr=100
E=(c*v^2)/2
c0=c/epsr
e2=(c0*v^2)/2
E1=E-e2
printf("The energy stored in dielectric is %.2f J",E1)
|
6a2f1f5f41a5a1b9378a7c219abace70f412294f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH16/EX16.1/16_1.sce | a4883eb81fc3a87c5f06900654816b7ceea9a70d | [] | 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 | 874 | sce | 16_1.sce | //Example 16.1
//Outline of Linear Shooting Method
//Page no. 572
clc;close;clear;
deff('y=f(x)','y=x^2');
h=0.5;X0=0;Y0=1;Z1=[-1,-1.5,-1.1771];i=1;Y1=Y0;
for j=1:3
Z0=Z1(i);
i=i+1
Y0=1;
for n=1:2
printf('\nFor n = %i\n---------------------------\n',n-1)
K1(1)=h*Z0;
... |
646ed474b5930ce3451600afed6676722f813351 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH11/EX11.38/example11_38.sce | 7bffdb746dd6dc06b0aefd1bf5fba95a8abd63a1 | [] | 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 | 390 | sce | example11_38.sce | clc
// Given that
E = 5.4e6 // energy liberates during dynamite explosion in J/kg
c = 3e8 // velocity of photon in meter/sec
// Sample Problem 38 on page no. 11.32
printf("\n # PROBLEM 38 # \n")
printf(" Standard formula used \n")
printf(" E = m*c^2 \n ")
E_ = 1 * c^2 // energy liberated by 1 kg content in J
f = E / E... |
947f048e40451dba4708a1079c70914b711ee67d | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/tf2sos.sci | 7570707c3968dafdfdc2cf13731435af97e76e5f | [] | 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 | 1,138 | sci | tf2sos.sci | function [sos,varargout] = tf2sos (b, a)
//This function converts direct-form filter coefficients to series second-order sections.
//Calling Sequence
//[sos] = tf2sos (b, a)
//[sos, g] = tf2sos (b, a)
//Parameters
//b: matrix of real numbers
//a: matrix of real numbers
//Description
//This is an Octave function.
//Th... |
9d7727bb6896e06e748dd1591c806c6df1c430b4 | cd362dde5925d66e0901d144e940cf4f06135ee2 | /projects/04/mult/MultTime.tst | 6ce7fbabbaadadaa189b9a13a0de24dd04d31949 | [] | no_license | kyungyunlee/nand2tetris-2017KAIST | 189e0f8490fc4ec190968367228c0598016d5483 | 14b12377d63dc8975638afde547d2afcac1ae705 | refs/heads/master | 2021-08-30T06:59:42.416451 | 2017-12-16T15:37:16 | 2017-12-16T15:38:29 | 114,363,307 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 918 | tst | MultTime.tst | // Measure running time of Mult.asm
load Mult.asm,
output-file MultTime.out,
output-list RAM[0]%D2.6.2 RAM[1]%D2.6.2 RAM[2]%D2.6.2 time%S1.5.1;
set RAM[0] 2,
set RAM[1] 3,
set RAM[2] -1;
while RAM[2] <> 6 {
ticktock;
}
output;
set PC 0,
set RAM[0] 17,
set RAM[1] 123,
set RAM[2] -1;
while RAM[2] <... |
e03b2cbbb4b397522096c156f0bb770ed06bd944 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /xcos_blocks/sftreg.sci | f853b93519bb4291e35a72b0e2c2e3e28308b6e6 | [] | 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 | 1,742 | sci | sftreg.sci | function [x,y,typ]=sftreg(job,arg1,arg2)
// Copyright INRIA
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then //** GET INPUTS
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case ... |
484f0e0ab126be2cc07d876513950ef5032079b8 | 6c7a728e11a427c93b15669517131a79a0703108 | /api/pdb_root/install/scripts/test_pdb/open_pdbs.tst | 8af638e4be4ab235ef67bc96a333e0a631b2cbd3 | [] | no_license | ZVlad1980/adm_scripts | 0b9fe4ff166213dc649d555c81e8d65b858074e4 | 9978a098c8140f5722b51e799969b76e2d68b42e | refs/heads/master | 2020-03-31T08:45:49.405822 | 2019-04-30T05:04:03 | 2019-04-30T05:04:03 | 152,071,490 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 756 | tst | open_pdbs.tst | PL/SQL Developer Test script 3.0
20
-- Created on 30.06.2018 by V.ZHURAVOV
declare
-- Local variables here
i integer;
begin
-- Test statements here
pdb_pub.unfreeze_(p_pdb_name => 'DEV_CLONE');
pdb_pub.unfreeze_(p_pdb_name => 'DEV');
pdb_pub.unfreeze_(p_pdb_name => 'WEEKLY_NODE');
pdb_pub.open_ro_(p_... |
c0ddcc881edba1d6cae865aa142f92fd80f47b49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH5/EX5.48/EXAMPLE5_48.SCE | df861df9fa03e3c4889cd7fdd52d07bf9594082b | [] | 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 | EXAMPLE5_48.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 5
//ANGLE MODULATION
clear all;
clc;
printf("EXAMPLE 5.48(PAGENO 264)");
//given
delta_f = 75*10^3//frequency deviation
f_M = 15*10^3//modulating frequency
//calculations
//we have w_m = 2*%pi*f_M where f_M = 15KHz,we get
D = delta_f/f_M... |
cf4ba3427303ba4859558abd6f46005d8df511fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH7/EX7.16/Ex7_16.sce | 9ed227d8228ca8509c16f48da86cbbd49cd51776 | [] | 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 | 988 | sce | Ex7_16.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 7 Example 16")
To=(17+273);//temperature of surrounding in K
T1=(700+273);//temperature of high temperature reservoir in K
T2=(30+273);//temperature of low tempe... |
fdcc52f71c8d0c7b112d3f6459e7f0166bba7136 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH4/EX4.15/Example4_15.sce | 2c3b5eebcd24189cee7df731879e1c3392ebf570 | [] | 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 | 721 | sce | Example4_15.sce | //Example 4.15.
clc
format(6)
disp("For a Wien bridge oscillator,")
disp(" f = 1 / 2*pi*R*C")
fm=(1/(2*%pi*(100*10^3)*(50*10^-12)))*10^-3 // in kHz
disp(fm,"Therefore, f_max(in kHz) =")
fmi=(1/(2*%pi*(100*10^3)*(500*10^-12)))*10^-3
disp(fmi,"and f_min(in kHz) =")
fn=31.83+50
disp(fn,"Now f_new(in kHz) = ... |
e8cb5b424c97e26a0570ca35438f3f046606b521 | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_VecFunc/min_max.sce | fd338ee55befabb16907ee314ca62e6aed00c8d1 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | sce | min_max.sce | // Function Name: min/max
// Return min/max value
// Calculating the min/max
inputvec1 = [1, 2, 3];
result = armaVec("min",inputvec1)
result = armaVec("max",inputvec1)
|
7cbaeaec8a126799028322afa9ba168779a1bca9 | eec3a6e2cd91307fd7a55b7fc83bb86b35f86a6c | /BetaAngle.sce | 11387830d8390629897fa085adcbc3cb552bc28f | [] | no_license | Matthieu-71/PowerSubsystemSimulation | d1a5171ff763ca42db9d701f893d3ab257a1b882 | cdcff61d4a11509f5d9023fb295af6b8092a3c66 | refs/heads/master | 2020-03-16T23:33:28.836945 | 2018-05-24T00:10:57 | 2018-05-24T00:10:57 | 133,082,402 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,359 | sce | BetaAngle.sce | //Attitude Definition and Beta Angle
// Authours: Matthieu D. Jessie A. Arvin T.
clear; clc; clf; // Remove at implementation
function [outx, outy, outz] = xRot(vec,theta)
R1 = [1,0,0;0,cos(theta),sin(theta);0,-sin(theta),cos(theta)];
out = vec*R1;
outx = out(1);
outy = out(2);
outz = out(3);
endfunction
fu... |
ec313cb547671b45c3ccb1fc2fbdecdc3b17321d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2309/CH4/EX4.a.8/A_Ex4_8.sce | a62841469bbab00b87e848e31289eab0b34caca2 | [] | 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 | 891 | sce | A_Ex4_8.sce | // Chapter 4 Additional Example 8
//==============================================================================
clc;
clear;
// input data
h = 6.625*10^-34 // plancks constant
m = 9.11*10^-31 // mass of electron in Kg
c = 3*10^8; // velocity of light in m/s
// Calcu... |
04cd249950f666b140666dd44a1f5c53f8ca2da9 | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/cmd/test/sstest.tst | 9f64aed3cb8f1b165996f1b8e6e7f133339b9bd9 | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 2,952 | tst | sstest.tst | # Depeopanizer test (from old Hysim manual)
units Field
$thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + Methane Ethane PROPANE
thermo + ISOBUTANE n-BUTANE ISOPENTANE n-PENTANE n-Hexane
thermo + n-Heptane n-Octane
deprop = Tower.Tower()
deprop.Stage_0 + 9 # eleven stages`
cd deprop.Stage_0
... |
a5ffaa024534717d19abee84f8b61adc1c0307c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH4/EX4.3/Ex4_3.sce | ed1cc4772fba13fe6eafaf4437f00c67f4c448d7 | [] | 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 | 448 | sce | Ex4_3.sce | N=32
Rkm=1.6
Acell=(3*sqrt(3)/2)*(Rkm^2)
TA=N*Acell//total service area
Tc=336
n=7
Ncpc=Tc/n//number of channels per cell
TSC=Ncpc*N//total sysytem capacity
N1=128
Ahex=TA/N1
R=sqrt(Ahex/(1.5*sqrt(2)))
NCap=Ncpc*N1
disp(TA,'total service area in kmsqr')
disp(Ncpc,'number of channels per cell')
disp(TSC,'total sysytem c... |
216aa87daeae8e8a6b56b5ad06bcddacaf7aea89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH5/EX5.3/3.sce | 69f4defb4ec06739175d6dcc5e95c0ec96113e02 | [] | 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 | 420 | sce | 3.sce | //Variable declaration
A=360*10**-4; //area(m**2)
V=15; //voltage(V)
C=6*10**-6; //capacitance(farad)
epsilonr=8;
epsilon0=8.84*10**-12;
//Calculation
E=V*C/(epsilon0*epsilonr*A); //field strength(V/m)
dm=epsilon0*(epsilonr-1)*V*A; //total dipole moment(Cm)
//Result
printf('field strength... |
9881603c5d21975d8bfb7b7f8cac547054dffbe9 | 23573b967e8324d44226379d70559b8f0ea34905 | /code/intqpipopt/intqpipoptExample2.sce | c10e04996f8b904587042258c49851e680ccb8f9 | [] | 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 | 1,767 | sce | intqpipoptExample2.sce | //Reference: K. Deep et al.,"A real coded genetic algorithm for solving integer and mixed integer optimization problems", Applied Mathematics and Computation, 212, p 505-518,2009
//=====================================================================
// Copyright (C) 2018 - IIT Bombay - FOSSEE
// This file must be used... |
1ace90db85c8c0429b6b959d211c5bda59c382cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH2/EX2.11/Example211.sce | c4b754b594f66a126f2ca6d7dd8a1fc89496261f | [] | 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 | 862 | sce | Example211.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 2, Example 11")
D2= 0.37;//in meters
N= 800;//in rpm
Q= 0.03;
Hgiven = 14;
disp("Impeller tip Speed U2 in m/s is :")
U2 = %pi *D2*N... |
378305808c9ac9bc22ad23bf476e8b986e210e29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH1/EX1.6/chapter1_6.sce | ed10ae758d05bee89fab94daf8aca25c4cb31d05 | [] | 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 | 427 | sce | chapter1_6.sce | //example1.6
clc
disp("The current distribution using KCL is as shown,")
disp("Key Point : KVL should not be applied to the loop consisting current source.")
disp("From branch DE,")
disp("(i1)=5+3(i2) ...(1)")
disp("Applying KVL to the loop BCDEFGB without current source,")
disp("-1*(5+3(i2))+5(i2)=0 ...(2)"... |
49ffacc7371789438f0056ce6b74ec59082f46c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH7/EX7.6/ex7_6.sce | 92a312e6caf05a56081c5745378add7f17955f78 | [] | 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 | 748 | sce | ex7_6.sce | // Exa 7.6
clc;
clear;
close;
format('v',6)
// Given data
V_DD = 40;// in V
Vt = 5;// in V
R_D= 820;// in ohm
I_Don = 3;// in mA
I_Don = I_Don * 10^-3;// in A
V_GSon = 10;// in V
K = I_Don/( (V_GSon-Vt)^2 );// in A/V^2
R2 = 18;// in Mohm
R2 = R2 * 10^6;// in ohm
R1 = 22;// in Mohm
R1 = R1 * 10^6;// in ... |
dd367cdfe08637bee91844226a8d3a5eec7547f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH18/EX18.8/ex_18_8.sce | 18f8210dc21db79e394f24311d0cb24c7c6c417c | [] | 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 | ex_18_8.sce | //find..
clc
//soltuion
//given
b=0.100//m
t=0.01//m
v=16.67//m/s
//T1-T2=1.8 *T2
f=1.6//N/mm^2
rho=1000//kg/m^3
//let T1 and T2 be tneion on tight and slag side
T=f*b*t*10^6//N//max tension
m=0.1*0.01*1000//kg/m
Tc=m*v^2//N
T1=T-Tc//N
T2=T1/2.8//N
P=(T1-T2)*v
printf("the power transmitted is,%f W\n",... |
372e4fc8f65853998a5dc76e31a68caa9b9191fa | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/CF9.prev.tst | 3657bf9c2dcb4583c07cf42a82075a545223fe99 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | tst | CF9.prev.tst | [8890182/851525, -158070671986249/15140424455100, 2810554085640119104818/269202257926180507925, -49972674684368648757690180001/4786514135549389701035839800]
|
08a4348df766ffe2b9dbb5447bfafcdb1005ce8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.9/Ex19_9.sce | e2ba6879061826c9c6ea1cbc9811f5d127090dea | [] | 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 | 534 | sce | Ex19_9.sce | //Ex19_9 Pg-960
clc
disp("Conversion of decimal number 31.65 base to its binary equivalent ")
a=31.65;
z=modulo(a,1)
x=floor(a);//separating the decimal from the integer part
b=0;
c=0;
d=0;
while(x>0) //taking integer part into a matrix and convert to equivalent binary
y=modulo(x,2);
b=b+(10^c)*y;
x=x/2;
x=floor(x);
c... |
fbbe1b0811a5f8bfce525f373369bb3edc77dc6a | 6b778fe7ce057aaef2abb8bcf50d716047b597b0 | /test/issue10.tst | 6327ad8257d16869d874073b98428b0834d98e70 | [
"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 | 156 | tst | issue10.tst | servers.cloud.int.foo42
bla.protocol_counter.foo
tcpconns.42-remote.foo
servers.cloud.int.foo.bar.apps.events.meh
foo.bar.whatever-average
abLaH
bFoO
|
b471fa97c596968193757856f8b34c6522152ecc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH12/EX12.3/Ch12Ex3.sce | 433a8395ea437532f29a73b83e997e31e4bc62cc | [] | 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 | 438 | sce | Ch12Ex3.sce | // Scilab code Ex12.3: Pg:467 (2008)
clc;clear;
n1 = 1.45; // Core refractive index of an fibre
d = 0.6; // Core diameter of fiber, m
NA = 0.16; // Numerical aperture of fiber
lambda_0 = 9e-007; // Wavelength of light, m
V = %pi*d*NA/lambda_0; // Normalized frequency (V-number)for the fiber
print... |
f81237eb7e5a04b9cc34cea73fe72c472210dec4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH3/EX3.48/3_48.sce | 28c8b0738b48e07727678a0d18ff1d89490fa5c3 | [] | 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 | sce | 3_48.sce | clc;
clear;
//Example 3.48
rho=960 //[kh/m^3]
mu=2.82*10^-4 //[kg/(m.s)]
k=0.68 //[W/(m.K)]
lambda=2255 //[kJ/kg]
lambda=lambda*10^3 //[J/kg]
Ts=373 //Saturation temperature of steam [K]
Tw=371 //[K]
dT=Ts-Tw //[K]
L=0.3 //Dimension [m]
g=9.81 //[m/s^2]
h=0.943*(rho^2*g*lambda*k^3/(L*mu*dT))^(1... |
58f2c14e1d2e2f28e1b5f0e4ba8dbfff9537375d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3814/CH6/EX6.2/Ex6_2.sce | 83caba6978e417673378dda5ca79d97685e3b5ca | [] | 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 | 854 | sce | Ex6_2.sce | // determine head and power output if angular velocity from fig2=
// ex 6.2 pgno.142
clc
r1=300 // mm inlet radius
r2=150 //mm outer radius
Q=0.05 // m3/s flow rate
a1=30 //degree inlet guide blade
a2=80// degree angle
v1=6 // m/s velocity
v2=3//m/s velocity
t=25 // angular velocity
n=0.9
n1=0.8
g=9.8 ... |
539056fb19d1dfa820b540590ff41ebb7c9d5adb | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH8/EX2.cs/Casestudy8_2.sce | 5279f4453ef1a2e57ca61e806d349c347b4b903b | [] | 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,722 | sce | Casestudy8_2.sce | // Csae study: Chapter-8, Page No:253
// 2.Processing of a customer list
CUSTOMERS=10;
printf(" Input names and telephone numbers\n");
printf(" [Names must have First,Second and Last_name]\n");
for i=1:CUSTOMERS
//Read data
[first_name(i),second_name(i),surname(i),... |
7aecaa603e340f4215f7411e5a8f7f355dfe4ca5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH7/EX7.7/Ex7_7.sce | 64f355e5556de2cdcdf4522f55dd84ed84fc27b6 | [] | 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 | 188 | sce | Ex7_7.sce | clc
//to calculate de Broglie wavelength
V=100 //potential difference in volts
lambda=12.25/sqrt(V)
disp("de Broglie wavelength of any electron is lambda="+string(lambda)+"angstrom")
|
1955f279b4ef366b5bc54f7be988166f6f86c518 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH4/EX4.1/Example4_1.sce | fb48f6782630ddb7ffe2a40e62c0a9e339bf0e6d | [] | 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 | Example4_1.sce | clc
//Given that
F = [2.5,4.5,-5] // F is a force vector act through origin
// sample Problem 1 Page No. 176
printf("\n\n\n # Problem 1 # \n")
F_magnitude = sqrt ( 2.5^2 + 4.5^2 + (-5)^2)
theta_x = (180 / %pi ) * acos ( 2.5 / F_magnitude)
theta_y = (180 / %pi ) * acos ( 4.5 / F_magnitude)
theta_z = (180 / %pi ... |
a55af4b28c274622ce592872278aca6b528d2ce0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH4/EX4.1/Example_4_1.sce | dddb9037a824002b802a7708823f2f87b952448a | [] | 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,207 | sce | Example_4_1.sce | //Caption: Completely Randomized Design
//Example4.1
//Page75
clear;
clc;
A1 = 23;
A2 = 34;
A3 = 45;
A4 = 34;
B1 = 30;
B2 = 20;
B3 = 30;
B4 = 20;
C1 = 35;
C2 = 29;
C3 = 25;
C4 = 45;
D1 = 28;
D2 = 40;
D3 = 40;
D4 = 34;
Yij = [A1,B1,C1,D1;A2,B2,C2,D2;A3,B3,C3,D3;A4,B4,C4,D4];
disp(Yij,'Yij=')
[m,n]... |
a2438a5db67ea4415285e319e798107255bd5cf0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH6/EX6.14/Ex6_14.sce | 487c30db853747b91422889616e794d0ac8dc640 | [] | 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 | 335 | sce | Ex6_14.sce | //Initilization of variables
A=80 //lb
B=40 //lb
C=60 //lb
l1=2 //in
l2=4 //in
l3=6 //in
l4=9 //in
l5=3 //in
l6=7 //in
//Calculations
P=-(-A*l1+B*l2-C*l2)/l1
By=-(A*l3+P*l3)/l4
Ay=(-A*l5-P*l5)/l4
Bz=-(-C*l1-B*l1)/l4
Az=(C*l6+B*l6)/l4
//Result
clc
printf('The forces are Ay=%flb By=%flb Az=%flb Bz=%flb'... |
f6937da115bde35d76c31f787af8636b4b09ee60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH7/EX7.1/Ex7_1.sce | 32c451ebe8b29c2a5fdde2d45e5bc24e682f0288 | [] | 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 | 297 | sce | Ex7_1.sce | clear
//
//
//
//Variable declaration
El=10**-2*50 //energy loss(J)
H=El*60 //heat produced(J)
d=7.7*10**3 //iron rod(kg/m**3)
s=0.462*10**-3 //specific heat(J/kg K)
//Calculation
theta=H/(d*s) //temperature rise(K)
//Result
printf("\n temperature rise is %0.2f K",theta)
|
8d264f265451f442342b1f27e3d954cf068af113 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH1/EX1.19/Ch01Ex19.sce | c15147453dccaf5198a4cd9f288b7fb897c3ca5a | [] | 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 | 593 | sce | Ch01Ex19.sce | // Scilab Code Ex1.19: Page-1.19 (2009)
clc; clear;
m = 9.1e-031; // Mass of the electron, kg
h = 6.6e-034; // Planck's constant
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
lambda = 9.1e-012; // de-Broglie wavelength of electron, m
// We have lambda = h/(m*v), solving for v
v = h/(m*lambda); // ... |
59b7436078899400d3e849883e35ed9ca681b484 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH3/EX3.1/example3_1.sce | d09234d43cf1b7bd48aeb4efdf9475b7c4c85a1f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sce | example3_1.sce | //Chapter 3
//Example 3_1
//Page 50
clear;clc;
max_dem=100;
lf=0.4;
//energy generated
printf("Energy generated per annum = %.1f kWh\n\n", max_dem*lf*8760*1000); |
b0588761b189786ca86d4b5b90e75b3e224e716e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH5/EX5.7/Ex5_7.sce | 00aad96c6204d805624be8ffdc6867be0c07b01e | [] | 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 | 3,268 | sce | Ex5_7.sce | // Book - Power System: Analysis & Design 5th Edition
// Authors - J. Duncan Glover, Mulukutla S. Sharma, Thomas J. Overbye
// Chapter - 5 : Example 5.7
// Scilab Version 6.0.0 : OS - Windows
clc;
clear;
p = 9000; // Power in MW
l = 500; ... |
59bd9db785dbf7d6050106b20a6030315b695cc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH4/EX4.1/Ex4_1.sce | 4f1cbc4b976fa886678af7d63c233a66062fb300 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | Ex4_1.sce |
// Ex4_1
clc;
//Given:
t1=1600;// in year
a=11.6*10^17;// atoms
// Solution:
k=0.693/t1;// year^-1
L=(a*226)/k;// atomic mass of Radon is 226
printf("The value of avagadro constant is = %f atoms per mole",L)
|
9fa9dd579fc4dfa34949c8278de2b800cd0debd4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH7/EX7.2/Ex7_2.sce | a60c93e2146ead30dad4cdd3d8afe2bb85d30736 | [] | 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 | 673 | sce | Ex7_2.sce | //Initilization of variables
s=4 //m length of sides
l=2 //kN load acting on each node
r=7 //kN by inspection reaction at A
//Calculation
//Taking Moment about point G
FH=(-r*12+2*10+2*6+2*2)/(2*tand(60)) //kN Compressive
//Taking moment about point H
GI=(r*14-2*12-2*8-2*4)/(2*tand(30)) //kN Tension
//Summing ... |
364cb5cb321c368abcb71cfc65ea2deb72687379 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /CostDistanceKCD/Justin/JustinHri/Basic_Human.sce | 4cc8ce7e4540c4f336fe55639a8e85fd8c1b1f88 | [] | 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 | 2,359 | sce | Basic_Human.sce | #************************************************************
# Scenario of Test
#
# date : Wed Oct 29 12:02:15 2008
#************************************************************
p3d_sel_desc_name P3D_ENV Test
p3d_sel_desc_name P3D_ROBOT superman
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.... |
0c9815386c74402198cde90b3e470d9e7bb172d8 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnHe/enhe.5.tst | 3f94ed1f68cf8a5fc4e15fc7d2f73b9c5bae6a26 | [
"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 | 29,246 | tst | enhe.5.tst | a b b a א ב א
a b d o u l a y e ע ב ד ו ל א י
a b r a j א ב ר א ג '
a c u t i f o l i a א ק י ו ט י פ ו ל י א
a d a n א ד ן
a d i ע ד י
a d i d a s א ד י ד ס
a d y g e a א ד י ג י א
a e r o f l o t א י ר ו פ ל ו ט
a k k a d ע ק א ד
a l a b a m a א ל א ב א מ א
a l a h r a m א ל א ה ר א ם
a l b a h r i א ל ב ח ר י
a l e ... |
28553cdee666fdb9b2079b89be1534761782e9f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH17/EX17.9/Example_9.sce | 0436f50e0f82e0ea57a6bdf42cc314c1670cf985 | [] | 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 | 705 | sce | Example_9.sce | //Chapter-17,Example 9,Page 372
clc();
close();
m1 = 146 //mass of Mg(HCO3)2
m2 = 162 //mass of Ca(HCO3)2
m3 = 111 //mass of CaCl2
m4 = 120 //mass of MgSO4
m5 = 136 //mass of CaSO4
amnt_1 = 12.5 //amount of Mg(HCO3)2 in ppm
amnt_2 = 10.5 //amount of Ca(HCO3)2 in ppm
amnt... |
0c1f37074bcf766666175cd75ff2c1a41b1bec8a | a2845a06ebac1138c6854d691780b120cdd556ab | /PSKmod.sce | 546dc5c3ddd2dd84bbd5431c8616757168e5bffa | [] | no_license | asp2809/Scilab-Programs | d734202084dc70e2b4e3281410833d315ce1558c | 6a49e9401ee81dd3ffc909fe6a3954b5e184c70c | refs/heads/master | 2020-03-10T15:11:33.831289 | 2018-10-05T09:50:06 | 2018-10-05T09:50:06 | 129,443,439 | 1 | 0 | null | 2018-10-05T09:50:07 | 2018-04-13T19:10:50 | Scilab | UTF-8 | Scilab | false | false | 374 | sce | PSKmod.sce | //program to generate a PSK modulated waveform
function []=PSKmod(data,fc,Ac)
t=0:0.001:1
x=Ac*sin(2*%pi*fc*t)
y=Ac*sin(2*%pi*fc*t+%pi)
z=data
mods=[]
for i=1:length(data)
if(z(i)==1) then
mods=[mods,x]
else
mods=[mods,y]
end
end
... |
15ef0b3827f9c567a9e8bfe08755fc028cf39cd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH14/EX14.12/Ex14_12.sce | 9def5ec1a36b7867796eb0db107f1a4af65dc0e8 | [] | 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 | Ex14_12.sce | clear
//Given
Vp=220.0 //V
Is=5 //A
n=20
//Calculation
Vs=Vp*n
Ip=(Vs*Is)/Vp
P=Vs*Is
//Result
printf("\n (i) Voltage across secondary is %0.3f V",Vs)
printf("\n (ii) The current in primary is %0.3f A",Ip)
printf("\n (iii) The power output is %0.3f K W",P*10**-3... |
ba7dce5bd7578d759fee7625bca614da197c80cc | 4e9df66700bcf9688afe22df0009cdf4a17bc61f | /Scilab_Lab/scimage/ch02/L2_2.sce | 3d82841c67fe97a37716c01a87072a58348d180c | [] | no_license | vmebus/workspace | e18947a1f967e6a3a7dfbc5cce6f92380d8637fc | f251b8a8e6cec30a77c7ef7b4103c5ee6e6d1393 | refs/heads/master | 2021-01-09T21:53:45.183564 | 2015-10-03T06:42:23 | 2015-10-03T06:42:23 | 36,120,248 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | L2_2.sce | //程式L2_2.m: 矩陣的直積%
A=[1 1;-1 1];
B=[1 2;3 4];
A1=A'; B1=B'; //將矩陣轉置
A2=inv(A); B2=inv(B); //求反矩陣
kron1=kron(A,B); //求右直接乘積
kron2=kron(A1,B1);
kron3=kron(A2,B2);
kron_left=kron1';
kron_right=kron2;
invert_left=inv(kron1);
invert_right=kron3;
kron_left
kron_right
invert_left
invert_right
y... |
24802336aaaad17d67b9c6468bb7c327095a8b9a | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_o_aspfin_d/~BivLCM-SR-bfi_o_aspfin_d-PLin-VLin.tst | 591f2213c952eb9c44724d048fadcb2b38c3da65 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_o_aspfin_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.246897D+00
... |
4746b88d1298dc1d8a0ce87c9f79912ff5fddfd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH24/EX24.6/Example24_6.sce | b7ade9bb52f462e1c843044591f9c588cfc8c470 | [] | 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 | 305 | sce | Example24_6.sce | //Example 24.6. perform the binary divisions
clc
x=bin2dec('110')
x1=bin2dec('10')
x2=x/x1
x3=dec2bin(x2)
disp("(i) 110 / 10")
disp(x3," = binary")
disp(x2," = decimal")
x=bin2dec('1111')
x1=bin2dec('110')
x2=x/x1
x3=dec2bin(int(x2));
disp("(ii) 1111 / 110")
disp(x3," = binary")
disp(x2," = decimal") |
fb6c9eb378b227a1e79be337ddfaf0f414c1fc60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH10/EX10.4/c10_4.sce | a3e164f21c2873cda61af979025669a81127439f | [] | 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,266 | sce | c10_4.sce | //(10.4) Air enters the compressor of an ideal Brayton refrigeration cycle at 1 bar, 270K, with a volumetric flow rate of 1.4 m3/s. If the compressor pressure ratio is 3 and the turbine inlet temperature is 300K, determine (a) the net power input, in kW, (b) the refrigeration capacity, in kW, (c) the coefficient of... |
df0fa193a02d2588d0cc7960a2d3307b6826c841 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH2/EX2.21/Ex2_21.sce | f09f6f63053d0982a9192dd36870d6a30e56c113 | [] | 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 | 216 | sce | Ex2_21.sce | clc;
B=1.6; // flux density between magnetic surfaces
a=1; // area of magnetic surfaces
uo=4*%pi*10^-7; // free space permeability
f=(B^2*a)/(2*uo);
printf('Force between two magnetic surfaces is %f N',f);
|
dbdb36947a9c1337276ba2f47cd150e51431f000 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2702/CH6/EX6.4/Ex_6_4.sce | 466792dfcf266e19e24b23b412699255cad018cd | [] | 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 | Ex_6_4.sce | // Exa 6.4
clc;
clear;
close;
// Given data
R1= 200;// in kohm
R1=R1*10^3;// in ohm
R2=R1;// in ohm
C1= 200;// in pF
C1= C1*10^-12;// in F
C2=C1;// in F
f= 1/(2*%pi*R1*C1);// in Hz
disp(f*10^-3,"Frequency of oscilltions in kHz is : ")
// Note: Calculation to find the value of f in the book is wrong, so a... |
0f7b4325ddde154428367a1480373d40887b60cf | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.9_8.tst | 042b74cc2d82d134a86db42218ebddada9d9b6a9 | [] | 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 | 5,080 | tst | bow.9_8.tst | 9 27:0.5 55:0.3333333333333333 71:0.5 142:1.0 249:0.16666666666666666 348:1.0 352:1.0 607:1.0
9 12:0.5 27:0.5 46:0.14285714285714285 55:0.3333333333333333 116:0.5 120:0.16666666666666666 729:0.3333333333333333 1523:1.0
9 6:1.0 22:1.0 27:0.5 55:0.3333333333333333 64:0.08333333333333333 71:0.5 105:0.07692307692307693 150... |
21f29892c41f3117e6891aa439096c7e43459bf2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH7/EX7.38/ch7_38.sci | 2896c64ebcbd1deb6d8f27afcc135529f463d858 | [] | 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 | 327 | sci | ch7_38.sci | // to determine the starting torque developed
clc;
P=180000;
V=600;
Ia=P/V;
Ra=.105;
Ea=V-Ia*Ra;
n=600;
nn=500;
Eaa=Ea*nn/n;
Iaa=282; //from magnetising curve
Iad=Ia-Iaa;
Ias=500; //at start
k=Iad/Ia^2;
Iae=Ias-Iad*k;
Eas=590; //from magnetising curve
Ts=Eas*Ias/(2*%pi*nn/60);disp(Ts,'T_start(N... |
e1e525c3b17b64b95c9393aa4ec37fa908bb7044 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH5/EX5.1/5_1.sce | 0e5a19ef00da45c570cbb45460a5e4cf4c6d8c23 | [] | 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 | 297 | sce | 5_1.sce |
clc
//initialisation of variables
h= 2.5 //ft
a= 45 //degrees
x= 5 //ft
Q= 45 //cuses
v= 2.6 //ft/sec
w= 6.92 //ft
C= 120
//CALCULATIONS
b= (Q/(v*h))-h
p= b+2*(h+sqrt(2))
A= h*w
m= A/p
i= (v/(C*sqrt(m)))^2
//RESULTS
printf ('Width = %.2f ft',b)
printf ('\n Slope = %.6f ',i)
|
6186c6462e55d0e5352f396793cbfcdcd78377a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH5/EX5.1/EX5_1.sce | f581217e5425ebf6ee5f12a5dd3484209ad9076a | [] | 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,097 | sce | EX5_1.sce | clc;funcprot(0);//EXAMPLE 5.1
// Initialisation of Variables
d=10.2;............//Engine bore in cm
spo=0.6;............//Spark plug offset in cm
vf=15.8;............//Average flame speed in m/s
thetas=20;.............//The angle of the crank when spark plug is fired
theta=6.5;..........//Angle by which the Engin... |
8927f7dc5ff509aad4ea118998a0ea7684d73c0b | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/macros/microdaq_setup.sci | 998e89e43452bc160dd6f3dc8e365fe34785e590 | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 306 | sci | microdaq_setup.sci | function [] = microdaq_setup()
SETUP_PATH = mdaq_toolbox_path()+'macros'+filesep()+'microdaq_setup_template.sce';
exec(SETUP_PATH,-1);
while STATE
if findobj('Tag','edit1') == [] then
global STATE
STATE = 0
sleep(500)
end
end
endfunction
|
9627b44a84c17c358a6fd53338b1115bd6386cfa | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH5/EX5.5.65/Ch5_5_65.sce | 1f309f5ccba5855fff47ecc8c94a26b971b30cf2 | [] | 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 | 606 | sce | Ch5_5_65.sce | clc
disp("Example 5.65")
printf("\n")
disp("calculate the Series & parallel resonant frequencies of Crystal")
printf("Given\n")
//indutance
L=3
//Capacitor due to mechanical mounting of crystal
Cm=10*10^-12
//electrical equivalent capacitance of crystal compliance
Cs=0.05*10^-12
//electrical equivalent resis... |
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... |
588997e88b46f4a4be8f5e8cc0d9d904c4ccc61b | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH9/EX9.5/example9_5.sce | 752d1a21969ce49975846b0cf3233a8ca7ea62f5 | [] | 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 | 888 | sce | example9_5.sce | clear
clc
//Example 9.5 TURBULENT BOUNDARY-LAYER PROPERTIES
to=0.896; //[lbf/ft^3]
rho=1.94; //[slugs/ft^3]
uo=sqrt(to/rho) //shear velocity [ft/s]
//Logarithmic velocity distribution
y=0.0088; //[ft]
v=1.22*10^-5; //[ft^2/s]
uL=uo*(2.44*log(y*uo/v)+5.56) //velocity of water [ft/s]
delta=0.088; //[ft]
yn... |
8c943dbc6c00f718a94f9b69d6aad8be816f2874 | b37ac7105c45cf46c3d4a422d28ad4977fa8f380 | /gradient-descent/fitting-parabola-using-gradient-descent.sce | df5495285e39cd0ddf7f495e784267da0c717fa9 | [] | no_license | svrealtime/publecture-ai-smalldata | d0045ed9852d03e29c829ba7aa6eb7611201e57c | 7479f2eaaef60d2e425828229e3b1f3648418168 | refs/heads/master | 2020-07-17T13:50:41.277701 | 2017-06-14T10:43:51 | 2017-06-14T10:43:51 | 94,319,589 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,210 | sce | fitting-parabola-using-gradient-descent.sce | // given 6 samples (c.q. approximations) of a parabola
// determine the parameters of the best fitting parabola
// i.e. a, b, and c in y = ax^2 + bx + c
// using gradient descent
// e.g. y=x^2-4x+3
xx = [-1.0, 0.1, 1.1, 1.9, 2.9, 4.1];
yy = [ 8.5, 2.5, -0.2, -0.7, -0.1, 3.2];
function [a, b, c] = update_one_step... |
b2b31a0a5a571814c52b86cf41bb7431daa35cae | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/kimd-hw.tst | d7d13242a8773564619859fdde8660c9fcaa9f37 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 6,424 | tst | kimd-hw.tst | *Testcase KIMD fc0
sysclear
archmode z
r 1A0=00000001800000000000000000000200 # z/Arch restart PSW
r 1D0=0002000180000000000000000000DEAD # z/Arch pgm new PSW
r 200=41000000 # LA R0,0 R0->function code 0
r 204=4110f500 # LA R1,PB R1->parameter block
r 208=41200000 # LA R2,SO R2... |
55196660d6404a257a1ce590f93ef058da91d63c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH2/EX2.13/Ex2_13.sce | 291a767d38cfae13861c1b5ebf54916d23333c21 | [] | 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 | 273 | sce | Ex2_13.sce | //Example 2.13
//To determine area of triangle when 2 sides and an angle is given
clc,clear
c=7 //side oposite to vertex C
A=33 //angle at vertex A
b=5 //side opposite to vertex B
area_K = b*c*sind(A)/2
printf('Area of triangle ABC = %.2f square units',area_K)
|
167b51dbfa8292cdbb203b60931ae8fa47a605f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH10/EX10.4/Ch10Ex4.sci | b474d3b76b4d56ab126e0c0e8c58b688893bd891 | [] | 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,531 | sci | Ch10Ex4.sci | // Scilab Code Ex 10.4 Degeneracy of Energy Level: Page-332 (2010)
// Function to find the factorial of a number
function[f] = fact(num)
f = 1;
for i = 1:1:num
f = f*i;
end
endfunction
// Fucntion to determine degenerate energy states
function[degstates] = degno(a, b, c)// degno takes thr... |
71c0b75b5b953ed9dc2b148557c2cbaa102486c0 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH9/EX9.1/Ex9_1.sce | 163fe115285a23bd00d3a1ea8faa56536475fbc5 | [] | 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 | 153 | sce | Ex9_1.sce | errcatch(-1,"stop");mode(2);//Ex:9.1
;
;
C=10*10^-9;
R=10000;
f=(1/(2*%pi*sqrt (6)*C*R));
printf("The freq of oscillation = %f Hz",f);
exit();
|
ef43a325cb0adec4af008a5dfcf3fae9f6bbe6d6 | 3fb2b65e8ef9208e822aad35c618441282e08a30 | /MetodeNumerik/langrange/langrange.sce | 9b462239e7819b30de8b5bb4700d72184946a0f4 | [] | no_license | Lukmannudin/TugasKuliah | 33031fb4f6ff0ab7a5849cda3ea15330e2527c3f | 19738c858dea539f0a5569f27be68b1a56c2aa89 | refs/heads/master | 2020-03-07T15:49:59.414761 | 2018-06-09T07:41:39 | 2018-06-09T07:41:39 | 127,565,939 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | langrange.sce |
function hasil=langrange(x,fx,xtaksir);
i=0;j=0;L=0;
[n,m]=size(x);
[ny,my]=size(fx);
pi=1;
for i=1:m
pi=1;
for j=1:m
if i<> j then
pi=pi*( (xtaksir-x(1,j)) / (x(1,i)-x(1,j)) );
disp(pi);
end,//end if
end,//endfo... |
40489985f8a8010bc233efee2015c3debae7cbec | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.22.sce | 9d6d195a13002c1f54b9c9070988d07bfc356973 | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | Ch_6_Eg_6.22.sce | // A program to directly writing and reading a matrix to/from a file.
A = rand (4,3);
fprintfMat ("MatrixA.txt", A, "%lg");
B = fscanfMat ("MatrixA.txt", "%lg");
disp(B);
|
865f21fc6315f1a619eefd2ad69efc037a39273e | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH14/EX14.13/13.sce | 4449b3862078ff20043e399ed51be1bf47f63d46 | [] | 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 | 547 | sce | 13.sce | clc
L=335; //kJ/kg
h3=1319.22; //kJ/kg
h1=100.04; //kJ/kg
h4=h1;
s_f2=-2.1338; //kJ/kg K
s_g2=5.0585; //kJ/kg K
s_g3=4.4852; //kJ/kg K
h_f2=-54.56; //kJ/kg
h_g2=1304.99; //kJ/kg
x2=(s_g3-s_f2)/(s_g2-s_f2);
h2=h_f2+x2*(h_g2-h_f2);
COP_theoritical=(h2-h1)/(h3-h2);
COP_actual=0.62*COP_theoritical;
RE=COP... |
3ccbaeaac7b4f122462738d9f1176f3e3f7def72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH1/EX1.3/Ex1_3.sce | 9e7da87074d3284da1d97be964905a322704d16b | [] | 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 | 493 | sce | Ex1_3.sce | //chapter 1
//example 1.3
//calculate potential energy
//page 15
clear;
clc;
//given
r=2; //in angstrom(distance)
e=1.6E-19; // in C (charge of electron)
E_o= 8.85E-12;// absolute premittivity
//calculate
r=2*1E-10; // since r is in angstrom
V=-e^2/(4*%pi*E_o*r); // calculate potential
printf('\nThe potent... |
fbb3a6e4db9c73b747b337d28faada6e529a9944 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH8/EX8.7.b/8_7b.sce | b36018c0bbf6b0e5450f23e1ba22664acf45d194 | [] | 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 | 496 | sce | 8_7b.sce | clc
clear
//Initialization of variables
k=1.4
R=53.3 //lb-ft/lb R
pe=14.7 //psia
p0=114.7 //psia
T0=524.6 //R
g=32.2 //ft/s^2
d=0.5 //in
Nm1=1
//calculations
pr=pe/p0
Nme=sqrt(2/(k-1) *((1/pr)^((k-1)/k) -1))
Te=T0/(1+ (k-1)/2 *Nme^2)
Ve=Nme*sqrt(k*g*R*Te)
At=%pi/4 *(d)^2
Ae=Nm1/Nme *((1+ (k-1)/2 *Nme^2... |
2500e60f4dc846825f054a0f8a70a180048b069e | 449d555969bfd7befe906877abab098c6e63a0e8 | /926/CH3/EX3.2/Chapter3_Example2.sce | ee3759acb6c05c996b347165163033e0b96135bd | [] | 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,048 | sce | Chapter3_Example2.sce | //Hougen O.A., Watson K.M., Ragatz R.A., 2004. Chemical process principles Part-1: Material and Energy Balances(II Edition). CBS Publishers & Distributors, New Delhi, pp 504
//Chapter-3, Illustration 2, Page 54
//Title: Calculation of weight
//=======================================================================... |
90036867acd7a0febbdfa3d1ce8471b274cd082b | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH21/EX21.21/21_21.sce | 2311a2062627c1a72448efbe68b6f6fb963a1ae5 | [] | 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 | 21_21.sce | //Problem 21.21: A 200 V, d.c. shunt-wound motor has an armature resistance of 0.4 ohm and at a certain load has an armature current of 30 A and runs at 1350 rev/min. If the load on the shaft of the motor is increased so that the armature current increases to 45 A, determine the speed of the motor, assuming the flux r... |
de82f4a8d144baecad2c298f72da2a9fff11fc3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH2/EX2.8/Ex2_8.sce | 471ab3fee4a8826023e1ae9a368b0f5d4c7a0518 | [] | 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 | Ex2_8.sce | clear
//
//case a
//rab=(80+40)||(60+40)
rab=(120*100)/(120+100)
printf("\n rab= %0.1f ohm",rab)
//rab=(80||60)+(40||40)
rab=(4800/(140))+(1600/80)
printf("\n rab= %0.1f ohm",rab)
//case b
//(60+80)||(40+40)
rcd=(140*80)/(140+80)
printf("\n rcd= %0.1f ohm",rcd)
//(60||40)+(80||40)
rab=(2400/(100))+(3200/(120))
print... |
d17d6d6f36ffd7a5a579b65be8aafd53ef5d6b67 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/slewrate/slewrate12.sce | 4470389186cad1a082a962c3b4c6a3b715999361 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 114 | sce | slewrate12.sce | //check o/p when the i/p is a null vector
x=[0 0 0 0 0];
t=1:length(x);
s=slewrate(x, t);
disp(s)
//output
// []
|
e43aa6945d9eb95f42f498f4c645e75c1a95e8b9 | dc5a2fe4380e1453a12f15f5080b10f3ababb9de | /AutomationTools/bin/1.0/common/ATLAS/tools/txtfile/tst.tst | f9d65a1023ff5cc14f203cdd6645898658eb5e21 | [] | no_license | jameshilliard/PythonCode | f72ad62bb8b8cafbc94cbe7c0d3065343fdf0f98 | 422543bc049f57a67d53ec0b89caef076297cdc5 | refs/heads/master | 2020-04-09T00:06:25.689609 | 2015-03-14T13:14:34 | 2015-03-14T13:14:34 | 32,722,067 | 3 | 0 | null | 2015-03-23T09:21:52 | 2015-03-23T09:21:52 | null | UTF-8 | Scilab | false | false | 1,110 | tst | tst.tst | 'sh_acf_coax_2pc.tst' ,
'sh_acf_ether_2pc.tst' ,
'sh_ad_coax_2pc.tst' ,
'sh_addns_coax_2pc.tst' ,
'sh_addns_ether_2pc.tst' ,
'sh_ad_ether_2pc.tst' ,
'sh_ads_coax_2pc.tst' ,
'sh_ads_ether_2pc.tst' ,
'sh_adt_coax_2pc.tst' ,
'sh_adt_ether_2pc.tst' ,
'sh_aipad_lan_ether.tst' ,
'sh_aipad_staticdhcp.tst' ,
... |
29c46d92e16008bb9e382fb880d0532080648974 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH4/EX4.34/Ch04Ex34.sce | 23877e60198adee5af0cff5ebc5537ac9ad3300a | [] | 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 | 643 | sce | Ch04Ex34.sce | // Scilab code Ex4.34: : Pg:188 (2008)
clc;clear;
Lambda = 5896e-08; // Wavelength of light, cm
d = 0.3; // Path difference between the M1 and M2 mirrors, cm
r = 0; // For central bright fringe
// Since 2*d*cos(r) = n*Lambda and for r = 0 which gives 2*d = n*Lambda
// 2*d*cos_theta = (n-6)*Lambda, solvin... |
d0ac52426a2913255242efd6b866e063191f6f28 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%lss_a_p.sci | 14f24873a53139cbfc189156af44198770835156 | [
"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 | 106 | sci | %lss_a_p.sci | function s1=%lss_a_p(s1,d2)
//s=%lss_a_p(s1,d2) iff
// s=s1+d2
//!
// Copyright INRIA
s1(5)=s1(5)+d2
|
39d48fe3b26536f54b22845b0757a7255d9b7b51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH7/EX7.7/Ex7_7.sce | c8a28aacfb7a214af3e94e572bdce7fab2f96166 | [] | 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,449 | sce | Ex7_7.sce | // Example 7.7
clear all;
clc;
// Given data
H = 70; // Height of the cylinder in cm
R = H/2; // Diameter of the cylinder in cm
a = 1.9; // Radius of black control rod in cm
// From Table 6.2, Buckli... |
830572a609e2cc313b23aaa7bf6c33e8ddafe51a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH3/EX3.9/3_9.sce | c6f006813543b1a4401240d5677327b83a35811f | [] | 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 | 422 | sce | 3_9.sce | clc;
disp("Example 3.9")
d= 0.005 // diameter in metres
density= 900 // in kg/m^3
mew=0.5 // kg/ms
Q=5e-6 // flow rate in m^3/sec
U= (4*Q)/(%pi*d*d) // volumetric flow rate per area of cross section
Re= d*U*density/mew
disp(" The Reynolds number is ")
disp(Re)
disp(" . Hence we can apply hagen poiseull... |
9602f7e1af8739e0ebd34194eca88dfe3c7a72c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH1/EX1.14/Ex1_14.sce | 053af1d3347371a1ff3dadf80d0bc28540366628 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | Ex1_14.sce |
//Ex1_14
clc;
//Given:
H1=241.8; // in KJ/mol
H2=887.2; // in KJ/mol
// 1 KJ/mol = 0.0104 eV/atom
//solution: part (a)
e1=H1*0.0104;
printf("\n The energy release in part (a) in eV/molecule is = %f ",e1)
//solution: part (b)
e2=H2*0.0104;
printf("\n The energy release in part (b) in eV/molecule is ... |
f10be0945d96f2f910acacc908c7b087945b644d | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH11/EX11.1/11_1.sce | 896a15d9873be3b236ba3217e00e116c6339a15e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | 11_1.sce | clc;
clear;
format('e',11);
w=2*%pi*10^9;
c=3*10^8; //c=velocity of wave in air.
k=w/c;
disp(k,"The propagation constant,k(in rad/m)=");
|
609707c1ee0f59556b4d83a2f83764809c413a3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH5/EX5.2/ex_5_2.sce | fa57eb708f47cc92efb9868331d9c1f5cfb79657 | [] | 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 | 200 | sce | ex_5_2.sce | // Example 5.2: resistance
clc, clear
// given :
l=1; // length in m
A=4*10^-4; // area of cross section in m^2
p=0.01*10^-2; // resistivity in ohm-m
R=p*(l/A);
disp(R,"resistance of wire,R(ohm) = ")
|
59be9ca7cbd05e0e8e0a5e5759a305270610cabd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH6/EX6.5a/Ex6_5a.sce | ab6c3792b22714c7f4b1be0ce7c9554e20571c94 | [] | 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 | 7,228 | sce | Ex6_5a.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 6 : SYNCHRONOUS MACHINES
// EXAMPLE : 6.5a
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
printf("\n EXAMPLE : 6.5a( Data is same as Example 6.4): \n\n ... |
5dd7293da098dadf5a6404196dd30af9cf420587 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH6/EX6.17/17.sce | 320bcdb4c675a7aa289247c97b213ddcad2d1eb9 | [] | 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 | 630 | sce | 17.sce | clc
m=2.5; //kg
p1=6*10^5; //Pa
r=2; //r=V2/V1
cv=0.718; //kJ/kg K
R=0.287; //kJ/kg K
T1=363; //K
p2=1*10^5; //Pa
T2=278; //K
V1=m*R*T1/p1;
V2=2*V1;
T0=278; //K
p0=1*10^5; //Pa
Q=0; //adiabatic process
disp("(i)The maximum work")
dS=m*cv*log(T2/T1) + m*R*log(V2/V1);
Wmax=m*[cv*(T1-T2)] + T0*(cv*log(T2... |
e0d4bdc95f331220c691140290d829e711a7ce66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH3/EX3.3.1/3_3_1.sce | 4e93ab167417a6daf066366d9b107d0e92d07f1c | [] | 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 | 617 | sce | 3_3_1.sce | clc
pathname=get_absolute_file_path('3_3_1.sce')
filename=pathname+filesep()+'331.sci'
exec(filename)
moles=mass/M
printf("\n no.of moles=%f",moles)
lbmole=moles/453.6
printf("\n no.of lb moles=%f",lbmole)
Cmoles=moles
printf("\n no.of moles of carbon=%f",Cmoles)
Omoles=2*moles
printf("\n no.of moles of oxyg... |
7118a25dfd9e6939657d21e0e637be9b5cd7a3d2 | 090aefac4d8d48efba8d30891bd37b7b82b2ad91 | /LP/haskell-project/tests/7.tst | 69dcf5ed3baa9a52d32ad309a334acf80f4ca69e | [
"MIT"
] | permissive | landlockedboat/fib | 04a3818091eeffcdb734c8db968024ac76e70e70 | 5b6c3d3029a49b06740a5ea6be81c39be3ff5173 | refs/heads/master | 2022-05-08T23:25:46.868058 | 2018-08-20T15:04:33 | 2018-08-20T15:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | tst | 7.tst | let seq = (Seq [(Input ("X")), (Empty ("P")), (Loop (OR (Gt (Var "X") (Const 0)) (Eq (Var "X") (Const 0))) (Seq [(Input ("Y")), (Push ("P") (Var "Y")), (Assign ("X") (Minus (Var "X") (Const 1)))])), (Assign ("S") (Const 0)), (Size ("P") ("L")), (Loop (Gt (Var "L") (Const 0)) (Seq [(Pop ("P") ("Y")), (Assign ("S") (Plus... |
d84baad6e3b4d8d0fb949868729f560d0d296bae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH1/EX1.7/1_7.sce | a31672cb42731ac4062d6a6c9a729cb41c688a13 | [] | 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 | 366 | sce | 1_7.sce | clc
//initialisation
Rt=13.3//ohms
R100=7.0//ohms
R0=5.0//ohms
t=444.6//celsius
RT=9.1//ohms
//CALCULATIONS
tp=(Rt-R0)*100/(R100-R0)
Tp=(RT-R0)*100/(R100-R0)
s=(t-tp)*10000/(t*(t-100))
T=Tp+((s*(Tp*(Tp-100)))/10000)
Ts=Tp+((s*T*(T-100))/10000)
//results
printf(' platinum temperature of bath= % 2f C',T)
p... |
64d72994c5cc2563671fc3b9b768911a6e6d9ec5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH6/EX6.41/EX6_41.sce | 081e41a4884b5d7438ba477c6f74dc665cc3d533 | [] | 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 | 359 | sce | EX6_41.sce | //Example6_41 // To find the value of resistance R1 for instrumentation amplifier
clc;
clear;
close;
A =100 ;
R2 = 450*10^3 ;
R3 = 1*10^3 ;
R4 = 1*10^3 ;
// The gain of differential amplifier
// A = (R4/R3)*(1+(2R2/R1)) ;
//but R3 = R4 then
// A = 1+(2R2/R1) ;
R1 = 2*R2/(A-1);
disp('The value of resi... |
2fd4b40aa959bf5221dfc192a031e92d46848e3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH4/EX4.10/Example4_10.sce | 12e854c72678c5eacdfafbc354e4ff63324a2793 | [] | 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 | 681 | sce | Example4_10.sce | //To convert velocity m/s from km/h
conv = 5/18
//Given that
v_BA = 52 //in km/hr
v_PA = -78 //in km/hr
//Sample Problem 4-10a
printf("**Sample Problem 4-10a**\n")
//using concept of relative velocity
v_PB = v_PA - v_BA
printf("The velocity of P as measured by Barbara is %d km/hr\n",v_PB)
//Sample Pr... |
ef6df316315a5b7d25735d494cd40f7491a4e07a | 8423ca9ce33d0d3ba30dc05b86e8241e4894d0af | /PMatrix.sci | e102206019a41616bf82d31cd7cbb3322d6233ab | [
"MIT"
] | permissive | fbarrueta22/TAP-1 | b99581dab6414d93988b708d61ac7e5e6610a6e5 | 61324322191684285df528149c7829b8cfe3dc5f | refs/heads/master | 2022-04-25T18:44:31.343068 | 2020-04-18T17:22:50 | 2020-04-18T17:22:50 | 256,637,464 | 1 | 1 | MIT | 2020-04-18T17:22:51 | 2020-04-18T00:22:58 | Scilab | UTF-8 | Scilab | false | false | 360 | sci | PMatrix.sci | exec('plates.sci')
// Una función que crea la matriz P de orden 6
function [P] = PMatrix()
ORDER = 6
// La misma matriz que en el ejercicio e
[N, b] = plates(6, 1.25, 1.2)
// Resultado
P = zeros(ORDER, ORDER)
for i = 1:ORDER
for j = 1:ORDER
if( i == j)
P(i,j) = N(i,j) - i*j
else
P(i,j) = N(7-... |
f7368df3af4ccd3e847322e0c2a6bc71cd4f7a2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/DEPENDENCIES/ch12_4.sce | 4bc71e2f5bed2c8b5260ecddfd66d1cda8f92b6b | [] | 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 | 541 | sce | ch12_4.sce | clc
disp("Example 12.4")
printf("\n")
disp("Continued from Example 12.3")
Vmax=120*sqrt(2)
Zmag=20;Zph=-30;
//Let the line to neutral voltage magnitude be VLN
VLN=Vmax/sqrt(3)
//From figure 12.14
ILmag=VLN/Zmag
ILph=0-Zph
printf("\nIL=%3.2f(%d deg)\n",ILmag,ILph);
//From fig 12.7(b)
//VAN=Vn(-90 deg)... |
e493afc4359d3ba4629e3be5f4756fa3e39aa6aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH5/EX5.6/Example56.sce | e4d6b6207db86660805825d4dc21b1be088e33a2 | [] | 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,603 | sce | Example56.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 - 5 Example # 5.6 ");
//''RPM of shaft''
N = 3;
//''Angular velocity, omega=2*pi*N/60 in rad/s''
omega = 0.31;
//''Ambient temp in degree C'... |
416b26a35a67530dfd632a0ce7e73b8bbe67f693 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH7/EX7.4/Exa7_4.sce | 5c36424ba48a269290803fc234ce0e051bca0443 | [] | 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 | 265 | sce | Exa7_4.sce | //Exa 7.4
clc;
clear;
close;
//given data :
f=3000;//in MHz
f=f*10^6;//in Hz
d=20;//in feet
d=20*0.3048;//in meter
c=3*10^8;//in m/s
lambda=c/f;//in meters
r=2*d^2/lambda;//in meters
disp(r,"Minimum distance between primary and secondary in meters : "); |
6d80f2acef5d39aeba1bdea02740ed4ddd2780fc | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ap_vrt_col_d/~BivLCM-SR-bfas_ap_vrt_col_d-PLin-VLin.tst | b81fd6622dbb48c25e0fa89989f2a3254b6ee6de | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_ap_vrt_col_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.261326D+00
... |
44b26579e8eb9e1c0c4e24cb3b5fef73fc26359c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH9/EX9.9/Ex9_9.sce | 893329a4471c3bf12820956289e6200f03683da1 | [] | 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,599 | sce | Ex9_9.sce | clear ;
clc;
// Example 9.9
printf('Example 9.9\n\n');
printf('Page No. 277\n\n');
//given
A = 15;// glazing area in m^2
l = 10;// Length of office in m
h = 6;// height of office in m
w = 3.5;// width of office in m
Y_w = 4;// Admittance of wall in W/m^2-K
Y_f = 3;// Admittance of floor in W/m^2-K
Y_c = 3... |
8518c21323eff47b8aa66a041cd93cc8ad8b2fba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH8/EX8.14/Ex8_14.sce | de63ad2537ff40a4e43970d0f9e406827c3416f6 | [] | 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 | 481 | sce | Ex8_14.sce | //null to null beamwidth and the gain power
//given
clc
HPBW=6//degree//half power beamwidth
f=6d+9//hertz
v=3d+8
NNBW=2*HPBW//degree//null to null beamwidth
lemda=v/f//metre
Da=70*(lemda/HPBW)//degree//half power beamwidth
gp=6.4*(Da/lemda)^2
gp_decibles=10*log10(gp)//changing to decibles
gp_decibles=round(... |
293f00a00fb59cdc313a49ade471fdb89c243181 | 2c78de0b151238b1c0c26e6a4d1a36c7fa09268c | /quality/test/garant6x/Ведение логов.TST | 116e14f26a4fa0586bcb9d989234598cd27a2149 | [] | no_license | bravesoftdz/realwork | 05a3b308cef59bed8a9efda4212849c391b4b267 | 19b446ce8ad2adf82ab8ce7988bc003221accad2 | refs/heads/master | 2021-06-07T23:57:22.429896 | 2016-11-01T18:30:21 | 2016-11-01T18:30:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 248,901 | tst | Ведение логов.TST | {\rtf1\adeflang1025\ansi\ansicpg1251\uc1\adeff0\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1049\deflangfe1049\themelang1049\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset204\fprq2{\*\panose 02020603050405020304}Times New Roman{\*\falt Times New Roman};}
{\f1\fbidi \fswiss\fcharset204\fprq2{\*... |
ba4da490a3ea3e38491a8cecb98f5ec4c65f5d99 | 4038e640183a33a5edcfa99a2f4dcfe5153a500e | /ordinaryLeastSquare_rSquare.sce | a914a10cb731b0a066c7908cb823c2ab0dc4f3ad | [] | no_license | BrenoPeixotobr/scilabcodes | 2da4518cb6449942e39fae5b3319ed99ea226c43 | 213bdae495fc97ff24b7625a2be30449798e5e4d | refs/heads/master | 2020-07-11T12:43:20.753002 | 2019-09-17T14:58:34 | 2019-09-17T14:58:34 | 204,541,979 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,408 | sce | ordinaryLeastSquare_rSquare.sce | /*Essa rotina utliza o metodo dos minimos quadrados para gerar os coeficientes das funções. Ela calcula com o método da regressão multipla e aceita tanto funções de uma unica variavel com de grau maior que 1, quanto funções de multiplas variaveis
This routine uses the least squares method to generate the coefficients... |
8cf15cde1e60f2773c10d988b155bac8ccedce64 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testuint8.sce | b1507a200ae0a8612caadcee16059efef5815298 | [] | 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 | 175 | sce | testuint8.sce | 2^4+2^7 // =144
uint8(2^4+2^7) // =144
uint8(2^4+2^7)+uint8(2^4+2^7) // 144+144=32+256
int8(2^4+2^7) //=144-256
int8(2^4+2^7)+int8(2^4+2^7) // =-112-112+256 |
feab7353180dada8bbd933f6dd7de082d6d7d8eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH6/EX6.1/6_1.sce | 7c15e07fe8ffe11b54fc60c7f60dd3a93bfc006e | [] | 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 | 3,077 | sce | 6_1.sce | //To Compute the Economical Sizes of the Transformer and its Equipment
//Page 296
clc;
clear;
NC=24; //Number Of Customers Per Block
//We get the Total Annual Cost from the releveant equations as
// TAC = 239.32 + (3.1805*ST) + (3492/ST) + (28170/ST^2) + (0.405*ASL) + (17018/ASL) + (1.134*ASD) + (8273/ASD)
... |
16d7b9b741be46e7938073bc5ebec6cfe17f7890 | 1a8ee276de64397a0a64bc48cad795f585998670 | /assignment2/four_subspace.sce | f72a858844cecc9129decdcd2c9d56c600af4afd | [] | no_license | siddhantrao23/scilab | 3217b1d0a5c18f1ffa6751cfbca95bd71a621db2 | 5974b784340b457f70fc21484c6ff252d3a5eda4 | refs/heads/master | 2020-12-30T08:20:14.057086 | 2020-04-04T11:25:19 | 2020-04-04T11:25:19 | 238,926,043 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sce | four_subspace.sce | rows = 3;
cols = 3;
A = zeros(rows, cols);
disp("Enter the 3x3 A matrix");
for i = 1:rows
for j = 1:cols
A(i,j) = input("value for A:");
end
end
[m,n] = size(A)
[v,pivots] = rref(A)
r = length(pivots)
disp(r,'rank = ')
cs = A(:,pivots)
disp(cs,'Column space = ')
ns = kernel(A)
disp(ns,"null space = "... |
666df296e2996ddf68a77c80181fe08dda0b6455 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH5/EX5.31/EX5_31.sce | a8fa87bbe8f70d046e08a1eaf6254916702e788c | [] | 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 | 171 | sce | EX5_31.sce | //EXAMPLE 5-31 PG NO-326;
V=25;
R1=50;
R2=40;
R3=10;
I=(V/(R1+((R2*R3)/(R2+R3))))*(R3/(R2+R3));
disp('i) Current (I) is = '+string (I) +' A ');
|
37730f38219cd94ee1c0866c6fe0b9713b756450 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH7/EX7.1/Ex7_1.sce | 38268b64a721799ae188a3503fe1f9af00218f24 | [] | 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 | 560 | sce | Ex7_1.sce | clear
//Given
//Variable declaration
b=120 //Width of plate in mm
t=20 //Thickness of plate in mm
R=10*10**3 //Radius of curvature in mm
E=2e5 //Youngs modulus in N/sq.mm
//Calculation
I=b*t**3/12 //Moment of inertia in mm^4
y_max=t/2 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.